From 473ead298e380f632336daedc6d5b6a2dd574ee1 Mon Sep 17 00:00:00 2001 From: AWS SDK Swift Automation Date: Wed, 11 Sep 2024 18:58:24 +0000 Subject: [PATCH] chore: Updates version to 0.76.1 --- Package.swift | 2 +- Package.version | 2 +- .../AWSACM/Sources/AWSACM/ACMClient.swift | 76 +- .../Sources/AWSACMPCA/ACMPCAClient.swift | 116 +- .../AWSAPIGateway/APIGatewayClient.swift | 601 +- .../ARCZonalShiftClient.swift | 66 +- .../AccessAnalyzerClient.swift | 176 +- .../Sources/AWSAccount/AccountClient.swift | 61 +- .../AWSAmp/Sources/AWSAmp/AmpClient.swift | 131 +- .../Sources/AWSAmplify/AmplifyClient.swift | 186 +- .../AmplifyBackendClient.swift | 156 +- .../AmplifyUIBuilderClient.swift | 141 +- .../ApiGatewayManagementApiClient.swift | 16 +- .../AWSApiGatewayV2/ApiGatewayV2Client.swift | 361 +- .../AWSAppConfig/AppConfigClient.swift | 226 +- .../AppConfigDataClient.swift | 11 +- .../AWSAppFabric/AppFabricClient.swift | 131 +- .../AppIntegrationsClient.swift | 116 +- .../Sources/AWSAppMesh/AppMeshClient.swift | 191 +- .../AWSAppRunner/AppRunnerClient.swift | 186 +- .../AWSAppStream/AppStreamClient.swift | 396 +- .../Sources/AWSAppSync/AppSyncClient.swift | 321 +- .../Sources/AWSAppTest/AppTestClient.swift | 121 +- .../Sources/AWSAppflow/AppflowClient.swift | 126 +- .../ApplicationAutoScalingClient.swift | 66 +- .../ApplicationCostProfilerClient.swift | 31 +- .../ApplicationDiscoveryClient.swift | 141 +- .../ApplicationInsightsClient.swift | 166 +- .../ApplicationSignalsClient.swift | 76 +- .../Sources/AWSArtifact/ArtifactClient.swift | 31 +- .../Sources/AWSAthena/AthenaClient.swift | 341 +- .../AWSAuditManager/AuditManagerClient.swift | 311 +- .../AWSAutoScaling/AutoScalingClient.swift | 326 +- .../AutoScalingPlansClient.swift | 31 +- .../AWSB2bi/Sources/AWSB2bi/B2biClient.swift | 136 +- .../BCMDataExportsClient.swift | 61 +- .../Sources/AWSBackup/BackupClient.swift | 456 +- .../BackupGatewayClient.swift | 126 +- .../Sources/AWSBatch/BatchClient.swift | 126 +- .../Sources/AWSBedrock/BedrockClient.swift | 231 +- .../AWSBedrockAgent/BedrockAgentClient.swift | 306 +- .../Sources/AWSBedrockAgent/Models.swift | 6 +- .../BedrockAgentRuntimeClient.swift | 33 +- .../AWSBedrockAgentRuntime/Models.swift | 4 +- .../BedrockRuntimeClient.swift | 26 +- .../BillingconductorClient.swift | 161 +- .../Sources/AWSBraket/BraketClient.swift | 66 +- .../Sources/AWSBudgets/BudgetsClient.swift | 131 +- .../Sources/AWSChatbot/ChatbotClient.swift | 131 +- .../Sources/AWSChime/ChimeClient.swift | 956 ++- .../ChimeSDKIdentityClient.swift | 151 +- .../ChimeSDKMediaPipelinesClient.swift | 156 +- .../ChimeSDKMeetingsClient.swift | 81 +- .../ChimeSDKMessagingClient.swift | 256 +- .../ChimeSDKVoiceClient.swift | 466 +- .../AWSCleanRooms/CleanRoomsClient.swift | 316 +- .../AWSCleanRoomsML/CleanRoomsMLClient.swift | 126 +- .../Sources/AWSCloud9/Cloud9Client.swift | 66 +- .../AWSCloudControl/CloudControlClient.swift | 41 +- .../CloudDirectoryClient.swift | 331 +- .../CloudFormationClient.swift | 411 +- .../AWSCloudFront/CloudFrontClient.swift | 556 +- .../CloudFrontKeyValueStoreClient.swift | 31 +- .../Sources/AWSCloudHSM/CloudHSMClient.swift | 101 +- .../AWSCloudHSMV2/CloudHSMV2Client.swift | 91 +- .../AWSCloudSearch/CloudSearchClient.swift | 131 +- .../CloudSearchDomainClient.swift | 16 +- .../AWSCloudTrail/CloudTrailClient.swift | 246 +- .../CloudTrailDataClient.swift | 6 +- .../AWSCloudWatch/CloudWatchClient.swift | 191 +- .../CloudWatchEventsClient.swift | 256 +- .../CloudWatchLogsClient.swift | 381 +- .../AWSCodeBuild/CodeBuildClient.swift | 251 +- .../AWSCodeCatalyst/CodeCatalystClient.swift | 191 +- .../AWSCodeCommit/CodeCommitClient.swift | 396 +- .../CodeConnectionsClient.swift | 136 +- .../AWSCodeDeploy/CodeDeployClient.swift | 236 +- .../CodeGuruProfilerClient.swift | 116 +- .../CodeGuruReviewerClient.swift | 71 +- .../CodeGuruSecurityClient.swift | 66 +- .../AWSCodePipeline/CodePipelineClient.swift | 216 +- .../AWSCodeartifact/CodeartifactClient.swift | 241 +- .../CognitoIdentityClient.swift | 116 +- .../CognitoIdentityProviderClient.swift | 516 +- .../AWSCognitoSync/CognitoSyncClient.swift | 86 +- .../AWSComprehend/ComprehendClient.swift | 426 +- .../ComprehendMedicalClient.swift | 131 +- .../ComputeOptimizerClient.swift | 131 +- .../AWSConfigService/ConfigClient.swift | 461 +- .../Sources/AWSConnect/ConnectClient.swift | 1276 ++-- .../ConnectCampaignsClient.swift | 111 +- .../AWSConnectCases/ConnectCasesClient.swift | 171 +- .../ConnectContactLensClient.swift | 6 +- .../ConnectParticipantClient.swift | 46 +- .../ControlCatalogClient.swift | 26 +- .../AWSControlTower/ControlTowerClient.swift | 136 +- .../AWSCostExplorer/CostExplorerClient.swift | 206 +- .../CostOptimizationHubClient.swift | 36 +- .../CostandUsageReportClient.swift | 36 +- .../CustomerProfilesClient.swift | 261 +- .../AWSDAX/Sources/AWSDAX/DAXClient.swift | 106 +- .../AWSDLM/Sources/AWSDLM/DLMClient.swift | 41 +- .../Sources/AWSDataBrew/DataBrewClient.swift | 221 +- .../AWSDataExchange/DataExchangeClient.swift | 151 +- .../AWSDataPipeline/DataPipelineClient.swift | 96 +- .../Sources/AWSDataSync/DataSyncClient.swift | 301 +- .../Sources/AWSDataZone/DataZoneClient.swift | 696 +- .../DatabaseMigrationClient.swift | 531 +- .../Sources/AWSDeadline/DeadlineClient.swift | 511 +- .../AWSDetective/DetectiveClient.swift | 146 +- .../AWSDevOpsGuru/DevOpsGuruClient.swift | 156 +- .../AWSDeviceFarm/DeviceFarmClient.swift | 386 +- .../DirectConnectClient.swift | 316 +- .../AWSDirectoryService/DirectoryClient.swift | 336 +- .../Sources/AWSDocDB/DocDBClient.swift | 276 +- .../AWSDocDBElastic/DocDBElasticClient.swift | 81 +- .../AWSDrs/Sources/AWSDrs/DrsClient.swift | 251 +- .../Sources/AWSDynamoDB/DynamoDBClient.swift | 286 +- .../DynamoDBStreamsClient.swift | 21 +- .../AWSEBS/Sources/AWSEBS/EBSClient.swift | 31 +- .../AWSEC2/Sources/AWSEC2/EC2Client.swift | 3136 ++++----- .../EC2InstanceConnectClient.swift | 11 +- .../AWSECR/Sources/AWSECR/ECRClient.swift | 246 +- .../AWSECR/Sources/AWSECR/Models.swift | 7 +- .../AWSECRPUBLIC/ECRPUBLICClient.swift | 116 +- .../AWSECS/Sources/AWSECS/ECSClient.swift | 281 +- .../AWSEFS/Sources/AWSEFS/EFSClient.swift | 156 +- .../AWSEKS/Sources/AWSEKS/EKSClient.swift | 281 +- .../Sources/AWSEKSAuth/EKSAuthClient.swift | 6 +- .../AWSEMR/Sources/AWSEMR/EMRClient.swift | 281 +- .../EMRServerlessClient.swift | 81 +- .../EMRcontainersClient.swift | 116 +- .../AWSElastiCache/ElastiCacheClient.swift | 376 +- .../ElasticBeanstalkClient.swift | 236 +- .../ElasticInferenceClient.swift | 31 +- .../ElasticLoadBalancingClient.swift | 146 +- .../ElasticLoadBalancingv2Client.swift | 241 +- .../ElasticTranscoderClient.swift | 86 +- .../ElasticsearchClient.swift | 256 +- .../EntityResolutionClient.swift | 186 +- .../AWSEventBridge/EventBridgeClient.swift | 286 +- .../AWSEvidently/EvidentlyClient.swift | 191 +- .../AWSFMS/Sources/AWSFMS/FMSClient.swift | 211 +- .../AWSFSx/Sources/AWSFSx/FSxClient.swift | 226 +- .../Sources/AWSFinspace/FinspaceClient.swift | 251 +- .../AWSFinspacedata/FinspacedataClient.swift | 156 +- .../Sources/AWSFirehose/FirehoseClient.swift | 61 +- .../AWSFis/Sources/AWSFis/FisClient.swift | 131 +- .../Sources/AWSForecast/ForecastClient.swift | 316 +- .../ForecastqueryClient.swift | 11 +- .../FraudDetectorClient.swift | 366 +- .../Sources/AWSFreeTier/FreeTierClient.swift | 6 +- .../Sources/AWSGameLift/GameLiftClient.swift | 541 +- .../Sources/AWSGlacier/GlacierClient.swift | 166 +- .../GlobalAcceleratorClient.swift | 281 +- .../AWSGlue/Sources/AWSGlue/GlueClient.swift | 1121 ++-- .../Sources/AWSGrafana/GrafanaClient.swift | 126 +- .../AWSGreengrass/GreengrassClient.swift | 461 +- .../AWSGreengrassV2/GreengrassV2Client.swift | 146 +- .../GroundStationClient.swift | 166 +- .../AWSGuardDuty/GuardDutyClient.swift | 377 +- .../Sources/AWSGuardDuty/Models.swift | 369 +- .../Sources/AWSHealth/HealthClient.swift | 71 +- .../AWSHealthLake/HealthLakeClient.swift | 66 +- .../AWSIAM/Sources/AWSIAM/IAMClient.swift | 796 +-- .../AWSIVSRealTime/IVSRealTimeClient.swift | 181 +- .../IdentitystoreClient.swift | 96 +- .../AWSImagebuilder/ImagebuilderClient.swift | 366 +- .../AWSInspector/InspectorClient.swift | 186 +- .../AWSInspector2/Inspector2Client.swift | 296 +- .../InspectorScanClient.swift | 6 +- .../InternetMonitorClient.swift | 81 +- .../AWSIoT/Sources/AWSIoT/IoTClient.swift | 1276 ++-- .../IoT1ClickDevicesClient.swift | 66 +- .../IoT1ClickProjectsClient.swift | 81 +- .../AWSIoTAnalytics/IoTAnalyticsClient.swift | 171 +- .../AWSIoTDataPlane/IoTDataPlaneClient.swift | 36 +- .../AWSIoTEvents/IoTEventsClient.swift | 131 +- .../IoTEventsDataClient.swift | 61 +- .../AWSIoTFleetHub/IoTFleetHubClient.swift | 41 +- .../AWSIoTFleetWise/IoTFleetWiseClient.swift | 261 +- .../IoTJobsDataPlaneClient.swift | 21 +- .../IoTSecureTunnelingClient.swift | 41 +- .../AWSIoTSiteWise/IoTSiteWiseClient.swift | 421 +- .../IoTThingsGraphClient.swift | 176 +- .../AWSIoTTwinMaker/IoTTwinMakerClient.swift | 201 +- .../AWSIoTWireless/IoTWirelessClient.swift | 561 +- .../IotDeviceAdvisorClient.swift | 71 +- .../AWSIvs/Sources/AWSIvs/IvsClient.swift | 176 +- .../Sources/AWSIvschat/IvschatClient.swift | 86 +- .../AWSKMS/Sources/AWSKMS/KMSClient.swift | 266 +- .../Sources/AWSKafka/KafkaClient.swift | 261 +- .../AWSKafkaConnect/KafkaConnectClient.swift | 81 +- .../Sources/AWSKendra/KendraClient.swift | 331 +- .../KendraRankingClient.swift | 46 +- .../AWSKeyspaces/KeyspacesClient.swift | 71 +- .../Sources/AWSKinesis/KinesisClient.swift | 161 +- .../KinesisAnalyticsClient.swift | 101 +- .../KinesisAnalyticsV2Client.swift | 166 +- .../AWSKinesisVideo/KinesisVideoClient.swift | 151 +- .../KinesisVideoArchivedMediaClient.swift | 31 +- .../KinesisVideoMediaClient.swift | 6 +- .../KinesisVideoSignalingClient.swift | 11 +- .../KinesisVideoWebRTCStorageClient.swift | 11 +- .../LakeFormationClient.swift | 276 +- .../Sources/AWSLambda/LambdaClient.swift | 341 +- .../AWSLaunchWizard/LaunchWizardClient.swift | 61 +- .../LexModelBuildingClient.swift | 211 +- .../AWSLexModelsV2/LexModelsV2Client.swift | 515 +- .../Sources/AWSLexModelsV2/Models.swift | 161 +- .../LexRuntimeClient.swift | 26 +- .../AWSLexRuntimeV2/LexRuntimeV2Client.swift | 31 +- .../LicenseManagerClient.swift | 251 +- ...censeManagerLinuxSubscriptionsClient.swift | 56 +- ...icenseManagerUserSubscriptionsClient.swift | 56 +- .../AWSLightsail/LightsailClient.swift | 806 +-- .../Sources/AWSLocation/LocationClient.swift | 301 +- .../LookoutEquipmentClient.swift | 246 +- .../LookoutMetricsClient.swift | 151 +- .../LookoutVisionClient.swift | 111 +- .../AWSM2/Sources/AWSM2/M2Client.swift | 171 +- .../Sources/AWSMTurk/MTurkClient.swift | 196 +- .../AWSMWAA/Sources/AWSMWAA/MWAAClient.swift | 56 +- .../MachineLearningClient.swift | 141 +- .../Sources/AWSMacie2/Macie2Client.swift | 406 +- .../AWSMailManager/MailManagerClient.swift | 236 +- .../ManagedBlockchainClient.swift | 136 +- .../ManagedBlockchainQueryClient.swift | 46 +- .../MarketplaceAgreementClient.swift | 16 +- .../MarketplaceCatalogClient.swift | 66 +- .../MarketplaceCommerceAnalyticsClient.swift | 11 +- .../MarketplaceDeploymentClient.swift | 21 +- .../MarketplaceEntitlementClient.swift | 6 +- .../MarketplaceMeteringClient.swift | 21 +- .../AWSMediaConnect/MediaConnectClient.swift | 261 +- .../AWSMediaConvert/MediaConvertClient.swift | 146 +- .../AWSMediaLive/MediaLiveClient.swift | 2434 +++++-- .../Sources/AWSMediaLive/Models.swift | 5819 +++++++++++++++-- .../Sources/AWSMediaLive/Paginators.swift | 122 + .../Sources/AWSMediaLive/Waiters.swift | 322 + .../AWSMediaPackage/MediaPackageClient.swift | 96 +- .../MediaPackageV2Client.swift | 121 +- .../MediaPackageVodClient.swift | 86 +- .../AWSMediaStore/MediaStoreClient.swift | 106 +- .../MediaStoreDataClient.swift | 26 +- .../AWSMediaTailor/MediaTailorClient.swift | 221 +- .../MedicalImagingClient.swift | 91 +- .../Sources/AWSMemoryDB/MemoryDBClient.swift | 191 +- .../AWSMgn/Sources/AWSMgn/MgnClient.swift | 351 +- .../AWSMigrationHub/MigrationHubClient.swift | 86 +- .../MigrationHubConfigClient.swift | 21 +- .../MigrationHubOrchestratorClient.swift | 156 +- .../MigrationHubRefactorSpacesClient.swift | 121 +- .../MigrationHubStrategyClient.swift | 111 +- .../AWSMq/Sources/AWSMq/MqClient.swift | 116 +- .../Sources/AWSNeptune/NeptuneClient.swift | 346 +- .../AWSNeptuneGraph/NeptuneGraphClient.swift | 141 +- .../AWSNeptunedata/NeptunedataClient.swift | 216 +- .../NetworkFirewallClient.swift | 181 +- .../NetworkManagerClient.swift | 426 +- .../NetworkMonitorClient.swift | 61 +- .../Sources/AWSNimble/NimbleClient.swift | 246 +- .../AWSOAM/Sources/AWSOAM/OAMClient.swift | 76 +- .../AWSOSIS/Sources/AWSOSIS/OSISClient.swift | 71 +- .../Sources/AWSOmics/OmicsClient.swift | 411 +- .../AWSOpenSearch/OpenSearchClient.swift | 316 +- .../OpenSearchServerlessClient.swift | 186 +- .../Sources/AWSOpsWorks/OpsWorksClient.swift | 371 +- .../AWSOpsWorksCM/OpsWorksCMClient.swift | 96 +- .../OrganizationsClient.swift | 276 +- .../Sources/AWSOutposts/OutpostsClient.swift | 156 +- .../AWSPCS/Sources/AWSPCS/PCSClient.swift | 91 +- .../AWSPI/Sources/AWSPI/PIClient.swift | 66 +- .../Sources/AWSPanorama/PanoramaClient.swift | 171 +- .../PaymentCryptographyClient.swift | 101 +- .../PaymentCryptographyDataClient.swift | 56 +- .../PcaConnectorAdClient.swift | 126 +- .../PcaConnectorScepClient.swift | 61 +- .../AWSPersonalize/PersonalizeClient.swift | 356 +- .../PersonalizeEventsClient.swift | 26 +- .../PersonalizeRuntimeClient.swift | 16 +- .../Sources/AWSPinpoint/PinpointClient.swift | 611 +- .../PinpointEmailClient.swift | 211 +- .../PinpointSMSVoiceClient.swift | 41 +- .../PinpointSMSVoiceV2Client.swift | 411 +- .../Sources/AWSPipes/PipesClient.swift | 51 +- .../AWSPolly/Sources/AWSPolly/Models.swift | 12 +- .../Sources/AWSPolly/PollyClient.swift | 46 +- .../Sources/AWSPricing/PricingClient.swift | 26 +- .../PrivateNetworksClient.swift | 131 +- .../Sources/AWSProton/ProtonClient.swift | 436 +- .../Sources/AWSQApps/QAppsClient.swift | 121 +- .../AWSQBusiness/QBusinessClient.swift | 281 +- .../Sources/AWSQConnect/QConnectClient.swift | 236 +- .../AWSQLDB/Sources/AWSQLDB/QLDBClient.swift | 101 +- .../AWSQLDBSession/QLDBSessionClient.swift | 6 +- .../AWSQuickSight/QuickSightClient.swift | 886 +-- .../AWSRAM/Sources/AWSRAM/RAMClient.swift | 171 +- .../AWSRDS/Sources/AWSRDS/RDSClient.swift | 811 +-- .../Sources/AWSRDSData/RDSDataClient.swift | 26 +- .../AWSRUM/Sources/AWSRUM/RUMClient.swift | 86 +- .../AWSRbin/Sources/AWSRbin/RbinClient.swift | 51 +- .../Sources/AWSRedshift/RedshiftClient.swift | 666 +- .../AWSRedshiftData/RedshiftDataClient.swift | 51 +- .../RedshiftServerlessClient.swift | 276 +- .../AWSRekognition/RekognitionClient.swift | 376 +- .../AWSRepostspace/RepostspaceClient.swift | 56 +- .../ResiliencehubClient.swift | 301 +- .../ResourceExplorer2Client.swift | 106 +- .../ResourceGroupsClient.swift | 91 +- .../ResourceGroupsTaggingAPIClient.swift | 41 +- .../AWSRoboMaker/RoboMakerClient.swift | 286 +- .../RolesAnywhereClient.swift | 151 +- .../Sources/AWSRoute53/Route53Client.swift | 351 +- .../Route53DomainsClient.swift | 171 +- .../Route53ProfilesClient.swift | 81 +- .../Route53RecoveryClusterClient.swift | 21 +- .../Route53RecoveryControlConfigClient.swift | 121 +- .../Route53RecoveryReadinessClient.swift | 161 +- .../Route53ResolverClient.swift | 341 +- .../Services/AWSS3/Sources/AWSS3/Models.swift | 27 +- .../AWSS3/Sources/AWSS3/S3Client.swift | 476 +- .../AWSS3Control/S3ControlClient.swift | 466 +- .../AWSS3Outposts/S3OutpostsClient.swift | 26 +- .../AWSSES/Sources/AWSSES/SESClient.swift | 356 +- .../Sources/AWSSESv2/SESv2Client.swift | 461 +- .../AWSSFN/Sources/AWSSFN/SFNClient.swift | 186 +- .../AWSSMS/Sources/AWSSMS/SMSClient.swift | 176 +- .../AWSSNS/Sources/AWSSNS/SNSClient.swift | 211 +- .../AWSSQS/Sources/AWSSQS/SQSClient.swift | 116 +- .../AWSSSM/Sources/AWSSSM/SSMClient.swift | 701 +- .../AWSSSMContacts/SSMContactsClient.swift | 196 +- .../AWSSSMIncidents/SSMIncidentsClient.swift | 156 +- .../SSMQuickSetupClient.swift | 61 +- .../AWSSSO/Sources/AWSSSO/SSOClient.swift | 21 +- .../Sources/AWSSSOAdmin/SSOAdminClient.swift | 366 +- .../Sources/AWSSSOOIDC/SSOOIDCClient.swift | 21 +- .../AWSSTS/Sources/AWSSTS/Models.swift | 7 +- .../AWSSTS/Sources/AWSSTS/STSClient.swift | 41 +- .../AWSSWF/Sources/AWSSWF/SWFClient.swift | 196 +- .../AWSSageMaker/SageMakerClient.swift | 1676 ++--- .../SageMakerA2IRuntimeClient.swift | 26 +- .../SageMakerFeatureStoreRuntimeClient.swift | 21 +- .../SageMakerGeospatialClient.swift | 96 +- .../SageMakerMetricsClient.swift | 6 +- .../SageMakerRuntimeClient.swift | 16 +- .../SagemakerEdgeClient.swift | 16 +- .../AWSSavingsplans/SavingsplansClient.swift | 51 +- .../AWSScheduler/SchedulerClient.swift | 61 +- .../Sources/AWSSchemas/SchemasClient.swift | 156 +- .../SecretsManagerClient.swift | 116 +- .../AWSSecurityHub/SecurityHubClient.swift | 396 +- .../AWSSecurityLake/SecurityLakeClient.swift | 156 +- ...erverlessApplicationRepositoryClient.swift | 71 +- .../ServiceCatalogClient.swift | 451 +- .../ServiceCatalogAppRegistryClient.swift | 121 +- .../ServiceDiscoveryClient.swift | 136 +- .../ServiceQuotasClient.swift | 96 +- .../Sources/AWSShield/ShieldClient.swift | 181 +- .../Sources/AWSSigner/SignerClient.swift | 96 +- .../SimSpaceWeaverClient.swift | 81 +- .../SnowDeviceManagementClient.swift | 66 +- .../Sources/AWSSnowball/SnowballClient.swift | 136 +- .../Sources/AWSSsmSap/SsmSapClient.swift | 106 +- .../StorageGatewayClient.swift | 451 +- .../AWSSupplyChain/SupplyChainClient.swift | 16 +- .../Sources/AWSSupport/SupportClient.swift | 81 +- .../AWSSupportApp/SupportAppClient.swift | 51 +- .../AWSSynthetics/SyntheticsClient.swift | 106 +- .../AWSTaxSettings/TaxSettingsClient.swift | 36 +- .../Sources/AWSTextract/TextractClient.swift | 126 +- .../TimestreamInfluxDBClient.swift | 56 +- .../TimestreamQueryClient.swift | 76 +- .../TimestreamWriteClient.swift | 96 +- .../AWSTnb/Sources/AWSTnb/TnbClient.swift | 166 +- .../AWSTranscribe/TranscribeClient.swift | 216 +- .../TranscribeStreamingClient.swift | 16 +- .../Sources/AWSTransfer/TransferClient.swift | 301 +- .../AWSTranslate/TranslateClient.swift | 96 +- .../TrustedAdvisorClient.swift | 56 +- .../AWSVPCLattice/VPCLatticeClient.swift | 261 +- .../VerifiedPermissionsClient.swift | 131 +- .../Sources/AWSVoiceID/VoiceIDClient.swift | 146 +- .../AWSWAF/Sources/AWSWAF/WAFClient.swift | 386 +- .../AWSWAFRegional/WAFRegionalClient.swift | 406 +- .../Sources/AWSWAFV2/WAFV2Client.swift | 271 +- .../WellArchitectedClient.swift | 361 +- .../Sources/AWSWisdom/WisdomClient.swift | 206 +- .../Sources/AWSWorkDocs/WorkDocsClient.swift | 221 +- .../Sources/AWSWorkLink/WorkLinkClient.swift | 166 +- .../Sources/AWSWorkMail/WorkMailClient.swift | 421 +- .../WorkMailMessageFlowClient.swift | 11 +- .../AWSWorkSpaces/WorkSpacesClient.swift | 441 +- .../WorkSpacesThinClientClient.swift | 81 +- .../WorkSpacesWebClient.swift | 291 +- .../AWSXRay/Sources/AWSXRay/XRayClient.swift | 151 +- packageDependencies.plist | 2 +- 397 files changed, 39233 insertions(+), 48242 deletions(-) diff --git a/Package.swift b/Package.swift index 4d19f649c53..ee7ecc3c9e6 100644 --- a/Package.swift +++ b/Package.swift @@ -255,7 +255,7 @@ func addResolvedTargets() { // MARK: - Generated addDependencies( - clientRuntimeVersion: "0.66.0", + clientRuntimeVersion: "0.67.0", crtVersion: "0.33.0" ) diff --git a/Package.version b/Package.version index e218073d474..eff74dbb050 100644 --- a/Package.version +++ b/Package.version @@ -1 +1 @@ -0.76.0 \ No newline at end of file +0.76.1 \ No newline at end of file diff --git a/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift b/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift index c9997edf9f9..03ff308e83c 100644 --- a/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift +++ b/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension ACMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddTagsToCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -309,9 +307,8 @@ extension ACMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -381,9 +378,8 @@ extension ACMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -454,9 +450,8 @@ extension ACMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -526,9 +521,8 @@ extension ACMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -599,9 +593,8 @@ extension ACMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -701,9 +694,8 @@ extension ACMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -773,9 +765,8 @@ extension ACMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCertificatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -845,9 +836,8 @@ extension ACMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -919,9 +909,8 @@ extension ACMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAccountConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -995,9 +984,8 @@ extension ACMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTagsFromCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1067,9 +1055,8 @@ extension ACMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RenewCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1144,9 +1131,8 @@ extension ACMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RequestCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1218,9 +1204,8 @@ extension ACMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResendValidationEmailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1292,9 +1277,8 @@ extension ACMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCertificateOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift b/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift index bc3d99a1e9b..7b396568091 100644 --- a/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift +++ b/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCertificateAuthorityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCertificateAuthorityAuditReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -388,9 +385,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -462,9 +458,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCertificateAuthorityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -542,9 +537,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -626,9 +620,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -712,9 +705,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCertificateAuthorityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -785,9 +777,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCertificateAuthorityAuditReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -860,9 +851,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -933,9 +923,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCertificateAuthorityCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1008,9 +997,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCertificateAuthorityCsrInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1090,9 +1078,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1245,9 +1232,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportCertificateAuthorityCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1321,9 +1307,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(IssueCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1392,9 +1377,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCertificateAuthoritiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1473,9 +1457,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1546,9 +1529,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1631,9 +1613,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1704,9 +1685,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreCertificateAuthorityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1783,9 +1763,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RevokeCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1858,9 +1837,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagCertificateAuthorityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1932,9 +1910,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagCertificateAuthorityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2008,9 +1985,8 @@ extension ACMPCAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCertificateAuthorityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/APIGatewayClient.swift b/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/APIGatewayClient.swift index fe1731f7a0c..e25c055f07c 100644 --- a/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/APIGatewayClient.swift +++ b/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/APIGatewayClient.swift @@ -32,7 +32,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -236,9 +235,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApiKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -312,9 +310,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAuthorizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -388,9 +385,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBasePathMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -465,9 +461,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -541,9 +536,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDocumentationPartInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -617,9 +611,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDocumentationVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -692,9 +685,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDomainNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -768,9 +760,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -844,9 +835,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRequestValidatorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -920,9 +910,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -995,9 +984,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRestApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1071,9 +1059,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1147,9 +1134,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUsagePlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1223,9 +1209,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUsagePlanKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1298,9 +1283,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVpcLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1373,9 +1357,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApiKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1445,9 +1428,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAuthorizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1517,9 +1499,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBasePathMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1589,9 +1570,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClientCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1662,9 +1642,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1734,9 +1713,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDocumentationPartInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1806,9 +1784,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDocumentationVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1878,9 +1855,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDomainNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1950,9 +1926,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGatewayResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2022,9 +1997,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIntegrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2094,9 +2068,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIntegrationResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2165,9 +2138,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMethodInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2237,9 +2209,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMethodResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2309,9 +2280,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2381,9 +2351,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRequestValidatorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2453,9 +2422,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2525,9 +2493,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRestApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2598,9 +2565,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2670,9 +2636,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUsagePlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2742,9 +2707,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUsagePlanKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2814,9 +2778,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVpcLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2887,9 +2850,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(FlushStageAuthorizersCacheInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2960,9 +2922,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(FlushStageCacheInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3032,9 +2993,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateClientCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3106,9 +3066,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3177,9 +3136,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApiKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3249,9 +3207,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApiKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3321,9 +3278,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAuthorizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3392,9 +3348,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAuthorizersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3464,9 +3419,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBasePathMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3535,9 +3489,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBasePathMappingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3607,9 +3560,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetClientCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3678,9 +3630,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetClientCertificatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3751,9 +3702,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3824,9 +3774,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeploymentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3896,9 +3845,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDocumentationPartInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3967,9 +3915,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDocumentationPartsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4038,9 +3985,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDocumentationVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4109,9 +4055,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDocumentationVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4181,9 +4126,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDomainNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4252,9 +4196,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDomainNamesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4326,9 +4269,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4399,9 +4341,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGatewayResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4470,9 +4411,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGatewayResponsesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4542,9 +4482,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIntegrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4613,9 +4552,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIntegrationResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4683,9 +4621,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMethodInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4753,9 +4690,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMethodResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4824,9 +4760,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4896,9 +4831,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetModelTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4967,9 +4901,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetModelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5039,9 +4972,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRequestValidatorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5110,9 +5042,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRequestValidatorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5181,9 +5112,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5253,9 +5183,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5325,9 +5254,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRestApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5396,9 +5324,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRestApisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5470,9 +5397,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSdkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5542,9 +5468,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSdkTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5613,9 +5538,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSdkTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5687,9 +5611,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5760,9 +5683,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5832,9 +5754,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5904,9 +5825,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUsageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5976,9 +5896,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUsagePlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6047,9 +5966,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUsagePlanKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6118,9 +6036,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUsagePlanKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6190,9 +6107,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUsagePlansInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6262,9 +6178,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVpcLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6333,9 +6248,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVpcLinksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6407,9 +6321,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportApiKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6484,9 +6397,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportDocumentationPartsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6561,9 +6473,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportRestApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6638,9 +6549,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutGatewayResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6714,9 +6624,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutIntegrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6790,9 +6699,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutIntegrationResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6866,9 +6774,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutMethodInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6942,9 +6849,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutMethodResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7018,9 +6924,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRestApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7095,9 +7000,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7169,9 +7073,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestInvokeAuthorizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7243,9 +7146,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestInvokeMethodInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7319,9 +7221,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7393,9 +7294,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7469,9 +7369,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApiKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7545,9 +7444,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAuthorizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7621,9 +7519,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBasePathMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7697,9 +7594,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateClientCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7774,9 +7670,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7850,9 +7745,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDocumentationPartInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7926,9 +7820,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDocumentationVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8002,9 +7895,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDomainNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8078,9 +7970,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGatewayResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8154,9 +8045,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIntegrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8230,9 +8120,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIntegrationResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8305,9 +8194,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMethodInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8381,9 +8269,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMethodResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8457,9 +8344,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8533,9 +8419,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRequestValidatorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8608,9 +8493,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8684,9 +8568,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRestApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8760,9 +8643,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8836,9 +8718,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUsageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8912,9 +8793,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUsagePlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8988,9 +8868,8 @@ extension APIGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVpcLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift b/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift index a9f5135572b..5d893f6a487 100644 --- a/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift +++ b/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension ARCZonalShiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelZonalShiftInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -304,9 +302,8 @@ extension ARCZonalShiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePracticeRunConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -379,9 +376,8 @@ extension ARCZonalShiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePracticeRunConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -448,9 +444,8 @@ extension ARCZonalShiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAutoshiftObserverNotificationStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -519,9 +514,8 @@ extension ARCZonalShiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetManagedResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -589,9 +583,8 @@ extension ARCZonalShiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAutoshiftsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -660,9 +653,8 @@ extension ARCZonalShiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListManagedResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -731,9 +723,8 @@ extension ARCZonalShiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListZonalShiftsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -804,9 +795,8 @@ extension ARCZonalShiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartZonalShiftInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -877,9 +867,8 @@ extension ARCZonalShiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAutoshiftObserverNotificationStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -952,9 +941,8 @@ extension ARCZonalShiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePracticeRunConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1027,9 +1015,8 @@ extension ARCZonalShiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateZonalAutoshiftConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1102,9 +1089,8 @@ extension ARCZonalShiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateZonalShiftInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/AccessAnalyzerClient.swift b/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/AccessAnalyzerClient.swift index 229b6902fb5..714381bda67 100644 --- a/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/AccessAnalyzerClient.swift +++ b/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/AccessAnalyzerClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ApplyArchiveRuleInput.urlPathProvider(_:))) @@ -306,9 +304,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelPolicyGenerationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -378,9 +375,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CheckAccessNotGrantedInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -453,9 +449,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CheckNoNewAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -528,9 +523,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CheckNoPublicAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -604,9 +598,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccessPreviewInput.urlPathProvider(_:))) @@ -680,9 +673,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAnalyzerInput.urlPathProvider(_:))) @@ -757,9 +749,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateArchiveRuleInput.urlPathProvider(_:))) @@ -832,9 +823,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAnalyzerInput.urlPathProvider(_:))) @@ -905,9 +895,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteArchiveRuleInput.urlPathProvider(_:))) @@ -977,9 +966,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateFindingRecommendationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1049,9 +1037,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccessPreviewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1121,9 +1108,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAnalyzedResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1193,9 +1179,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAnalyzerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1264,9 +1249,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetArchiveRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1335,9 +1319,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFindingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1407,9 +1390,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFindingRecommendationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1479,9 +1461,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFindingV2Input.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1550,9 +1531,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGeneratedPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1623,9 +1603,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccessPreviewFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1697,9 +1676,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccessPreviewsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1769,9 +1747,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAnalyzedResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1842,9 +1819,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAnalyzersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1913,9 +1889,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListArchiveRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1985,9 +1960,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2059,9 +2033,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFindingsV2Input.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2132,9 +2105,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPolicyGenerationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2204,9 +2176,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2276,9 +2247,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartPolicyGenerationInput.urlPathProvider(_:))) @@ -2351,9 +2321,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartResourceScanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2425,9 +2394,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2499,9 +2467,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2571,9 +2538,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateArchiveRuleInput.urlPathProvider(_:))) @@ -2646,9 +2612,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFindingsInput.urlPathProvider(_:))) @@ -2720,9 +2685,8 @@ extension AccessAnalyzerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ValidatePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSAccount/Sources/AWSAccount/AccountClient.swift b/Sources/Services/AWSAccount/Sources/AWSAccount/AccountClient.swift index 493cce86801..b210d48c3bb 100644 --- a/Sources/Services/AWSAccount/Sources/AWSAccount/AccountClient.swift +++ b/Sources/Services/AWSAccount/Sources/AWSAccount/AccountClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension AccountClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptPrimaryEmailUpdateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -304,9 +302,8 @@ extension AccountClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAlternateContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -378,9 +375,8 @@ extension AccountClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableRegionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -452,9 +448,8 @@ extension AccountClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableRegionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -526,9 +521,8 @@ extension AccountClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAlternateContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -600,9 +594,8 @@ extension AccountClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContactInformationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -674,9 +667,8 @@ extension AccountClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPrimaryEmailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -747,9 +739,8 @@ extension AccountClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRegionOptStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -820,9 +811,8 @@ extension AccountClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRegionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -893,9 +883,8 @@ extension AccountClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAlternateContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -966,9 +955,8 @@ extension AccountClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutContactInformationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1041,9 +1029,8 @@ extension AccountClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartPrimaryEmailUpdateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift b/Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift index 1359455a6ac..247b2d41a55 100644 --- a/Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift +++ b/Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAlertManagerDefinitionInput.urlPathProvider(_:))) @@ -308,9 +306,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLoggingConfigurationInput.urlPathProvider(_:))) @@ -385,9 +382,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRuleGroupsNamespaceInput.urlPathProvider(_:))) @@ -462,9 +458,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateScraperInput.urlPathProvider(_:))) @@ -538,9 +533,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkspaceInput.urlPathProvider(_:))) @@ -614,9 +608,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAlertManagerDefinitionInput.urlPathProvider(_:))) @@ -687,9 +680,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLoggingConfigurationInput.urlPathProvider(_:))) @@ -761,9 +753,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRuleGroupsNamespaceInput.urlPathProvider(_:))) @@ -835,9 +826,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteScraperInput.urlPathProvider(_:))) @@ -909,9 +899,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkspaceInput.urlPathProvider(_:))) @@ -982,9 +971,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAlertManagerDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1052,9 +1040,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1123,9 +1110,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRuleGroupsNamespaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1194,9 +1180,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeScraperInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1265,9 +1250,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorkspaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1334,9 +1318,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDefaultScraperConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1405,9 +1388,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRuleGroupsNamespacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1476,9 +1458,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListScrapersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1548,9 +1529,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1618,9 +1598,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkspacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1692,9 +1671,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAlertManagerDefinitionInput.urlPathProvider(_:))) @@ -1769,9 +1747,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRuleGroupsNamespaceInput.urlPathProvider(_:))) @@ -1844,9 +1821,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1918,9 +1894,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1990,9 +1965,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLoggingConfigurationInput.urlPathProvider(_:))) @@ -2067,9 +2041,8 @@ extension AmpClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorkspaceAliasInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSAmplify/Sources/AWSAmplify/AmplifyClient.swift b/Sources/Services/AWSAmplify/Sources/AWSAmplify/AmplifyClient.swift index a9555a56104..f0fb6b492e6 100644 --- a/Sources/Services/AWSAmplify/Sources/AWSAmplify/AmplifyClient.swift +++ b/Sources/Services/AWSAmplify/Sources/AWSAmplify/AmplifyClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBackendEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -380,9 +377,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBranchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -453,9 +449,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -528,9 +523,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDomainAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -603,9 +597,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWebhookInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -677,9 +670,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -748,9 +740,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBackendEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -819,9 +810,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBranchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -890,9 +880,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDomainAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -961,9 +950,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1032,9 +1020,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWebhookInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1102,9 +1089,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateAccessLogsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1175,9 +1161,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1246,9 +1231,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetArtifactUrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1316,9 +1300,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBackendEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1386,9 +1369,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBranchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1456,9 +1438,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDomainAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1527,9 +1508,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1598,9 +1578,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWebhookInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1667,9 +1646,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1738,9 +1716,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListArtifactsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1808,9 +1785,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBackendEnvironmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1878,9 +1854,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBranchesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1948,9 +1923,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDomainAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2019,9 +1993,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2089,9 +2062,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2159,9 +2131,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWebhooksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2231,9 +2202,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2305,9 +2275,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2379,9 +2348,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2448,9 +2416,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2520,9 +2487,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2591,9 +2557,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2665,9 +2630,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBranchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2739,9 +2703,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDomainAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2813,9 +2776,8 @@ extension AmplifyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWebhookInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/AmplifyBackendClient.swift b/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/AmplifyBackendClient.swift index c52ff0a2888..5c3ec14f6f0 100644 --- a/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/AmplifyBackendClient.swift +++ b/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/AmplifyBackendClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CloneBackendInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -301,9 +299,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBackendInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -374,9 +371,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBackendAPIInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -447,9 +443,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBackendAuthInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -520,9 +515,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBackendConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -593,9 +587,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBackendStorageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -666,9 +659,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -736,9 +728,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBackendInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -806,9 +797,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBackendAPIInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -879,9 +869,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBackendAuthInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -952,9 +941,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBackendStorageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1025,9 +1013,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1095,9 +1082,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateBackendAPIModelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1168,9 +1154,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBackendInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1241,9 +1226,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBackendAPIInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1314,9 +1298,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBackendAPIModelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1387,9 +1370,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBackendAuthInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1460,9 +1442,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBackendJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1530,9 +1511,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBackendStorageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1603,9 +1583,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1673,9 +1652,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportBackendAuthInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1746,9 +1724,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportBackendStorageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1819,9 +1796,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBackendJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1892,9 +1868,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListS3BucketsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1965,9 +1940,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveAllBackendsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2038,9 +2012,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveBackendConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2108,9 +2081,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBackendAPIInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2181,9 +2153,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBackendAuthInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2254,9 +2225,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBackendConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2327,9 +2297,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBackendJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2400,9 +2369,8 @@ extension AmplifyBackendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBackendStorageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/AmplifyUIBuilderClient.swift b/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/AmplifyUIBuilderClient.swift index 91f4c632f46..1ffb0b619bf 100644 --- a/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/AmplifyUIBuilderClient.swift +++ b/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/AmplifyUIBuilderClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateComponentInput.urlPathProvider(_:))) @@ -306,9 +304,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFormInput.urlPathProvider(_:))) @@ -381,9 +378,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateThemeInput.urlPathProvider(_:))) @@ -455,9 +451,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -524,9 +519,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFormInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -593,9 +587,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteThemeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -660,9 +653,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExchangeCodeForTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -731,9 +723,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportComponentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -800,9 +791,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportFormsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -869,9 +859,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportThemesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -940,9 +929,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCodegenJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1009,9 +997,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1078,9 +1065,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFormInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1146,9 +1132,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1215,9 +1200,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetThemeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1284,9 +1268,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCodegenJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1353,9 +1336,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListComponentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1422,9 +1404,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFormsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1494,9 +1475,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1562,9 +1542,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListThemesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1631,9 +1610,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutMetadataFlagInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1701,9 +1679,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RefreshTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1773,9 +1750,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartCodegenJobInput.urlPathProvider(_:))) @@ -1849,9 +1825,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1923,9 +1898,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1993,9 +1967,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateComponentInput.urlPathProvider(_:))) @@ -2067,9 +2040,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFormInput.urlPathProvider(_:))) @@ -2141,9 +2113,8 @@ extension AmplifyUIBuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateThemeInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/ApiGatewayManagementApiClient.swift b/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/ApiGatewayManagementApiClient.swift index beff929f117..2f463b905c0 100644 --- a/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/ApiGatewayManagementApiClient.swift +++ b/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/ApiGatewayManagementApiClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -227,9 +226,8 @@ extension ApiGatewayManagementApiClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -296,9 +294,8 @@ extension ApiGatewayManagementApiClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -366,9 +363,8 @@ extension ApiGatewayManagementApiClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PostToConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/ApiGatewayV2Client.swift b/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/ApiGatewayV2Client.swift index 488d49ed41e..038ae3dc9ff 100644 --- a/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/ApiGatewayV2Client.swift +++ b/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/ApiGatewayV2Client.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -303,9 +301,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApiMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -376,9 +373,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAuthorizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -449,9 +445,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -523,9 +518,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDomainNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -596,9 +590,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIntegrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -669,9 +662,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIntegrationResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -742,9 +734,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -815,9 +806,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -888,9 +878,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRouteResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -961,9 +950,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1032,9 +1020,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVpcLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1103,9 +1090,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccessLogSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1171,9 +1157,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1240,9 +1225,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApiMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1308,9 +1292,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAuthorizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1376,9 +1359,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCorsConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1444,9 +1426,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1512,9 +1493,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDomainNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1580,9 +1560,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIntegrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1648,9 +1627,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIntegrationResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1716,9 +1694,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1784,9 +1761,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1852,9 +1828,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRouteRequestParameterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1920,9 +1895,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRouteResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1988,9 +1962,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRouteSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2056,9 +2029,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2124,9 +2096,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVpcLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2192,9 +2163,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2261,9 +2231,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2330,9 +2299,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApiMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2399,9 +2367,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApiMappingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2469,9 +2436,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2538,9 +2504,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAuthorizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2607,9 +2572,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAuthorizersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2676,9 +2640,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2745,9 +2708,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeploymentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2814,9 +2776,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDomainNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2883,9 +2844,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDomainNamesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2952,9 +2912,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIntegrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3020,9 +2979,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIntegrationResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3089,9 +3047,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIntegrationResponsesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3159,9 +3116,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIntegrationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3228,9 +3184,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3296,9 +3251,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetModelTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3365,9 +3319,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetModelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3434,9 +3387,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3502,9 +3454,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRouteResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3571,9 +3522,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRouteResponsesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3641,9 +3591,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRoutesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3710,9 +3659,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3779,9 +3727,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3850,9 +3797,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3918,9 +3864,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVpcLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3986,9 +3931,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVpcLinksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4057,9 +4001,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4131,9 +4074,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReimportApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4203,9 +4145,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetAuthorizersCacheInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4273,9 +4214,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4346,9 +4286,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4417,9 +4356,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4490,9 +4428,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApiMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4563,9 +4500,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAuthorizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4636,9 +4572,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4709,9 +4644,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDomainNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4782,9 +4716,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIntegrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4855,9 +4788,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIntegrationResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4928,9 +4860,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5001,9 +4932,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5074,9 +5004,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRouteResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5147,9 +5076,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5219,9 +5147,8 @@ extension ApiGatewayV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVpcLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/AppConfigClient.swift b/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/AppConfigClient.swift index 89d18d4f728..67a11210ea4 100644 --- a/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/AppConfigClient.swift +++ b/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/AppConfigClient.swift @@ -32,7 +32,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -329,9 +327,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConfigurationProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -401,9 +398,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDeploymentStrategyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -474,9 +470,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -556,9 +551,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateExtensionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -630,9 +624,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateExtensionAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -705,9 +698,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateHostedConfigurationVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -778,9 +770,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -848,9 +839,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfigurationProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -918,9 +908,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDeploymentStrategyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -988,9 +977,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1058,9 +1046,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteExtensionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1128,9 +1115,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteExtensionAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1197,9 +1183,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteHostedConfigurationVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1265,9 +1250,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1334,9 +1318,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1408,9 +1391,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1478,9 +1460,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConfigurationProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1547,9 +1528,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1616,9 +1596,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeploymentStrategyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1685,9 +1664,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1754,9 +1732,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetExtensionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1824,9 +1801,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetExtensionAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1893,9 +1869,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetHostedConfigurationVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1961,9 +1936,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2031,9 +2005,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConfigurationProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2100,9 +2073,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeploymentStrategiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2170,9 +2142,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeploymentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2240,9 +2211,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnvironmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2309,9 +2279,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExtensionAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2378,9 +2347,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExtensionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2448,9 +2416,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHostedConfigurationVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2518,9 +2485,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2588,9 +2554,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2660,9 +2625,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2729,9 +2693,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2801,9 +2764,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2870,9 +2832,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccountSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2942,9 +2903,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3014,9 +2974,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConfigurationProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3086,9 +3045,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDeploymentStrategyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3158,9 +3116,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3231,9 +3188,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateExtensionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3303,9 +3259,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateExtensionAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3375,9 +3330,8 @@ extension AppConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ValidateConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/AppConfigDataClient.swift b/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/AppConfigDataClient.swift index ecb3de3dc1a..680ec5f6c3b 100644 --- a/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/AppConfigDataClient.swift +++ b/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/AppConfigDataClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension AppConfigDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLatestConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension AppConfigDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartConfigurationSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/AppFabricClient.swift b/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/AppFabricClient.swift index f2c61234b41..2324d3538ee 100644 --- a/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/AppFabricClient.swift +++ b/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/AppFabricClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetUserAccessTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConnectAppAuthorizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -381,9 +378,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppAuthorizationInput.urlPathProvider(_:))) @@ -457,9 +453,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppBundleInput.urlPathProvider(_:))) @@ -533,9 +528,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIngestionInput.urlPathProvider(_:))) @@ -609,9 +603,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIngestionDestinationInput.urlPathProvider(_:))) @@ -684,9 +677,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppAuthorizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -755,9 +747,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppBundleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -826,9 +817,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIngestionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -897,9 +887,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIngestionDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -968,9 +957,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAppAuthorizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1039,9 +1027,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAppBundleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1110,9 +1097,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIngestionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1181,9 +1167,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIngestionDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1252,9 +1237,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppAuthorizationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1323,9 +1307,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppBundlesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1395,9 +1378,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIngestionDestinationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1467,9 +1449,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIngestionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1539,9 +1520,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1611,9 +1591,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartIngestionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1682,9 +1661,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartUserAccessTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1757,9 +1735,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopIngestionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1828,9 +1805,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1902,9 +1878,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1974,9 +1949,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAppAuthorizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2050,9 +2024,8 @@ extension AppFabricClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIngestionDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/AppIntegrationsClient.swift b/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/AppIntegrationsClient.swift index 71f2e3239af..c921d7d8feb 100644 --- a/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/AppIntegrationsClient.swift +++ b/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/AppIntegrationsClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationInput.urlPathProvider(_:))) @@ -310,9 +308,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataIntegrationInput.urlPathProvider(_:))) @@ -386,9 +383,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataIntegrationAssociationInput.urlPathProvider(_:))) @@ -462,9 +458,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEventIntegrationInput.urlPathProvider(_:))) @@ -537,9 +532,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -608,9 +602,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataIntegrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -679,9 +672,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEventIntegrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -750,9 +742,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -821,9 +812,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataIntegrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -892,9 +882,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEventIntegrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -963,9 +952,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1034,9 +1022,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1106,9 +1093,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataIntegrationAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1177,9 +1163,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataIntegrationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1249,9 +1234,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEventIntegrationAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1320,9 +1304,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEventIntegrationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1391,9 +1374,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1461,9 +1443,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1534,9 +1515,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1607,9 +1587,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1681,9 +1660,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDataIntegrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1755,9 +1733,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDataIntegrationAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1829,9 +1806,8 @@ extension AppIntegrationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEventIntegrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/AppMeshClient.swift b/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/AppMeshClient.swift index 79435fee7b9..4a85686bde6 100644 --- a/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/AppMeshClient.swift +++ b/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/AppMeshClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGatewayRouteInput.urlPathProvider(_:))) @@ -313,9 +311,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMeshInput.urlPathProvider(_:))) @@ -391,9 +388,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRouteInput.urlPathProvider(_:))) @@ -470,9 +466,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVirtualGatewayInput.urlPathProvider(_:))) @@ -549,9 +544,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVirtualNodeInput.urlPathProvider(_:))) @@ -628,9 +622,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVirtualRouterInput.urlPathProvider(_:))) @@ -707,9 +700,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVirtualServiceInput.urlPathProvider(_:))) @@ -785,9 +777,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGatewayRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -859,9 +850,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMeshInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -932,9 +922,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1006,9 +995,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVirtualGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1080,9 +1068,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVirtualNodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1154,9 +1141,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVirtualRouterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1228,9 +1214,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVirtualServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1301,9 +1286,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGatewayRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1374,9 +1358,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMeshInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1447,9 +1430,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1520,9 +1502,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVirtualGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1593,9 +1574,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVirtualNodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1666,9 +1646,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVirtualRouterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1739,9 +1718,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVirtualServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1812,9 +1790,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGatewayRoutesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1885,9 +1862,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMeshesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1958,9 +1934,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRoutesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2031,9 +2006,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2104,9 +2078,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVirtualGatewaysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2177,9 +2150,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVirtualNodesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2250,9 +2222,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVirtualRoutersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2323,9 +2294,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVirtualServicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2397,9 +2367,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2473,9 +2442,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2551,9 +2519,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGatewayRouteInput.urlPathProvider(_:))) @@ -2629,9 +2596,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMeshInput.urlPathProvider(_:))) @@ -2707,9 +2673,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRouteInput.urlPathProvider(_:))) @@ -2786,9 +2751,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVirtualGatewayInput.urlPathProvider(_:))) @@ -2865,9 +2829,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVirtualNodeInput.urlPathProvider(_:))) @@ -2944,9 +2907,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVirtualRouterInput.urlPathProvider(_:))) @@ -3023,9 +2985,8 @@ extension AppMeshClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVirtualServiceInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/AppRunnerClient.swift b/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/AppRunnerClient.swift index c8981dda3cb..bd21759e8a7 100644 --- a/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/AppRunnerClient.swift +++ b/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/AppRunnerClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateCustomDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -301,9 +299,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAutoScalingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -374,9 +371,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -447,9 +443,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateObservabilityConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -520,9 +515,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -593,9 +587,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVpcConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -667,9 +660,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVpcIngressConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -740,9 +732,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAutoScalingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -813,9 +804,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -886,9 +876,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteObservabilityConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -960,9 +949,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1033,9 +1021,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVpcConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1115,9 +1102,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVpcIngressConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1188,9 +1174,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAutoScalingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1261,9 +1246,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCustomDomainsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1334,9 +1318,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeObservabilityConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1407,9 +1390,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1480,9 +1462,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVpcConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1553,9 +1534,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVpcIngressConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1627,9 +1607,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateCustomDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1699,9 +1678,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAutoScalingConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1771,9 +1749,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1843,9 +1820,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListObservabilityConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1916,9 +1892,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOperationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1988,9 +1963,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2061,9 +2035,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServicesForAutoScalingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2135,9 +2108,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2207,9 +2179,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVpcConnectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2279,9 +2250,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVpcIngressConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2353,9 +2323,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PauseServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2427,9 +2396,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResumeServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2500,9 +2468,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2574,9 +2541,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2648,9 +2614,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2721,9 +2686,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDefaultAutoScalingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2795,9 +2759,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2875,9 +2838,8 @@ extension AppRunnerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVpcIngressConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSAppStream/Sources/AWSAppStream/AppStreamClient.swift b/Sources/Services/AWSAppStream/Sources/AWSAppStream/AppStreamClient.swift index 2118edb5d5f..6d033d52e41 100644 --- a/Sources/Services/AWSAppStream/Sources/AWSAppStream/AppStreamClient.swift +++ b/Sources/Services/AWSAppStream/Sources/AWSAppStream/AppStreamClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateAppBlockBuilderAppBlockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateApplicationFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -380,9 +377,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateApplicationToEntitlementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -456,9 +452,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -528,9 +523,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchAssociateUserStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -600,9 +594,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDisassociateUserStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -676,9 +669,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -750,9 +742,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppBlockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -830,9 +821,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppBlockBuilderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -902,9 +892,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppBlockBuilderStreamingURLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -977,9 +966,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1053,9 +1041,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDirectoryConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1127,9 +1114,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEntitlementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1208,9 +1194,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1289,9 +1274,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateImageBuilderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1361,9 +1345,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateImageBuilderStreamingURLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1439,9 +1422,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1513,9 +1495,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStreamingURLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1589,9 +1570,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateThemeForStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1666,9 +1646,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUpdatedImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1739,9 +1718,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUsageReportSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1814,9 +1792,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1887,9 +1864,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppBlockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1961,9 +1937,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppBlockBuilderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2035,9 +2010,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2107,9 +2081,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDirectoryConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2181,9 +2154,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEntitlementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2254,9 +2226,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2328,9 +2299,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2401,9 +2371,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteImageBuilderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2473,9 +2442,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteImagePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2547,9 +2515,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2620,9 +2587,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteThemeForStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2692,9 +2658,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUsageReportSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2763,9 +2728,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2835,9 +2799,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAppBlockBuilderAppBlockAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2907,9 +2870,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAppBlockBuildersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2979,9 +2941,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAppBlocksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3051,9 +3012,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeApplicationFleetAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3123,9 +3083,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3194,9 +3153,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDirectoryConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3267,9 +3225,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEntitlementsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3338,9 +3295,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFleetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3409,9 +3365,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeImageBuildersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3480,9 +3435,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeImagePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3552,9 +3506,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeImagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3623,9 +3576,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSessionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3694,9 +3646,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStacksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3766,9 +3717,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeThemeForStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3838,9 +3788,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUsageReportSubscriptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3914,9 +3863,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUserStackAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3987,9 +3935,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4058,9 +4005,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4132,9 +4078,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateAppBlockBuilderAppBlockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4205,9 +4150,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateApplicationFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4278,9 +4222,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateApplicationFromEntitlementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4352,9 +4295,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4424,9 +4366,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4490,9 +4431,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExpireSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4556,9 +4496,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssociatedFleetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4622,9 +4561,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssociatedStacksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4695,9 +4633,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEntitledApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4766,9 +4703,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4843,9 +4779,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartAppBlockBuilderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4921,9 +4856,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4996,9 +4930,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartImageBuilderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5069,9 +5002,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopAppBlockBuilderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5141,9 +5073,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5214,9 +5145,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopImageBuilderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5287,9 +5217,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5358,9 +5287,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5438,9 +5366,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAppBlockBuilderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5511,9 +5438,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5586,9 +5512,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDirectoryConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5660,9 +5585,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEntitlementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5748,9 +5672,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5821,9 +5744,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateImagePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5900,9 +5822,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5976,9 +5897,8 @@ extension AppStreamClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateThemeForStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSAppSync/Sources/AWSAppSync/AppSyncClient.swift b/Sources/Services/AWSAppSync/Sources/AWSAppSync/AppSyncClient.swift index 464b3138ca8..54001318d5d 100644 --- a/Sources/Services/AWSAppSync/Sources/AWSAppSync/AppSyncClient.swift +++ b/Sources/Services/AWSAppSync/Sources/AWSAppSync/AppSyncClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateMergedGraphqlApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -380,9 +377,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateSourceGraphqlApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -454,9 +450,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApiCacheInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -530,9 +525,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApiKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -604,9 +598,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -676,9 +669,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDomainNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -750,9 +742,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFunctionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -825,9 +816,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGraphqlApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -899,9 +889,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateResolverInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -973,9 +962,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1047,9 +1035,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApiCacheInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1117,9 +1104,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApiKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1188,9 +1174,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1259,9 +1244,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDomainNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1330,9 +1314,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFunctionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1402,9 +1385,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGraphqlApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1473,9 +1455,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResolverInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1544,9 +1525,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1615,9 +1595,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1686,9 +1665,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateMergedGraphqlApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1757,9 +1735,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateSourceGraphqlApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1826,9 +1803,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EvaluateCodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1898,9 +1874,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EvaluateMappingTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1972,9 +1947,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(FlushApiCacheInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2042,9 +2016,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApiAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2113,9 +2086,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApiCacheInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2184,9 +2156,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2253,9 +2224,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataSourceIntrospectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2324,9 +2294,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDomainNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2393,9 +2362,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFunctionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2464,9 +2432,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGraphqlApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2535,9 +2502,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGraphqlApiEnvironmentVariablesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2605,9 +2571,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIntrospectionSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2675,9 +2640,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResolverInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2745,9 +2709,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSchemaCreationStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2815,9 +2778,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSourceApiAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2886,9 +2848,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2957,9 +2918,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApiKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3028,9 +2988,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3098,9 +3057,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDomainNamesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3169,9 +3127,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFunctionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3239,9 +3196,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGraphqlApisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3310,9 +3266,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResolversInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3381,9 +3336,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResolversByFunctionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3452,9 +3406,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSourceApiAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3525,9 +3478,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3596,9 +3548,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3668,9 +3619,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTypesByAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3767,9 +3717,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutGraphqlApiEnvironmentVariablesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3840,9 +3789,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDataSourceIntrospectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3914,9 +3862,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSchemaCreationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3988,9 +3935,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSchemaMergeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4060,9 +4006,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4135,9 +4080,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4207,9 +4151,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApiCacheInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4282,9 +4225,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApiKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4356,9 +4298,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4430,9 +4371,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDomainNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4504,9 +4444,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFunctionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4579,9 +4518,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGraphqlApiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4653,9 +4591,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResolverInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4727,9 +4664,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSourceApiAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4801,9 +4737,8 @@ extension AppSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSAppTest/Sources/AWSAppTest/AppTestClient.swift b/Sources/Services/AWSAppTest/Sources/AWSAppTest/AppTestClient.swift index d25e1dee5f4..a1dfb36027e 100644 --- a/Sources/Services/AWSAppTest/Sources/AWSAppTest/AppTestClient.swift +++ b/Sources/Services/AWSAppTest/Sources/AWSAppTest/AppTestClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTestCaseInput.urlPathProvider(_:))) @@ -309,9 +307,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTestConfigurationInput.urlPathProvider(_:))) @@ -385,9 +382,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTestSuiteInput.urlPathProvider(_:))) @@ -461,9 +457,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTestCaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -533,9 +528,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTestConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -604,9 +598,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTestRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -676,9 +669,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTestSuiteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -747,9 +739,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTestCaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -819,9 +810,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTestConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -891,9 +881,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTestRunStepInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -963,9 +952,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTestSuiteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1035,9 +1023,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1106,9 +1093,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTestCasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1178,9 +1164,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTestConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1250,9 +1235,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTestRunStepsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1322,9 +1306,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTestRunTestCasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1394,9 +1377,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTestRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1466,9 +1448,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTestSuitesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1540,9 +1521,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartTestRunInput.urlPathProvider(_:))) @@ -1616,9 +1596,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1690,9 +1669,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1763,9 +1741,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTestCaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1838,9 +1815,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTestConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1913,9 +1889,8 @@ extension AppTestClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTestSuiteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSAppflow/Sources/AWSAppflow/AppflowClient.swift b/Sources/Services/AWSAppflow/Sources/AWSAppflow/AppflowClient.swift index 3af94147e31..389a3257505 100644 --- a/Sources/Services/AWSAppflow/Sources/AWSAppflow/AppflowClient.swift +++ b/Sources/Services/AWSAppflow/Sources/AWSAppflow/AppflowClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelFlowExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConnectorProfileInput.urlPathProvider(_:))) @@ -384,9 +381,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFlowInput.urlPathProvider(_:))) @@ -457,9 +453,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConnectorProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -529,9 +524,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -601,9 +595,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -675,9 +668,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConnectorEntityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -746,9 +738,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConnectorProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -817,9 +808,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConnectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -888,9 +878,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -960,9 +949,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFlowExecutionRecordsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1034,9 +1022,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConnectorEntitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1105,9 +1092,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConnectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1176,9 +1162,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFlowsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1248,9 +1233,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1323,9 +1307,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterConnectorInput.urlPathProvider(_:))) @@ -1397,9 +1380,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetConnectorMetadataCacheInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1470,9 +1452,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartFlowInput.urlPathProvider(_:))) @@ -1544,9 +1525,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1616,9 +1596,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1688,9 +1667,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UnregisterConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1760,9 +1738,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1832,9 +1809,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConnectorProfileInput.urlPathProvider(_:))) @@ -1915,9 +1891,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConnectorRegistrationInput.urlPathProvider(_:))) @@ -1993,9 +1968,8 @@ extension AppflowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFlowInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift b/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift index ef667ea01b2..351aabcd8fa 100644 --- a/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift +++ b/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension ApplicationAutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteScalingPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -304,9 +302,8 @@ extension ApplicationAutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteScheduledActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -378,9 +375,8 @@ extension ApplicationAutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterScalableTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -452,9 +448,8 @@ extension ApplicationAutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeScalableTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -526,9 +521,8 @@ extension ApplicationAutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeScalingActivitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -601,9 +595,8 @@ extension ApplicationAutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeScalingPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -675,9 +668,8 @@ extension ApplicationAutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeScheduledActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -746,9 +738,8 @@ extension ApplicationAutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -822,9 +813,8 @@ extension ApplicationAutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutScalingPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -897,9 +887,8 @@ extension ApplicationAutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutScheduledActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -971,9 +960,8 @@ extension ApplicationAutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterScalableTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1044,9 +1032,8 @@ extension ApplicationAutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1116,9 +1103,8 @@ extension ApplicationAutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/ApplicationCostProfilerClient.swift b/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/ApplicationCostProfilerClient.swift index 907f8abe72e..921b1ef802f 100644 --- a/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/ApplicationCostProfilerClient.swift +++ b/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/ApplicationCostProfilerClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension ApplicationCostProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReportDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -300,9 +298,8 @@ extension ApplicationCostProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReportDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -370,9 +367,8 @@ extension ApplicationCostProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportApplicationUsageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -443,9 +439,8 @@ extension ApplicationCostProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReportDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -515,9 +510,8 @@ extension ApplicationCostProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutReportDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -588,9 +582,8 @@ extension ApplicationCostProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateReportDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/ApplicationDiscoveryClient.swift b/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/ApplicationDiscoveryClient.swift index e343f614bef..870c06cc2fc 100644 --- a/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/ApplicationDiscoveryClient.swift +++ b/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/ApplicationDiscoveryClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateConfigurationItemsToApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteAgentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -381,9 +378,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteImportDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -456,9 +452,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -532,9 +527,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -607,9 +601,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -683,9 +676,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -758,9 +750,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAgentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -832,9 +823,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBatchDeleteConfigurationTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -918,9 +908,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -995,9 +984,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeContinuousExportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1072,9 +1060,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeExportConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1147,9 +1134,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeExportTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1222,9 +1208,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeImportTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1307,9 +1292,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1382,9 +1366,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateConfigurationItemsFromApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1459,9 +1442,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1534,9 +1516,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDiscoverySummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1610,9 +1591,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1685,9 +1665,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServerNeighborsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1761,9 +1740,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartBatchDeleteConfigurationTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1839,9 +1817,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartContinuousExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1914,9 +1891,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDataCollectionByAgentIdsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1990,9 +1966,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartExportTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2077,9 +2052,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartImportTaskInput.urlPathProvider(_:))) @@ -2156,9 +2130,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopContinuousExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2231,9 +2204,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopDataCollectionByAgentIdsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2306,9 +2278,8 @@ extension ApplicationDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/ApplicationInsightsClient.swift b/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/ApplicationInsightsClient.swift index afc162026c5..58c10033b78 100644 --- a/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/ApplicationInsightsClient.swift +++ b/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/ApplicationInsightsClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddWorkloadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -380,9 +377,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -454,9 +450,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLogPatternInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -528,9 +523,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -601,9 +595,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -675,9 +668,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLogPatternInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -748,9 +740,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -821,9 +812,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -894,9 +884,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeComponentConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -967,9 +956,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeComponentConfigurationRecommendationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1040,9 +1028,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLogPatternInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1113,9 +1100,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeObservationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1186,9 +1172,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProblemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1259,9 +1244,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProblemObservationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1332,9 +1316,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorkloadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1404,9 +1387,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1477,9 +1459,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListComponentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1556,9 +1537,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConfigurationHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1629,9 +1609,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLogPatternSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1702,9 +1681,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLogPatternsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1775,9 +1753,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProblemsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1847,9 +1824,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1920,9 +1896,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkloadsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1993,9 +1968,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveWorkloadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2066,9 +2040,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2138,9 +2111,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2211,9 +2183,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2285,9 +2256,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2359,9 +2329,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateComponentConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2433,9 +2402,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLogPatternInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2506,9 +2474,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProblemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2579,9 +2546,8 @@ extension ApplicationInsightsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorkloadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/ApplicationSignalsClient.swift b/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/ApplicationSignalsClient.swift index 7e859cd96ee..d03a94a4052 100644 --- a/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/ApplicationSignalsClient.swift +++ b/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/ApplicationSignalsClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension ApplicationSignalsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetServiceLevelObjectiveBudgetReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -330,9 +328,8 @@ extension ApplicationSignalsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServiceLevelObjectiveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -402,9 +399,8 @@ extension ApplicationSignalsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServiceLevelObjectiveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -470,9 +466,8 @@ extension ApplicationSignalsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -543,9 +538,8 @@ extension ApplicationSignalsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceLevelObjectiveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -611,9 +605,8 @@ extension ApplicationSignalsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServiceDependenciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -683,9 +676,8 @@ extension ApplicationSignalsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServiceDependentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -755,9 +747,8 @@ extension ApplicationSignalsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServiceLevelObjectivesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -827,9 +818,8 @@ extension ApplicationSignalsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServiceOperationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -899,9 +889,8 @@ extension ApplicationSignalsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -968,9 +957,8 @@ extension ApplicationSignalsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1055,9 +1043,8 @@ extension ApplicationSignalsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDiscoveryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1124,9 +1111,8 @@ extension ApplicationSignalsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1195,9 +1181,8 @@ extension ApplicationSignalsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1267,9 +1252,8 @@ extension ApplicationSignalsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServiceLevelObjectiveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSArtifact/Sources/AWSArtifact/ArtifactClient.swift b/Sources/Services/AWSArtifact/Sources/AWSArtifact/ArtifactClient.swift index 480382b8e4b..ef0a8976546 100644 --- a/Sources/Services/AWSArtifact/Sources/AWSArtifact/ArtifactClient.swift +++ b/Sources/Services/AWSArtifact/Sources/AWSArtifact/ArtifactClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension ArtifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension ArtifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -378,9 +375,8 @@ extension ArtifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReportMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -452,9 +448,8 @@ extension ArtifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTermForReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -525,9 +520,8 @@ extension ArtifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -599,9 +593,8 @@ extension ArtifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAccountSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSAthena/Sources/AWSAthena/AthenaClient.swift b/Sources/Services/AWSAthena/Sources/AWSAthena/AthenaClient.swift index 8caf3735555..50796f26578 100644 --- a/Sources/Services/AWSAthena/Sources/AWSAthena/AthenaClient.swift +++ b/Sources/Services/AWSAthena/Sources/AWSAthena/AthenaClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetNamedQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -300,9 +298,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetPreparedStatementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -372,9 +369,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetQueryExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -444,9 +440,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelCapacityReservationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -516,9 +511,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCapacityReservationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -588,9 +582,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataCatalogInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -660,9 +653,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNamedQueryInput.urlPathProvider(_:))) @@ -734,9 +726,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNotebookInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -806,9 +797,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePreparedStatementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -879,9 +869,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePresignedNotebookUrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -951,9 +940,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1023,9 +1011,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCapacityReservationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1095,9 +1082,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataCatalogInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1167,9 +1153,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.namedQueryId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNamedQueryInput.urlPathProvider(_:))) @@ -1241,9 +1226,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNotebookInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1314,9 +1298,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePreparedStatementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1386,9 +1369,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1459,9 +1441,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportNotebookInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1532,9 +1513,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCalculationExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1605,9 +1585,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCalculationExecutionCodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1678,9 +1657,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCalculationExecutionStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1750,9 +1728,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCapacityAssignmentConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1822,9 +1799,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCapacityReservationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1894,9 +1870,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataCatalogInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1967,9 +1942,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDatabaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2039,9 +2013,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetNamedQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2112,9 +2085,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetNotebookMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2185,9 +2157,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPreparedStatementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2257,9 +2228,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQueryExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2330,9 +2300,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQueryResultsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2402,9 +2371,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQueryRuntimeStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2475,9 +2443,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2548,9 +2515,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSessionStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2621,9 +2587,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTableMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2693,9 +2658,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2766,9 +2730,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportNotebookInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2839,9 +2802,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationDPUSizesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2912,9 +2874,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCalculationExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2984,9 +2945,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCapacityReservationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3056,9 +3016,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataCatalogsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3129,9 +3088,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatabasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3201,9 +3159,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEngineVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3274,9 +3231,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExecutorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3346,9 +3302,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNamedQueriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3419,9 +3374,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNotebookMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3492,9 +3446,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNotebookSessionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3564,9 +3517,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPreparedStatementsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3636,9 +3588,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQueryExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3709,9 +3660,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSessionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3782,9 +3732,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTableMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3855,9 +3804,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3927,9 +3875,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3999,9 +3946,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutCapacityAssignmentConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4072,9 +4018,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartCalculationExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4145,9 +4090,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartQueryExecutionInput.urlPathProvider(_:))) @@ -4221,9 +4165,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4294,9 +4237,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopCalculationExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4366,9 +4308,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.queryExecutionId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopQueryExecutionInput.urlPathProvider(_:))) @@ -4440,9 +4381,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4513,9 +4453,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TerminateSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4586,9 +4525,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4658,9 +4596,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCapacityReservationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4730,9 +4667,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDataCatalogInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4802,9 +4738,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNamedQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4875,9 +4810,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNotebookInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4948,9 +4882,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNotebookMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5021,9 +4954,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePreparedStatementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5093,9 +5025,8 @@ extension AthenaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorkGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/AuditManagerClient.swift b/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/AuditManagerClient.swift index 0e45d283f7d..6c24c7349ef 100644 --- a/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/AuditManagerClient.swift +++ b/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/AuditManagerClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateAssessmentReportEvidenceFolderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -302,9 +300,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchAssociateAssessmentReportEvidenceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -375,9 +372,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchCreateDelegationByAssessmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -448,9 +444,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteDelegationByAssessmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -521,9 +516,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDisassociateAssessmentReportEvidenceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -606,9 +600,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchImportEvidenceToAssessmentControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -681,9 +674,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAssessmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -755,9 +747,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAssessmentFrameworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -828,9 +819,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAssessmentReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -902,9 +892,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -975,9 +964,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAssessmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1045,9 +1033,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAssessmentFrameworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1115,9 +1102,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAssessmentFrameworkShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1193,9 +1179,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAssessmentReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1263,9 +1248,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1333,9 +1317,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1416,9 +1399,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterOrganizationAdminAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1489,9 +1471,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateAssessmentReportEvidenceFolderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1559,9 +1540,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1629,9 +1609,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssessmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1699,9 +1678,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssessmentFrameworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1769,9 +1747,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssessmentReportUrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1839,9 +1816,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetChangeLogsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1910,9 +1886,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1979,9 +1954,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDelegationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2050,9 +2024,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEvidenceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2120,9 +2093,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEvidenceByEvidenceFolderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2200,9 +2172,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEvidenceFileUploadUrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2271,9 +2242,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEvidenceFolderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2341,9 +2311,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEvidenceFoldersByAssessmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2412,9 +2381,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEvidenceFoldersByAssessmentControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2481,9 +2449,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInsightsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2551,9 +2518,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInsightsByAssessmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2621,9 +2587,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOrganizationAdminAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2690,9 +2655,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServicesInScopeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2758,9 +2722,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2828,9 +2791,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssessmentControlInsightsByControlDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2898,9 +2860,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssessmentFrameworkShareRequestsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2968,9 +2929,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssessmentFrameworksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3038,9 +2998,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssessmentReportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3108,9 +3067,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssessmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3179,9 +3137,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListControlDomainInsightsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3250,9 +3207,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListControlDomainInsightsByAssessmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3321,9 +3277,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListControlInsightsByControlDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3391,9 +3346,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListControlsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3461,9 +3415,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKeywordsForDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3531,9 +3484,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNotificationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3601,9 +3553,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3672,9 +3623,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3745,9 +3695,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterOrganizationAdminAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3829,9 +3778,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartAssessmentFrameworkShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3901,9 +3849,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3973,9 +3920,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4045,9 +3991,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAssessmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4118,9 +4063,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAssessmentControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4191,9 +4135,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAssessmentControlSetStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4264,9 +4207,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAssessmentFrameworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4338,9 +4280,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAssessmentFrameworkShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4412,9 +4353,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAssessmentStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4485,9 +4425,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4557,9 +4496,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4630,9 +4568,8 @@ extension AuditManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ValidateAssessmentReportIntegrityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift b/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift index ee0123c002f..37965f7e4a6 100644 --- a/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift +++ b/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -227,9 +226,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachLoadBalancerTargetGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -378,9 +375,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachLoadBalancersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -462,9 +458,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachTrafficSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -532,9 +527,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteScheduledActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -604,9 +598,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchPutScheduledUpdateGroupActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -676,9 +669,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelInstanceRefreshInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -761,9 +753,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CompleteLifecycleActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -834,9 +825,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAutoScalingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -906,9 +896,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLaunchConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -979,9 +968,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateOrUpdateTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1051,9 +1039,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAutoScalingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1122,9 +1109,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLaunchConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1192,9 +1178,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLifecycleHookInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1262,9 +1247,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNotificationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1333,9 +1317,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1403,9 +1386,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteScheduledActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1474,9 +1456,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1547,9 +1528,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWarmPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1617,9 +1597,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountLimitsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1693,9 +1672,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAdjustmentTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1764,9 +1742,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAutoScalingGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1835,9 +1812,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAutoScalingInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1905,9 +1881,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAutoScalingNotificationTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1976,9 +1951,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstanceRefreshesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2047,9 +2021,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLaunchConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2121,9 +2094,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLifecycleHookTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2191,9 +2163,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLifecycleHooksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2262,9 +2233,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLoadBalancerTargetGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2333,9 +2303,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLoadBalancersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2403,9 +2372,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMetricCollectionTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2474,9 +2442,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNotificationConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2546,9 +2513,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2617,9 +2583,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeScalingActivitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2687,9 +2652,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeScalingProcessTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2758,9 +2722,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeScheduledActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2829,9 +2792,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2899,9 +2861,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTerminationPolicyTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2970,9 +2931,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTrafficSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3042,9 +3002,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWarmPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3112,9 +3071,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3182,9 +3140,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachLoadBalancerTargetGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3252,9 +3209,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachLoadBalancersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3322,9 +3278,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachTrafficSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3392,9 +3347,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableMetricsCollectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3462,9 +3416,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableMetricsCollectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3532,9 +3485,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnterStandbyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3603,9 +3555,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExecutePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3673,9 +3624,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExitStandbyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3743,9 +3693,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPredictiveScalingForecastInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3829,9 +3778,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutLifecycleHookInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3901,9 +3849,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutNotificationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3973,9 +3920,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutScalingPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4045,9 +3991,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutScheduledUpdateGroupActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4116,9 +4061,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutWarmPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4201,9 +4145,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RecordLifecycleActionHeartbeatInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4272,9 +4215,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResumeProcessesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4354,9 +4296,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RollbackInstanceRefreshInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4425,9 +4366,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetDesiredCapacityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4495,9 +4435,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetInstanceHealthInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4566,9 +4505,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetInstanceProtectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4638,9 +4576,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartInstanceRefreshInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4709,9 +4646,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SuspendProcessesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4780,9 +4716,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TerminateInstanceInAutoScalingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4861,9 +4796,8 @@ extension AutoScalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAutoScalingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/AutoScalingPlansClient.swift b/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/AutoScalingPlansClient.swift index 2522b405805..5e38d671731 100644 --- a/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/AutoScalingPlansClient.swift +++ b/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/AutoScalingPlansClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension AutoScalingPlansClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateScalingPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -304,9 +302,8 @@ extension AutoScalingPlansClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteScalingPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -378,9 +375,8 @@ extension AutoScalingPlansClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeScalingPlanResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -452,9 +448,8 @@ extension AutoScalingPlansClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeScalingPlansInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -524,9 +519,8 @@ extension AutoScalingPlansClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetScalingPlanResourceForecastDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -598,9 +592,8 @@ extension AutoScalingPlansClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateScalingPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSB2bi/Sources/AWSB2bi/B2biClient.swift b/Sources/Services/AWSB2bi/Sources/AWSB2bi/B2biClient.swift index 9f66e4ab890..8ae8878205b 100644 --- a/Sources/Services/AWSB2bi/Sources/AWSB2bi/B2biClient.swift +++ b/Sources/Services/AWSB2bi/Sources/AWSB2bi/B2biClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -235,9 +234,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCapabilityInput.urlPathProvider(_:))) @@ -313,9 +311,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePartnershipInput.urlPathProvider(_:))) @@ -391,9 +388,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProfileInput.urlPathProvider(_:))) @@ -469,9 +465,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTransformerInput.urlPathProvider(_:))) @@ -546,9 +541,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCapabilityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -622,9 +616,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePartnershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -698,9 +691,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -774,9 +766,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTransformerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -849,9 +840,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCapabilityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -924,9 +914,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPartnershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -999,9 +988,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1074,9 +1062,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTransformerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1149,9 +1136,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTransformerJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1224,9 +1210,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCapabilitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1300,9 +1285,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPartnershipsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1375,9 +1359,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1449,9 +1432,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1523,9 +1505,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTransformersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1600,9 +1581,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartTransformerJobInput.urlPathProvider(_:))) @@ -1675,9 +1655,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1750,9 +1729,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1825,9 +1803,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestParsingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1898,9 +1875,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1976,9 +1952,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCapabilityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2053,9 +2028,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePartnershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2130,9 +2104,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2207,9 +2180,8 @@ extension B2biClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTransformerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/BCMDataExportsClient.swift b/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/BCMDataExportsClient.swift index 0ce23328038..29e424a742e 100644 --- a/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/BCMDataExportsClient.swift +++ b/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/BCMDataExportsClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension BCMDataExportsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -303,9 +301,8 @@ extension BCMDataExportsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -377,9 +374,8 @@ extension BCMDataExportsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -451,9 +447,8 @@ extension BCMDataExportsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -524,9 +519,8 @@ extension BCMDataExportsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -598,9 +592,8 @@ extension BCMDataExportsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -671,9 +664,8 @@ extension BCMDataExportsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -744,9 +736,8 @@ extension BCMDataExportsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTablesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -818,9 +809,8 @@ extension BCMDataExportsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -892,9 +882,8 @@ extension BCMDataExportsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -966,9 +955,8 @@ extension BCMDataExportsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1040,9 +1028,8 @@ extension BCMDataExportsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSBackup/Sources/AWSBackup/BackupClient.swift b/Sources/Services/AWSBackup/Sources/AWSBackup/BackupClient.swift index 61b28a9568f..a181b7e57e7 100644 --- a/Sources/Services/AWSBackup/Sources/AWSBackup/BackupClient.swift +++ b/Sources/Services/AWSBackup/Sources/AWSBackup/BackupClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelLegalHoldInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -304,9 +302,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBackupPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -378,9 +375,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBackupSelectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -452,9 +448,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBackupVaultInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -526,9 +521,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFrameworkInput.urlPathProvider(_:))) @@ -600,9 +594,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLegalHoldInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -675,9 +668,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLogicallyAirGappedBackupVaultInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -749,9 +741,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReportPlanInput.urlPathProvider(_:))) @@ -825,9 +816,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRestoreTestingPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -907,9 +897,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRestoreTestingSelectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -981,9 +970,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBackupPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1051,9 +1039,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBackupSelectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1122,9 +1109,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBackupVaultInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1192,9 +1178,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBackupVaultAccessPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1263,9 +1248,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBackupVaultLockConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1333,9 +1317,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBackupVaultNotificationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1404,9 +1387,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFrameworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1476,9 +1458,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRecoveryPointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1547,9 +1528,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReportPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1615,9 +1595,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRestoreTestingPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1683,9 +1662,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRestoreTestingSelectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1754,9 +1732,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBackupJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1824,9 +1801,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBackupVaultInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1895,9 +1871,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCopyJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1965,9 +1940,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFrameworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2033,9 +2007,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGlobalSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2103,9 +2076,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProtectedResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2173,9 +2145,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRecoveryPointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2241,9 +2212,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRegionSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2310,9 +2280,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2380,9 +2349,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReportPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2451,9 +2419,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRestoreJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2523,9 +2490,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateRecoveryPointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2594,9 +2560,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateRecoveryPointFromParentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2664,9 +2629,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportBackupPlanTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2734,9 +2698,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBackupPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2806,9 +2769,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBackupPlanFromJSONInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2879,9 +2841,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBackupPlanFromTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2949,9 +2910,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBackupSelectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3019,9 +2979,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBackupVaultAccessPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3089,9 +3048,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBackupVaultNotificationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3159,9 +3117,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLegalHoldInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3229,9 +3186,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRecoveryPointRestoreMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3300,9 +3256,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRestoreJobMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3370,9 +3325,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRestoreTestingInferredMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3439,9 +3393,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRestoreTestingPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3507,9 +3460,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRestoreTestingSelectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3574,9 +3526,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSupportedResourceTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3642,9 +3593,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBackupJobSummariesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3711,9 +3661,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBackupJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3782,9 +3731,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBackupPlanTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3853,9 +3801,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBackupPlanVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3924,9 +3871,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBackupPlansInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3995,9 +3941,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBackupSelectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4066,9 +4011,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBackupVaultsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4135,9 +4079,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCopyJobSummariesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4204,9 +4147,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCopyJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4273,9 +4215,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFrameworksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4342,9 +4283,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLegalHoldsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4411,9 +4351,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProtectedResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4481,9 +4420,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProtectedResourcesByBackupVaultInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4552,9 +4490,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecoveryPointsByBackupVaultInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4622,9 +4559,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecoveryPointsByLegalHoldInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4693,9 +4629,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecoveryPointsByResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4763,9 +4698,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4832,9 +4766,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReportPlansInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4901,9 +4834,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRestoreJobSummariesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4972,9 +4904,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRestoreJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5043,9 +4974,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRestoreJobsByProtectedResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5112,9 +5042,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRestoreTestingPlansInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5182,9 +5111,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRestoreTestingSelectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5253,9 +5181,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5324,9 +5251,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBackupVaultAccessPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5398,9 +5324,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBackupVaultLockConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5471,9 +5396,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBackupVaultNotificationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5545,9 +5469,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRestoreValidationResultInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5620,9 +5543,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartBackupJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5695,9 +5617,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartCopyJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5768,9 +5689,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartReportJobInput.urlPathProvider(_:))) @@ -5843,9 +5763,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartRestoreJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5917,9 +5836,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopBackupJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5988,9 +5906,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6061,9 +5978,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6134,9 +6050,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBackupPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6210,9 +6125,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFrameworkInput.urlPathProvider(_:))) @@ -6284,9 +6198,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGlobalSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6358,9 +6271,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRecoveryPointLifecycleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6430,9 +6342,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRegionSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6504,9 +6415,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateReportPlanInput.urlPathProvider(_:))) @@ -6589,9 +6499,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRestoreTestingPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6663,9 +6572,8 @@ extension BackupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRestoreTestingSelectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/BackupGatewayClient.swift b/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/BackupGatewayClient.swift index 673896e11ee..0fabe4b19d4 100644 --- a/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/BackupGatewayClient.swift +++ b/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/BackupGatewayClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateGatewayToServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -302,9 +300,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -376,9 +373,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -452,9 +448,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteHypervisorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -527,9 +522,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateGatewayFromServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -601,9 +595,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBandwidthRateLimitScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -675,9 +668,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -749,9 +741,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetHypervisorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -823,9 +814,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetHypervisorPropertyMappingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -897,9 +887,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVirtualMachineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -972,9 +961,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportHypervisorConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1045,9 +1033,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGatewaysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1118,9 +1105,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHypervisorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1192,9 +1178,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1265,9 +1250,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVirtualMachinesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1339,9 +1323,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBandwidthRateLimitScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1415,9 +1398,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutHypervisorPropertyMappingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1490,9 +1472,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutMaintenanceStartTimeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1565,9 +1546,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartVirtualMachinesMetadataSyncInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1639,9 +1619,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1714,9 +1693,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestHypervisorConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1788,9 +1766,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1863,9 +1840,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGatewayInformationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1937,9 +1913,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGatewaySoftwareNowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2013,9 +1988,8 @@ extension BackupGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateHypervisorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSBatch/Sources/AWSBatch/BatchClient.swift b/Sources/Services/AWSBatch/Sources/AWSBatch/BatchClient.swift index 13b5a3849e9..60d849b134d 100644 --- a/Sources/Services/AWSBatch/Sources/AWSBatch/BatchClient.swift +++ b/Sources/Services/AWSBatch/Sources/AWSBatch/BatchClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -227,9 +226,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -320,9 +318,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateComputeEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -391,9 +388,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateJobQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -462,9 +458,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSchedulingPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -533,9 +528,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteComputeEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -604,9 +598,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteJobQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -675,9 +668,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSchedulingPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -746,9 +738,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterJobDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -817,9 +808,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeComputeEnvironmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -888,9 +878,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeJobDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -959,9 +948,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeJobQueuesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1030,9 +1018,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1101,9 +1088,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSchedulingPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1172,9 +1158,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJobQueueSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1252,9 +1237,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1323,9 +1307,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSchedulingPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1394,9 +1377,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1462,9 +1444,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterJobDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1533,9 +1514,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SubmitJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1604,9 +1584,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1675,9 +1654,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TerminateJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1746,9 +1724,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1815,9 +1792,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateComputeEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1886,9 +1862,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateJobQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1957,9 +1932,8 @@ extension BatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSchedulingPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift b/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift index 7f188982e92..0215d83b11b 100644 --- a/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift +++ b/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteEvaluationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -309,9 +307,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEvaluationJobInput.urlPathProvider(_:))) @@ -398,9 +395,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGuardrailInput.urlPathProvider(_:))) @@ -475,9 +471,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGuardrailVersionInput.urlPathProvider(_:))) @@ -549,9 +544,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateModelCopyJobInput.urlPathProvider(_:))) @@ -627,9 +621,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateModelCustomizationJobInput.urlPathProvider(_:))) @@ -705,9 +698,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateModelImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -781,9 +773,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateModelInvocationJobInput.urlPathProvider(_:))) @@ -858,9 +849,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProvisionedModelThroughputInput.urlPathProvider(_:))) @@ -934,9 +924,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCustomModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1010,9 +999,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGuardrailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1083,9 +1071,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteImportedModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1152,9 +1139,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteModelInvocationLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1224,9 +1210,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProvisionedModelThroughputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1295,9 +1280,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCustomModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1366,9 +1350,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEvaluationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1437,9 +1420,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFoundationModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1508,9 +1490,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGuardrailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1580,9 +1561,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetImportedModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1651,9 +1631,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInferenceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1722,9 +1701,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetModelCopyJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1793,9 +1771,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetModelCustomizationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1864,9 +1841,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetModelImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1935,9 +1911,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetModelInvocationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2004,9 +1979,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetModelInvocationLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2075,9 +2049,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProvisionedModelThroughputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2145,9 +2118,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCustomModelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2216,9 +2188,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEvaluationJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2287,9 +2258,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFoundationModelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2359,9 +2329,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGuardrailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2430,9 +2399,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImportedModelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2501,9 +2469,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInferenceProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2573,9 +2540,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListModelCopyJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2644,9 +2610,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListModelCustomizationJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2715,9 +2680,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListModelImportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2786,9 +2750,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListModelInvocationJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2857,9 +2820,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProvisionedModelThroughputsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2929,9 +2891,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3002,9 +2963,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutModelInvocationLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3077,9 +3037,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopEvaluationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3149,9 +3108,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopModelCustomizationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3221,9 +3179,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopModelInvocationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3293,9 +3250,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3367,9 +3323,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3469,9 +3424,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGuardrailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3543,9 +3497,8 @@ extension BedrockClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProvisionedModelThroughputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift b/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift index 71c83cf66a1..a86bb023655 100644 --- a/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift +++ b/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateAgentKnowledgeBaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -328,9 +326,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAgentInput.urlPathProvider(_:))) @@ -405,9 +402,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAgentActionGroupInput.urlPathProvider(_:))) @@ -482,9 +478,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAgentAliasInput.urlPathProvider(_:))) @@ -559,9 +554,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataSourceInput.urlPathProvider(_:))) @@ -635,9 +629,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFlowInput.urlPathProvider(_:))) @@ -712,9 +705,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFlowAliasInput.urlPathProvider(_:))) @@ -789,9 +781,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFlowVersionInput.urlPathProvider(_:))) @@ -881,9 +872,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateKnowledgeBaseInput.urlPathProvider(_:))) @@ -957,9 +947,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePromptInput.urlPathProvider(_:))) @@ -1034,9 +1023,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePromptVersionInput.urlPathProvider(_:))) @@ -1110,9 +1098,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAgentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1183,9 +1170,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAgentActionGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1255,9 +1241,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAgentAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1327,9 +1312,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAgentVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1400,9 +1384,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1472,9 +1455,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1545,9 +1527,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFlowAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1617,9 +1598,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFlowVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1690,9 +1670,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteKnowledgeBaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1762,9 +1741,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePromptInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1835,9 +1813,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateAgentKnowledgeBaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1906,9 +1883,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAgentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1977,9 +1953,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAgentActionGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2048,9 +2023,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAgentAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2119,9 +2093,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAgentKnowledgeBaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2190,9 +2163,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAgentVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2261,9 +2233,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2332,9 +2303,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2403,9 +2373,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFlowAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2474,9 +2443,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFlowVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2545,9 +2513,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIngestionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2616,9 +2583,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetKnowledgeBaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2687,9 +2653,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPromptInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2759,9 +2724,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAgentActionGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2833,9 +2797,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAgentAliasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2907,9 +2870,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAgentKnowledgeBasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2981,9 +2943,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAgentVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3054,9 +3015,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAgentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3128,9 +3088,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3202,9 +3161,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFlowAliasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3274,9 +3232,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFlowVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3345,9 +3302,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFlowsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3417,9 +3373,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIngestionJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3490,9 +3445,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKnowledgeBasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3564,9 +3518,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPromptsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3636,9 +3589,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3709,9 +3661,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PrepareAgentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3782,9 +3733,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PrepareFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3855,9 +3805,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartIngestionJobInput.urlPathProvider(_:))) @@ -3931,9 +3880,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4005,9 +3953,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4079,9 +4026,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAgentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4155,9 +4101,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAgentActionGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4231,9 +4176,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAgentAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4306,9 +4250,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAgentKnowledgeBaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4381,9 +4324,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4457,9 +4399,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4533,9 +4474,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFlowAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4617,9 +4557,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateKnowledgeBaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4693,9 +4632,8 @@ extension BedrockAgentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePromptInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/Models.swift b/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/Models.swift index 70a7697c687..0d8d970b83b 100644 --- a/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/Models.swift +++ b/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/Models.swift @@ -3354,9 +3354,9 @@ extension BedrockAgentClientTypes { } extension BedrockAgentClientTypes { - /// Settings for a foundation model used to parse documents for a data source. + /// Settings for a foundation model or [inference profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) used to parse documents for a data source. public struct BedrockFoundationModelConfiguration { - /// The model's ARN. + /// The ARN of the foundation model or [inference profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html). /// This member is required. public var modelArn: Swift.String? /// Instructions for interpreting the contents of a document. @@ -3401,7 +3401,7 @@ extension BedrockAgentClientTypes { } extension BedrockAgentClientTypes { - /// Settings for parsing document contents. By default, the service converts the contents of each document into text before splitting it into chunks. To improve processing of PDF files with tables and images, you can configure the data source to convert the pages of text into images and use a model to describe the contents of each page. To use a model to parse PDF documents, set the parsing strategy to BEDROCK_FOUNDATION_MODEL and specify the model to use by ARN. You can also override the default parsing prompt with instructions for how to interpret images and tables in your documents. The following models are supported. + /// Settings for parsing document contents. By default, the service converts the contents of each document into text before splitting it into chunks. To improve processing of PDF files with tables and images, you can configure the data source to convert the pages of text into images and use a model to describe the contents of each page. To use a model to parse PDF documents, set the parsing strategy to BEDROCK_FOUNDATION_MODEL and specify the model or [inference profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) to use by ARN. You can also override the default parsing prompt with instructions for how to interpret images and tables in your documents. The following models are supported. /// /// * Anthropic Claude 3 Sonnet - anthropic.claude-3-sonnet-20240229-v1:0 /// diff --git a/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift b/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift index deecd3485fc..9719f565195 100644 --- a/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift +++ b/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension BedrockAgentRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAgentMemoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -310,9 +308,8 @@ extension BedrockAgentRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAgentMemoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -405,9 +402,8 @@ extension BedrockAgentRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InvokeAgentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -483,9 +479,8 @@ extension BedrockAgentRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InvokeFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -561,9 +556,8 @@ extension BedrockAgentRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RetrieveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -598,7 +592,7 @@ extension BedrockAgentRuntimeClient { /// Performs the `RetrieveAndGenerate` operation on the `AmazonBedrockAgentRunTimeService` service. /// - /// Queries a knowledge base and generates responses based on the retrieved results. The response only cites sources that are relevant to the query. + /// Queries a knowledge base and generates responses based on the retrieved results and using the specified foundation model or [inference profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html). The response only cites sources that are relevant to the query. /// /// - Parameter RetrieveAndGenerateInput : [no documentation found] /// @@ -639,9 +633,8 @@ extension BedrockAgentRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RetrieveAndGenerateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/Models.swift b/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/Models.swift index 6635a1a8352..98c113d493b 100644 --- a/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/Models.swift +++ b/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/Models.swift @@ -4154,10 +4154,10 @@ extension BedrockAgentRuntimeClientTypes { public struct KnowledgeBaseRetrieveAndGenerateConfiguration { /// Contains configurations for response generation based on the knowledge base query results. public var generationConfiguration: BedrockAgentRuntimeClientTypes.GenerationConfiguration? - /// The unique identifier of the knowledge base that is queried and the foundation model used for generation. + /// The unique identifier of the knowledge base that is queried. /// This member is required. public var knowledgeBaseId: Swift.String? - /// The ARN of the foundation model used to generate a response. + /// The ARN of the foundation model or [inference profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) used to generate a response. /// This member is required. public var modelArn: Swift.String? /// Settings for how the model processes the prompt prior to retrieval and generation. diff --git a/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift b/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift index a8f34bcd91c..2eee8632104 100644 --- a/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift +++ b/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift @@ -33,7 +33,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -235,9 +234,8 @@ extension BedrockRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ApplyGuardrailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -313,9 +311,8 @@ extension BedrockRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConverseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -391,9 +388,8 @@ extension BedrockRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConverseStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -470,9 +466,8 @@ extension BedrockRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InvokeModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -551,9 +546,8 @@ extension BedrockRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InvokeModelWithResponseStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/BillingconductorClient.swift b/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/BillingconductorClient.swift index 3083a5dbbd2..8145013f83f 100644 --- a/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/BillingconductorClient.swift +++ b/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/BillingconductorClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateAccountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -310,9 +308,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociatePricingRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -386,9 +383,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchAssociateResourcesToCustomLineItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -461,9 +457,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDisassociateResourcesFromCustomLineItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -536,9 +531,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBillingGroupInput.urlPathProvider(_:))) @@ -613,9 +607,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCustomLineItemInput.urlPathProvider(_:))) @@ -691,9 +684,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePricingPlanInput.urlPathProvider(_:))) @@ -768,9 +760,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePricingRuleInput.urlPathProvider(_:))) @@ -843,9 +834,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBillingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -917,9 +907,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCustomLineItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -991,9 +980,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePricingPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1065,9 +1053,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePricingRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1140,9 +1127,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateAccountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1215,9 +1201,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociatePricingRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1289,9 +1274,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBillingGroupCostReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1363,9 +1347,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccountAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1437,9 +1420,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBillingGroupCostReportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1511,9 +1493,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBillingGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1584,9 +1565,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCustomLineItemVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1658,9 +1638,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCustomLineItemsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1731,9 +1710,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPricingPlansInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1805,9 +1783,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPricingPlansAssociatedWithPricingRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1878,9 +1855,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPricingRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1952,9 +1928,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPricingRulesAssociatedToPricingPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2026,9 +2001,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourcesAssociatedToCustomLineItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2100,9 +2074,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2171,9 +2144,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2245,9 +2217,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2318,9 +2289,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBillingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2392,9 +2362,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCustomLineItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2467,9 +2436,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePricingPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2542,9 +2510,8 @@ extension BillingconductorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePricingRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSBraket/Sources/AWSBraket/BraketClient.swift b/Sources/Services/AWSBraket/Sources/AWSBraket/BraketClient.swift index 889a684cf98..844debc4632 100644 --- a/Sources/Services/AWSBraket/Sources/AWSBraket/BraketClient.swift +++ b/Sources/Services/AWSBraket/Sources/AWSBraket/BraketClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension BraketClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension BraketClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelQuantumTaskInput.urlPathProvider(_:))) @@ -383,9 +380,8 @@ extension BraketClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateJobInput.urlPathProvider(_:))) @@ -460,9 +456,8 @@ extension BraketClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateQuantumTaskInput.urlPathProvider(_:))) @@ -535,9 +530,8 @@ extension BraketClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -606,9 +600,8 @@ extension BraketClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -678,9 +671,8 @@ extension BraketClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQuantumTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -748,9 +740,8 @@ extension BraketClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -818,9 +809,8 @@ extension BraketClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchDevicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -891,9 +881,8 @@ extension BraketClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -964,9 +953,8 @@ extension BraketClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchQuantumTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1036,9 +1024,8 @@ extension BraketClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1108,9 +1095,8 @@ extension BraketClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSBudgets/Sources/AWSBudgets/BudgetsClient.swift b/Sources/Services/AWSBudgets/Sources/AWSBudgets/BudgetsClient.swift index f809dc1b6c6..ca3ab4e9cd7 100644 --- a/Sources/Services/AWSBudgets/Sources/AWSBudgets/BudgetsClient.swift +++ b/Sources/Services/AWSBudgets/Sources/AWSBudgets/BudgetsClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBudgetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -310,9 +308,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBudgetActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -387,9 +384,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNotificationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -464,9 +460,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSubscriberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -539,9 +534,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBudgetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -615,9 +609,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBudgetActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -690,9 +683,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNotificationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -765,9 +757,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSubscriberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -840,9 +831,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBudgetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -915,9 +905,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBudgetActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -991,9 +980,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBudgetActionHistoriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1066,9 +1054,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBudgetActionsForAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1142,9 +1129,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBudgetActionsForBudgetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1219,9 +1205,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBudgetNotificationsForAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1296,9 +1281,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBudgetPerformanceHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1373,9 +1357,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBudgetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1450,9 +1433,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNotificationsForBudgetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1527,9 +1509,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSubscribersForNotificationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1603,9 +1584,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExecuteBudgetActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1678,9 +1658,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1754,9 +1733,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1829,9 +1807,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1904,9 +1881,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBudgetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1980,9 +1956,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBudgetActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2056,9 +2031,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNotificationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2132,9 +2106,8 @@ extension BudgetsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSubscriberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSChatbot/Sources/AWSChatbot/ChatbotClient.swift b/Sources/Services/AWSChatbot/Sources/AWSChatbot/ChatbotClient.swift index ef0d5a8fa32..d434b16093f 100644 --- a/Sources/Services/AWSChatbot/Sources/AWSChatbot/ChatbotClient.swift +++ b/Sources/Services/AWSChatbot/Sources/AWSChatbot/ChatbotClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChimeWebhookConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -303,9 +301,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMicrosoftTeamsChannelConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -377,9 +374,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSlackChannelConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -450,9 +446,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChimeWebhookConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -523,9 +518,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMicrosoftTeamsChannelConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -594,9 +588,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMicrosoftTeamsConfiguredTeamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -666,9 +659,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMicrosoftTeamsUserIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -739,9 +731,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSlackChannelConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -811,9 +802,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSlackUserIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -882,9 +872,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSlackWorkspaceAuthorizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -954,9 +943,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChimeWebhookConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1026,9 +1014,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSlackChannelConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1098,9 +1085,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSlackUserIdentitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1170,9 +1156,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSlackWorkspacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1241,9 +1226,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountPreferencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1310,9 +1294,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMicrosoftTeamsChannelConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1382,9 +1365,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMicrosoftTeamsChannelConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1454,9 +1436,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMicrosoftTeamsConfiguredTeamsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1526,9 +1507,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMicrosoftTeamsUserIdentitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1598,9 +1578,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1671,9 +1650,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1743,9 +1721,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1815,9 +1792,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccountPreferencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1888,9 +1864,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateChimeWebhookConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1961,9 +1936,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMicrosoftTeamsChannelConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2034,9 +2008,8 @@ extension ChatbotClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSlackChannelConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSChime/Sources/AWSChime/ChimeClient.swift b/Sources/Services/AWSChime/Sources/AWSChime/ChimeClient.swift index c04164b89b5..d1a6cff597d 100644 --- a/Sources/Services/AWSChime/Sources/AWSChime/ChimeClient.swift +++ b/Sources/Services/AWSChime/Sources/AWSChime/ChimeClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -236,9 +235,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociatePhoneNumberWithUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -315,9 +313,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociatePhoneNumbersWithVoiceConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -394,9 +391,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociatePhoneNumbersWithVoiceConnectorGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -471,9 +467,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateSigninDelegateGroupsWithAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -550,9 +545,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchCreateAttendeeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -627,9 +621,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchCreateChannelMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -705,9 +698,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchCreateRoomMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -782,9 +774,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeletePhoneNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -859,9 +850,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchSuspendUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -936,9 +926,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchUnsuspendUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1013,9 +1002,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchUpdatePhoneNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1090,9 +1078,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchUpdateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1166,9 +1153,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1244,9 +1230,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppInstanceInput.urlPathProvider(_:))) @@ -1330,9 +1315,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppInstanceAdminInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "identity-")) @@ -1408,9 +1392,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppInstanceUserInput.urlPathProvider(_:))) @@ -1487,9 +1470,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAttendeeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1564,9 +1546,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1642,9 +1623,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChannelInput.urlPathProvider(_:))) @@ -1722,9 +1702,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChannelBanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -1821,9 +1800,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChannelMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -1913,9 +1891,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChannelModeratorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -1991,9 +1968,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMediaCapturePipelineInput.urlPathProvider(_:))) @@ -2069,9 +2045,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMeetingInput.urlPathProvider(_:))) @@ -2147,9 +2122,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMeetingDialOutInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2224,9 +2198,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMeetingWithAttendeesInput.urlPathProvider(_:))) @@ -2303,9 +2276,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePhoneNumberOrderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2380,9 +2352,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProxySessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2457,9 +2428,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRoomInput.urlPathProvider(_:))) @@ -2536,9 +2506,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRoomMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2615,9 +2584,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSipMediaApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2693,9 +2661,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSipMediaApplicationCallInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2772,9 +2739,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSipRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2849,9 +2815,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2928,9 +2893,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVoiceConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3006,9 +2970,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVoiceConnectorGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3083,9 +3046,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3156,9 +3118,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "identity-")) @@ -3230,9 +3191,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppInstanceAdminInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "identity-")) @@ -3304,9 +3264,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppInstanceStreamingConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3377,9 +3336,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppInstanceUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "identity-")) @@ -3451,9 +3409,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAttendeeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3524,9 +3481,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -3598,9 +3554,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelBanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -3673,9 +3628,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -3747,9 +3701,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -3821,9 +3774,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelModeratorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -3894,9 +3846,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEventsConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3968,9 +3919,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMediaCapturePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4042,9 +3992,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMeetingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4115,9 +4064,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePhoneNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4189,9 +4137,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProxySessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4262,9 +4209,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRoomInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4335,9 +4281,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRoomMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4410,9 +4355,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSipMediaApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4485,9 +4429,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSipRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4560,9 +4503,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVoiceConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4634,9 +4576,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVoiceConnectorEmergencyCallingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4709,9 +4650,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVoiceConnectorGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4783,9 +4723,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVoiceConnectorOriginationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4857,9 +4796,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVoiceConnectorProxyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4931,9 +4869,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVoiceConnectorStreamingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5005,9 +4942,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVoiceConnectorTerminationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5079,9 +5015,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVoiceConnectorTerminationCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5156,9 +5091,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAppInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "identity-")) @@ -5229,9 +5163,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAppInstanceAdminInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "identity-")) @@ -5302,9 +5235,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAppInstanceUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "identity-")) @@ -5375,9 +5307,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -5450,9 +5381,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChannelBanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -5525,9 +5455,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChannelMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -5599,9 +5528,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChannelMembershipForAppInstanceUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -5674,9 +5602,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChannelModeratedByAppInstanceUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -5750,9 +5677,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChannelModeratorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -5824,9 +5750,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociatePhoneNumberFromUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5899,9 +5824,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociatePhoneNumbersFromVoiceConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5977,9 +5901,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociatePhoneNumbersFromVoiceConnectorGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6054,9 +5977,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateSigninDelegateGroupsFromAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6131,9 +6053,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6204,9 +6125,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6278,9 +6198,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAppInstanceRetentionSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "identity-")) @@ -6352,9 +6271,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAppInstanceStreamingConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6426,9 +6344,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAttendeeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6499,9 +6416,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6573,9 +6489,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetChannelMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -6647,9 +6562,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEventsConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6719,9 +6633,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGlobalSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6793,9 +6706,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMediaCapturePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6867,9 +6779,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMeetingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6939,9 +6850,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMessagingSessionEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -7012,9 +6922,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPhoneNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7085,9 +6994,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPhoneNumberOrderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7157,9 +7065,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPhoneNumberSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7231,9 +7138,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProxySessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7304,9 +7210,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRetentionSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7377,9 +7282,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRoomInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7451,9 +7355,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSipMediaApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7525,9 +7428,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSipMediaApplicationLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7599,9 +7501,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSipRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7672,9 +7573,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7745,9 +7645,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUserSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7819,9 +7718,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7893,9 +7791,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceConnectorEmergencyCallingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7967,9 +7864,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceConnectorGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8041,9 +7937,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceConnectorLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8115,9 +8010,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceConnectorOriginationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8189,9 +8083,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceConnectorProxyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8263,9 +8156,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceConnectorStreamingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8337,9 +8229,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceConnectorTerminationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8411,9 +8302,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceConnectorTerminationHealthInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8484,9 +8374,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InviteUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8561,9 +8450,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8635,9 +8523,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppInstanceAdminsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "identity-")) @@ -8709,9 +8596,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppInstanceUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "identity-")) @@ -8783,9 +8669,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "identity-")) @@ -8858,9 +8743,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAttendeeTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8932,9 +8816,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAttendeesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9006,9 +8889,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9080,9 +8962,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelBansInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -9155,9 +9036,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelMembershipsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -9230,9 +9110,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelMembershipsForAppInstanceUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -9305,9 +9184,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelMessagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -9380,9 +9258,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelModeratorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -9462,9 +9339,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -9537,9 +9413,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelsModeratedByAppInstanceUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -9612,9 +9487,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMediaCapturePipelinesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9687,9 +9561,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMeetingTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9760,9 +9633,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMeetingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9833,9 +9705,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPhoneNumberOrdersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9907,9 +9778,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPhoneNumbersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9982,9 +9852,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProxySessionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10056,9 +9925,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRoomMembershipsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10130,9 +9998,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRoomsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10204,9 +10071,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSipMediaApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10278,9 +10144,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSipRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10352,9 +10217,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSupportedPhoneNumberCountriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10433,9 +10297,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10507,9 +10370,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10581,9 +10443,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVoiceConnectorGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10656,9 +10517,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVoiceConnectorTerminationCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10729,9 +10589,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVoiceConnectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10803,9 +10662,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(LogoutUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10879,9 +10737,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAppInstanceRetentionSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "identity-")) @@ -10956,9 +10813,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAppInstanceStreamingConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11032,9 +10888,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutEventsConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11109,9 +10964,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRetentionSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11186,9 +11040,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutSipMediaApplicationLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11263,9 +11116,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutVoiceConnectorEmergencyCallingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11340,9 +11192,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutVoiceConnectorLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11417,9 +11268,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutVoiceConnectorOriginationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11495,9 +11345,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutVoiceConnectorProxyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11572,9 +11421,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutVoiceConnectorStreamingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11650,9 +11498,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutVoiceConnectorTerminationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11727,9 +11574,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutVoiceConnectorTerminationCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11804,9 +11650,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RedactChannelMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -11879,9 +11724,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RedactConversationMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11953,9 +11797,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RedactRoomMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12027,9 +11870,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegenerateSecurityTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12101,9 +11943,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetPersonalPINInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12176,9 +12017,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestorePhoneNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12250,9 +12090,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchAvailablePhoneNumbersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12325,9 +12164,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendChannelMessageInput.urlPathProvider(_:))) @@ -12406,9 +12244,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMeetingTranscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12485,9 +12322,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopMeetingTranscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12561,9 +12397,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagAttendeeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12640,9 +12475,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagMeetingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12717,9 +12551,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12795,9 +12628,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagAttendeeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12873,9 +12705,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagMeetingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12950,9 +12781,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13027,9 +12857,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13104,9 +12933,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccountSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13181,9 +13009,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAppInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "identity-")) @@ -13258,9 +13085,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAppInstanceUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "identity-")) @@ -13334,9 +13160,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13411,9 +13236,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -13489,9 +13313,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateChannelMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -13567,9 +13390,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateChannelReadMarkerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "messaging-")) @@ -13640,9 +13462,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGlobalSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13717,9 +13538,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePhoneNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13792,9 +13612,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePhoneNumberSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13869,9 +13688,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProxySessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13945,9 +13763,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRoomInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14021,9 +13838,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRoomMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14099,9 +13915,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSipMediaApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14177,9 +13992,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSipMediaApplicationCallInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14256,9 +14070,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSipRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14332,9 +14145,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14408,9 +14220,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14485,9 +14296,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVoiceConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14563,9 +14373,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVoiceConnectorGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14640,9 +14449,8 @@ extension ChimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ValidateE911AddressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/ChimeSDKIdentityClient.swift b/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/ChimeSDKIdentityClient.swift index b038b011e53..941e4e6178e 100644 --- a/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/ChimeSDKIdentityClient.swift +++ b/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/ChimeSDKIdentityClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -235,9 +234,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppInstanceInput.urlPathProvider(_:))) @@ -320,9 +318,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppInstanceAdminInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -397,9 +394,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppInstanceBotInput.urlPathProvider(_:))) @@ -475,9 +471,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppInstanceUserInput.urlPathProvider(_:))) @@ -552,9 +547,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -626,9 +620,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppInstanceAdminInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -700,9 +693,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppInstanceBotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -774,9 +766,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppInstanceUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -846,9 +837,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterAppInstanceUserEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -918,9 +908,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAppInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -990,9 +979,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAppInstanceAdminInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1063,9 +1051,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAppInstanceBotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1135,9 +1122,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAppInstanceUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1207,9 +1193,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAppInstanceUserEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1279,9 +1264,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAppInstanceRetentionSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1352,9 +1336,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppInstanceAdminsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1426,9 +1409,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppInstanceBotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1499,9 +1481,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppInstanceUserEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1572,9 +1553,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppInstanceUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1645,9 +1625,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1718,9 +1697,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1791,9 +1769,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAppInstanceRetentionSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1867,9 +1844,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAppInstanceUserExpirationSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1944,9 +1920,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterAppInstanceUserEndpointInput.urlPathProvider(_:))) @@ -2021,9 +1996,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2097,9 +2071,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2174,9 +2147,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAppInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2251,9 +2223,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAppInstanceBotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2328,9 +2299,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAppInstanceUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2404,9 +2374,8 @@ extension ChimeSDKIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAppInstanceUserEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift b/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift index 62b583e5fd5..b6cc48dffc6 100644 --- a/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift +++ b/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMediaCapturePipelineInput.urlPathProvider(_:))) @@ -310,9 +308,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMediaConcatenationPipelineInput.urlPathProvider(_:))) @@ -388,9 +385,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMediaInsightsPipelineInput.urlPathProvider(_:))) @@ -466,9 +462,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMediaInsightsPipelineConfigurationInput.urlPathProvider(_:))) @@ -543,9 +538,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMediaLiveConnectorPipelineInput.urlPathProvider(_:))) @@ -621,9 +615,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMediaPipelineKinesisVideoStreamPoolInput.urlPathProvider(_:))) @@ -699,9 +692,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMediaStreamPipelineInput.urlPathProvider(_:))) @@ -776,9 +768,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMediaCapturePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -850,9 +841,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMediaInsightsPipelineConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -924,9 +914,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMediaPipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -998,9 +987,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMediaPipelineKinesisVideoStreamPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1071,9 +1059,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMediaCapturePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1144,9 +1131,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMediaInsightsPipelineConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1217,9 +1203,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMediaPipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1290,9 +1275,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMediaPipelineKinesisVideoStreamPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1363,9 +1347,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSpeakerSearchTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1436,9 +1419,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceToneAnalysisTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1509,9 +1491,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMediaCapturePipelinesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1583,9 +1564,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMediaInsightsPipelineConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1657,9 +1637,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMediaPipelineKinesisVideoStreamPoolsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1731,9 +1710,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMediaPipelinesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1805,9 +1783,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1880,9 +1857,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSpeakerSearchTaskInput.urlPathProvider(_:))) @@ -1959,9 +1935,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartVoiceToneAnalysisTaskInput.urlPathProvider(_:))) @@ -2038,9 +2013,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopSpeakerSearchTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2113,9 +2087,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopVoiceToneAnalysisTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2187,9 +2160,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2264,9 +2236,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2342,9 +2313,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMediaInsightsPipelineConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2419,9 +2389,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMediaInsightsPipelineStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2496,9 +2465,8 @@ extension ChimeSDKMediaPipelinesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMediaPipelineKinesisVideoStreamPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/ChimeSDKMeetingsClient.swift b/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/ChimeSDKMeetingsClient.swift index 0c0ae81886e..9103b27c489 100644 --- a/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/ChimeSDKMeetingsClient.swift +++ b/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/ChimeSDKMeetingsClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -235,9 +234,8 @@ extension ChimeSDKMeetingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchCreateAttendeeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -323,9 +321,8 @@ extension ChimeSDKMeetingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchUpdateAttendeeCapabilitiesExceptInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -402,9 +399,8 @@ extension ChimeSDKMeetingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAttendeeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -479,9 +475,8 @@ extension ChimeSDKMeetingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMeetingInput.urlPathProvider(_:))) @@ -557,9 +552,8 @@ extension ChimeSDKMeetingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMeetingWithAttendeesInput.urlPathProvider(_:))) @@ -635,9 +629,8 @@ extension ChimeSDKMeetingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAttendeeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -708,9 +701,8 @@ extension ChimeSDKMeetingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMeetingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -781,9 +773,8 @@ extension ChimeSDKMeetingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAttendeeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -854,9 +845,8 @@ extension ChimeSDKMeetingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMeetingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -927,9 +917,8 @@ extension ChimeSDKMeetingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAttendeesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1002,9 +991,8 @@ extension ChimeSDKMeetingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1078,9 +1066,8 @@ extension ChimeSDKMeetingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMeetingTranscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1156,9 +1143,8 @@ extension ChimeSDKMeetingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopMeetingTranscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1232,9 +1218,8 @@ extension ChimeSDKMeetingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1318,9 +1303,8 @@ extension ChimeSDKMeetingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1406,9 +1390,8 @@ extension ChimeSDKMeetingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAttendeeCapabilitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/ChimeSDKMessagingClient.swift b/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/ChimeSDKMessagingClient.swift index 033183dc35a..88f47aee9de 100644 --- a/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/ChimeSDKMessagingClient.swift +++ b/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/ChimeSDKMessagingClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -236,9 +235,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateChannelFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -314,9 +312,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchCreateChannelMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -398,9 +395,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.callbackId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ChannelFlowCallbackInput.urlPathProvider(_:))) @@ -477,9 +473,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChannelInput.urlPathProvider(_:))) @@ -556,9 +551,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChannelBanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -643,9 +637,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChannelFlowInput.urlPathProvider(_:))) @@ -742,9 +735,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChannelMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -833,9 +825,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChannelModeratorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -910,9 +901,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -983,9 +973,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelBanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1057,9 +1046,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1130,9 +1118,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1204,9 +1191,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1278,9 +1264,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelModeratorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1351,9 +1336,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMessagingStreamingConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1423,9 +1407,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1497,9 +1480,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChannelBanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1570,9 +1552,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChannelFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1643,9 +1624,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChannelMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1717,9 +1697,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChannelMembershipForAppInstanceUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1791,9 +1770,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChannelModeratedByAppInstanceUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1866,9 +1844,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChannelModeratorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1941,9 +1918,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateChannelFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2014,9 +1990,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetChannelMembershipPreferencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2088,9 +2063,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetChannelMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2168,9 +2142,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetChannelMessageStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2241,9 +2214,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMessagingSessionEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2314,9 +2286,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMessagingStreamingConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2386,9 +2357,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelBansInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2460,9 +2430,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelFlowsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2533,9 +2502,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelMembershipsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2607,9 +2575,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelMembershipsForAppInstanceUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2681,9 +2648,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelMessagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2755,9 +2721,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelModeratorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2836,9 +2801,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2910,9 +2874,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelsAssociatedWithChannelFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2983,9 +2946,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelsModeratedByAppInstanceUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3057,9 +3019,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSubChannelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3131,9 +3092,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3211,9 +3171,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutChannelExpirationSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3288,9 +3247,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutChannelMembershipPreferencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3366,9 +3324,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutMessagingStreamingConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3442,9 +3399,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RedactChannelMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3519,9 +3475,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchChannelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3597,9 +3552,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendChannelMessageInput.urlPathProvider(_:))) @@ -3675,9 +3629,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3751,9 +3704,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3828,9 +3780,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3905,9 +3856,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateChannelFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3981,9 +3931,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateChannelMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4058,9 +4007,8 @@ extension ChimeSDKMessagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateChannelReadMarkerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/ChimeSDKVoiceClient.swift b/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/ChimeSDKVoiceClient.swift index 15537951c21..d08770c4406 100644 --- a/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/ChimeSDKVoiceClient.swift +++ b/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/ChimeSDKVoiceClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociatePhoneNumbersWithVoiceConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -312,9 +310,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociatePhoneNumbersWithVoiceConnectorGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -389,9 +386,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeletePhoneNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -466,9 +462,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchUpdatePhoneNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -544,9 +539,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePhoneNumberOrderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -620,9 +614,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProxySessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -698,9 +691,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSipMediaApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -775,9 +767,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSipMediaApplicationCallInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -853,9 +844,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSipRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -930,9 +920,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVoiceConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1007,9 +996,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVoiceConnectorGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1087,9 +1075,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVoiceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1165,9 +1152,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVoiceProfileDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1241,9 +1227,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePhoneNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1314,9 +1299,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProxySessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1388,9 +1372,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSipMediaApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1462,9 +1445,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSipRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1536,9 +1518,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVoiceConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1609,9 +1590,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVoiceConnectorEmergencyCallingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1683,9 +1663,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVoiceConnectorGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1756,9 +1735,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVoiceConnectorOriginationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1829,9 +1807,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVoiceConnectorProxyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1902,9 +1879,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVoiceConnectorStreamingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1975,9 +1951,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVoiceConnectorTerminationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2048,9 +2023,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVoiceConnectorTerminationCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2127,9 +2101,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVoiceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2202,9 +2175,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVoiceProfileDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2275,9 +2247,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociatePhoneNumbersFromVoiceConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2352,9 +2323,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociatePhoneNumbersFromVoiceConnectorGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2428,9 +2398,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGlobalSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2501,9 +2470,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPhoneNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2574,9 +2542,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPhoneNumberOrderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2646,9 +2613,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPhoneNumberSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2719,9 +2685,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProxySessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2792,9 +2757,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSipMediaApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2866,9 +2830,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSipMediaApplicationAlexaSkillConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2939,9 +2902,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSipMediaApplicationLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3012,9 +2974,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSipRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3087,9 +3048,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSpeakerSearchTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3160,9 +3120,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3233,9 +3192,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceConnectorEmergencyCallingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3306,9 +3264,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceConnectorGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3379,9 +3336,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceConnectorLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3452,9 +3408,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceConnectorOriginationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3525,9 +3480,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceConnectorProxyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3598,9 +3552,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceConnectorStreamingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3671,9 +3624,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceConnectorTerminationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3744,9 +3696,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceConnectorTerminationHealthInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3818,9 +3769,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3892,9 +3842,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceProfileDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3967,9 +3916,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceToneAnalysisTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4040,9 +3988,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAvailableVoiceConnectorRegionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4112,9 +4059,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPhoneNumberOrdersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4186,9 +4132,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPhoneNumbersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4260,9 +4205,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProxySessionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4333,9 +4277,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSipMediaApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4406,9 +4349,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSipRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4480,9 +4422,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSupportedPhoneNumberCountriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4553,9 +4494,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4626,9 +4566,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVoiceConnectorGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4700,9 +4639,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVoiceConnectorTerminationCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4772,9 +4710,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVoiceConnectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4846,9 +4783,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVoiceProfileDomainsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4920,9 +4856,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVoiceProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4995,9 +4930,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutSipMediaApplicationAlexaSkillConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5071,9 +5005,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutSipMediaApplicationLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5147,9 +5080,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutVoiceConnectorEmergencyCallingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5223,9 +5155,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutVoiceConnectorLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5299,9 +5230,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutVoiceConnectorOriginationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5376,9 +5306,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutVoiceConnectorProxyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5452,9 +5381,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutVoiceConnectorStreamingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5529,9 +5457,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutVoiceConnectorTerminationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5605,9 +5532,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutVoiceConnectorTerminationCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5683,9 +5609,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestorePhoneNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5757,9 +5682,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchAvailablePhoneNumbersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5836,9 +5760,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSpeakerSearchTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5917,9 +5840,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartVoiceToneAnalysisTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5996,9 +5918,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopSpeakerSearchTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6073,9 +5994,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopVoiceToneAnalysisTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6147,9 +6067,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6223,9 +6142,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6299,9 +6217,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGlobalSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6376,9 +6293,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePhoneNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6451,9 +6367,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePhoneNumberSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6527,9 +6442,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProxySessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6604,9 +6518,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSipMediaApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6681,9 +6594,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSipMediaApplicationCallInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6759,9 +6671,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSipRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6835,9 +6746,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVoiceConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6912,9 +6822,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVoiceConnectorGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6991,9 +6900,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVoiceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7068,9 +6976,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVoiceProfileDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7144,9 +7051,8 @@ extension ChimeSDKVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ValidateE911AddressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/CleanRoomsClient.swift b/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/CleanRoomsClient.swift index 92300e127a0..fbd97a97354 100644 --- a/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/CleanRoomsClient.swift +++ b/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/CleanRoomsClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetCollaborationAnalysisTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -304,9 +302,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -378,9 +375,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetSchemaAnalysisRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -454,9 +450,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAnalysisTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -528,9 +523,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCollaborationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -604,9 +598,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConfiguredAudienceModelAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -680,9 +673,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConfiguredTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -755,9 +747,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConfiguredTableAnalysisRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -831,9 +822,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConfiguredTableAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -907,9 +897,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -982,9 +971,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePrivacyBudgetTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1056,9 +1044,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAnalysisTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1126,9 +1113,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCollaborationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1197,9 +1183,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfiguredAudienceModelAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1269,9 +1254,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfiguredTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1341,9 +1325,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfiguredTableAnalysisRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1413,9 +1396,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfiguredTableAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1485,9 +1467,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMemberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1557,9 +1538,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1628,9 +1608,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePrivacyBudgetTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1699,9 +1678,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAnalysisTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1769,9 +1747,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCollaborationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1840,9 +1817,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCollaborationAnalysisTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1911,9 +1887,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCollaborationConfiguredAudienceModelAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1982,9 +1957,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCollaborationPrivacyBudgetTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2053,9 +2027,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConfiguredAudienceModelAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2124,9 +2097,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConfiguredTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2195,9 +2167,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConfiguredTableAnalysisRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2266,9 +2237,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConfiguredTableAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2337,9 +2307,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2408,9 +2377,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPrivacyBudgetTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2479,9 +2447,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProtectedQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2550,9 +2517,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2621,9 +2587,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSchemaAnalysisRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2692,9 +2657,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAnalysisTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2764,9 +2728,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCollaborationAnalysisTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2836,9 +2799,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCollaborationConfiguredAudienceModelAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2908,9 +2870,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCollaborationPrivacyBudgetTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2980,9 +2941,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCollaborationPrivacyBudgetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3051,9 +3011,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCollaborationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3123,9 +3082,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConfiguredAudienceModelAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3195,9 +3153,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConfiguredTableAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3266,9 +3223,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConfiguredTablesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3338,9 +3294,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3409,9 +3364,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMembershipsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3481,9 +3435,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPrivacyBudgetTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3553,9 +3506,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPrivacyBudgetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3625,9 +3577,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProtectedQueriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3697,9 +3648,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSchemasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3766,9 +3716,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3837,9 +3786,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PreviewPrivacyImpactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3912,9 +3860,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartProtectedQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3983,9 +3930,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4054,9 +4000,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4126,9 +4071,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAnalysisTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4199,9 +4143,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCollaborationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4273,9 +4216,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConfiguredAudienceModelAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4348,9 +4290,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConfiguredTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4423,9 +4364,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConfiguredTableAnalysisRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4498,9 +4438,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConfiguredTableAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4573,9 +4512,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4648,9 +4586,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePrivacyBudgetTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4723,9 +4660,8 @@ extension CleanRoomsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProtectedQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/CleanRoomsMLClient.swift b/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/CleanRoomsMLClient.swift index ed64fb59ffb..9213422febb 100644 --- a/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/CleanRoomsMLClient.swift +++ b/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/CleanRoomsMLClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAudienceModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConfiguredAudienceModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -377,9 +374,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTrainingDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -450,9 +446,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAudienceGenerationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -520,9 +515,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAudienceModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -590,9 +584,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfiguredAudienceModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -659,9 +652,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfiguredAudienceModelPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -729,9 +721,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTrainingDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -798,9 +789,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAudienceGenerationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -867,9 +857,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAudienceModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -936,9 +925,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConfiguredAudienceModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1005,9 +993,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConfiguredAudienceModelPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1074,9 +1061,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTrainingDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1142,9 +1128,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAudienceExportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1211,9 +1196,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAudienceGenerationJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1280,9 +1264,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAudienceModelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1349,9 +1332,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConfiguredAudienceModelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1419,9 +1401,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1487,9 +1468,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTrainingDatasetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1557,9 +1537,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutConfiguredAudienceModelPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1631,9 +1610,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartAudienceExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1705,9 +1683,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartAudienceGenerationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1777,9 +1754,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1849,9 +1825,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1920,9 +1895,8 @@ extension CleanRoomsMLClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConfiguredAudienceModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCloud9/Sources/AWSCloud9/Cloud9Client.swift b/Sources/Services/AWSCloud9/Sources/AWSCloud9/Cloud9Client.swift index 5ce7835ae93..885ad7f212b 100644 --- a/Sources/Services/AWSCloud9/Sources/AWSCloud9/Cloud9Client.swift +++ b/Sources/Services/AWSCloud9/Sources/AWSCloud9/Cloud9Client.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension Cloud9Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEnvironmentEC2Input.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -309,9 +307,8 @@ extension Cloud9Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEnvironmentMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -386,9 +383,8 @@ extension Cloud9Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -463,9 +459,8 @@ extension Cloud9Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEnvironmentMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -540,9 +535,8 @@ extension Cloud9Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEnvironmentMembershipsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -617,9 +611,8 @@ extension Cloud9Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEnvironmentStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -694,9 +687,8 @@ extension Cloud9Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEnvironmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -771,9 +763,8 @@ extension Cloud9Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnvironmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -844,9 +835,8 @@ extension Cloud9Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -918,9 +908,8 @@ extension Cloud9Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -992,9 +981,8 @@ extension Cloud9Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1069,9 +1057,8 @@ extension Cloud9Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1146,9 +1133,8 @@ extension Cloud9Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEnvironmentMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/CloudControlClient.swift b/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/CloudControlClient.swift index fe66b4e08cf..887e532e1e1 100644 --- a/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/CloudControlClient.swift +++ b/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/CloudControlClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension CloudControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelResourceRequestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -317,9 +315,8 @@ extension CloudControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateResourceInput.urlPathProvider(_:))) @@ -407,9 +404,8 @@ extension CloudControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourceInput.urlPathProvider(_:))) @@ -495,9 +491,8 @@ extension CloudControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -566,9 +561,8 @@ extension CloudControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourceRequestStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -632,9 +626,8 @@ extension CloudControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceRequestsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -719,9 +712,8 @@ extension CloudControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -808,9 +800,8 @@ extension CloudControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResourceInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/CloudDirectoryClient.swift b/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/CloudDirectoryClient.swift index 350ef988f0b..93a9c3d15e5 100644 --- a/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/CloudDirectoryClient.swift +++ b/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/CloudDirectoryClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddFacetToObjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -313,9 +311,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ApplySchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -398,9 +395,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachObjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -477,9 +473,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -559,9 +554,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachToIndexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -639,9 +633,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachTypedLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -716,9 +709,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchReadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -794,9 +786,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchWriteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -872,9 +863,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDirectoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -952,9 +942,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFacetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1033,9 +1022,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIndexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1114,9 +1102,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateObjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1197,9 +1184,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1276,9 +1262,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTypedLinkFacetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1355,9 +1340,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDirectoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1431,9 +1415,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFacetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1510,9 +1493,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteObjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1588,9 +1570,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1663,9 +1644,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTypedLinkFacetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1743,9 +1723,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachFromIndexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1822,9 +1801,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachObjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1901,9 +1879,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1980,9 +1957,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachTypedLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2058,9 +2034,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableDirectoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2133,9 +2108,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableDirectoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2207,9 +2181,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAppliedSchemaVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2282,9 +2255,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDirectoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2357,9 +2329,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFacetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2436,9 +2407,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLinkAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2515,9 +2485,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetObjectAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2593,9 +2562,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetObjectInformationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2670,9 +2638,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSchemaAsJsonInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2746,9 +2713,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTypedLinkFacetInformationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2824,9 +2790,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppliedSchemaArnsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2901,9 +2866,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAttachedIndicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2979,9 +2943,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDevelopmentSchemaArnsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3055,9 +3018,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDirectoriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3133,9 +3095,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFacetAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3211,9 +3172,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFacetNamesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3291,9 +3251,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIncomingTypedLinksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3372,9 +3331,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIndexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3448,9 +3406,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListManagedSchemaArnsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3527,9 +3484,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListObjectAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3607,9 +3563,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListObjectChildrenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3686,9 +3641,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListObjectParentPathsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3766,9 +3720,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListObjectParentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3845,9 +3798,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListObjectPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3925,9 +3877,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOutgoingTypedLinksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4005,9 +3956,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPolicyAttachmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4083,9 +4033,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPublishedSchemaArnsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4160,9 +4109,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4238,9 +4186,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTypedLinkFacetAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4316,9 +4263,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTypedLinkFacetNamesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4395,9 +4341,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(LookupPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4473,9 +4418,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PublishSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4551,9 +4495,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutSchemaFromJsonInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4630,9 +4573,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveFacetFromObjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4708,9 +4650,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4785,9 +4726,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4871,9 +4811,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFacetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4950,9 +4889,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLinkAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5030,9 +4968,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateObjectAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5107,9 +5044,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5188,9 +5124,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTypedLinkFacetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5267,9 +5202,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpgradeAppliedSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5345,9 +5279,8 @@ extension CloudDirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpgradePublishedSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/CloudFormationClient.swift b/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/CloudFormationClient.swift index 1e33372bd5e..200e632ac60 100644 --- a/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/CloudFormationClient.swift +++ b/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/CloudFormationClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ActivateOrganizationsAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -299,9 +297,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ActivateTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -370,9 +367,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDescribeTypeConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -440,9 +436,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelUpdateStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -510,9 +505,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ContinueUpdateRollbackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -582,9 +576,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChangeSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -654,9 +647,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGeneratedTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -727,9 +719,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -802,9 +793,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.operationId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStackInstancesInput.urlPathProvider(_:))) @@ -875,9 +865,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStackSetInput.urlPathProvider(_:))) @@ -947,9 +936,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeactivateOrganizationsAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1018,9 +1006,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeactivateTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1088,9 +1075,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChangeSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1159,9 +1145,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGeneratedTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1229,9 +1214,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1303,9 +1287,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.operationId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStackInstancesInput.urlPathProvider(_:))) @@ -1375,9 +1358,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStackSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1446,9 +1428,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1511,9 +1492,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountLimitsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1581,9 +1561,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChangeSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1651,9 +1630,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChangeSetHooksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1721,9 +1699,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGeneratedTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1792,9 +1769,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOrganizationsAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1866,9 +1842,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePublisherInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1936,9 +1911,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeResourceScanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2001,9 +1975,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStackDriftDetectionStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2066,9 +2039,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStackEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2137,9 +2109,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStackInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2202,9 +2173,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStackResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2267,9 +2237,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStackResourceDriftsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2332,9 +2301,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStackResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2402,9 +2370,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStackSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2473,9 +2440,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStackSetOperationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2538,9 +2504,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStacksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2609,9 +2574,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2679,9 +2643,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTypeRegistrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2744,9 +2707,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectStackDriftInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2809,9 +2771,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectStackResourceDriftInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2890,9 +2851,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.operationId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectStackSetDriftInput.urlPathProvider(_:))) @@ -2956,9 +2916,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EstimateTemplateCostInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3029,9 +2988,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExecuteChangeSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3099,9 +3057,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGeneratedTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3164,9 +3121,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStackPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3234,9 +3190,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3304,9 +3259,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTemplateSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3380,9 +3334,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.operationId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportStacksToStackSetInput.urlPathProvider(_:))) @@ -3446,9 +3399,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChangeSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3511,9 +3463,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3576,9 +3527,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGeneratedTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3641,9 +3591,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3712,9 +3661,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceScanRelatedResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3783,9 +3731,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceScanResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3848,9 +3795,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceScansInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3920,9 +3866,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStackInstanceResourceDriftsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3990,9 +3935,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStackInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4055,9 +3999,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStackResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4125,9 +4068,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStackSetAutoDeploymentTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4196,9 +4138,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStackSetOperationResultsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4266,9 +4207,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStackSetOperationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4337,9 +4277,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStackSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4402,9 +4341,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStacksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4472,9 +4410,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTypeRegistrationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4542,9 +4479,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTypeVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4612,9 +4548,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4683,9 +4618,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PublishTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4754,9 +4688,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RecordHandlerProgressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4824,9 +4757,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterPublisherInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4903,9 +4835,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4983,9 +4914,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RollbackStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5048,9 +4978,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetStackPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5119,9 +5048,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetTypeConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5190,9 +5118,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetTypeDefaultVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5255,9 +5182,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SignalResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5332,9 +5258,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartResourceScanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5404,9 +5329,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopStackSetOperationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5482,9 +5406,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5554,9 +5477,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGeneratedTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5625,9 +5547,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5700,9 +5621,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.operationId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStackInstancesInput.urlPathProvider(_:))) @@ -5776,9 +5696,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.operationId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStackSetInput.urlPathProvider(_:))) @@ -5842,9 +5761,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTerminationProtectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5907,9 +5825,8 @@ extension CloudFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ValidateTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift b/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift index c0bee348406..3e15007b967 100644 --- a/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift +++ b/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -370,9 +368,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyDistributionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -455,9 +452,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCachePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -529,9 +525,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCloudFrontOriginAccessIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -604,9 +599,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateContinuousDeploymentPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -738,9 +732,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDistributionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -877,9 +870,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDistributionWithTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -955,9 +947,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFieldLevelEncryptionConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1032,9 +1023,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFieldLevelEncryptionProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1106,9 +1096,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFunctionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1182,9 +1171,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInvalidationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1255,9 +1243,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateKeyGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1330,9 +1317,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateKeyValueStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1403,9 +1389,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMonitoringSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1475,9 +1460,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateOriginAccessControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1561,9 +1545,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateOriginRequestPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1633,9 +1616,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePublicKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1706,9 +1688,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRealtimeLogConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1783,9 +1764,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateResponseHeadersPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1865,9 +1845,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStreamingDistributionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1948,9 +1927,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStreamingDistributionWithTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2024,9 +2002,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCachePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2096,9 +2073,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCloudFrontOriginAccessIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2169,9 +2145,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteContinuousDeploymentPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2260,9 +2235,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDistributionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2332,9 +2306,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFieldLevelEncryptionConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2404,9 +2377,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFieldLevelEncryptionProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2476,9 +2448,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFunctionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2547,9 +2518,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteKeyGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2620,9 +2590,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteKeyValueStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2691,9 +2660,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMonitoringSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2762,9 +2730,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOriginAccessControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2835,9 +2802,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOriginRequestPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2907,9 +2873,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePublicKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2978,9 +2943,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRealtimeLogConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3053,9 +3017,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResponseHeadersPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3144,9 +3107,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStreamingDistributionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3213,9 +3175,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFunctionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3284,9 +3245,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeKeyValueStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3359,9 +3319,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCachePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3427,9 +3386,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCachePolicyConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3495,9 +3453,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCloudFrontOriginAccessIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3563,9 +3520,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCloudFrontOriginAccessIdentityConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3631,9 +3587,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContinuousDeploymentPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3699,9 +3654,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContinuousDeploymentPolicyConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3767,9 +3721,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDistributionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3835,9 +3788,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDistributionConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3903,9 +3855,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFieldLevelEncryptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3971,9 +3922,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFieldLevelEncryptionConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4039,9 +3989,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFieldLevelEncryptionProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4107,9 +4056,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFieldLevelEncryptionProfileConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4175,9 +4123,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFunctionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4245,9 +4192,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInvalidationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4312,9 +4258,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetKeyGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4379,9 +4324,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetKeyGroupConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4449,9 +4393,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMonitoringSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4517,9 +4460,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOriginAccessControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4585,9 +4527,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOriginAccessControlConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4660,9 +4601,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOriginRequestPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4728,9 +4668,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOriginRequestPolicyConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4796,9 +4735,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPublicKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4864,9 +4802,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPublicKeyConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4933,9 +4870,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRealtimeLogConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5004,9 +4940,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResponseHeadersPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5072,9 +5007,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResponseHeadersPolicyConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5140,9 +5074,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStreamingDistributionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5208,9 +5141,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStreamingDistributionConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5277,9 +5209,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCachePoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5345,9 +5276,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCloudFrontOriginAccessIdentitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5414,9 +5344,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConflictingAliasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5484,9 +5413,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListContinuousDeploymentPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5552,9 +5480,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDistributionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5622,9 +5549,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDistributionsByCachePolicyIdInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5691,9 +5617,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDistributionsByKeyGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5761,9 +5686,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDistributionsByOriginRequestPolicyIdInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5829,9 +5753,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDistributionsByRealtimeLogConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5901,9 +5824,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDistributionsByResponseHeadersPolicyIdInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5970,9 +5892,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDistributionsByWebACLIdInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6038,9 +5959,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFieldLevelEncryptionConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6106,9 +6026,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFieldLevelEncryptionProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6175,9 +6094,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFunctionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6245,9 +6163,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInvalidationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6313,9 +6230,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKeyGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6383,9 +6299,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKeyValueStoresInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6451,9 +6366,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOriginAccessControlsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6521,9 +6435,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOriginRequestPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6589,9 +6502,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPublicKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6659,9 +6571,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRealtimeLogConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6729,9 +6640,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResponseHeadersPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6797,9 +6707,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStreamingDistributionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6868,9 +6777,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6940,9 +6848,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PublishFunctionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7011,9 +6918,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7086,9 +6992,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestFunctionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7160,9 +7065,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7247,9 +7151,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCachePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7325,9 +7228,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCloudFrontOriginAccessIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7408,9 +7310,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContinuousDeploymentPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7557,9 +7458,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDistributionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7692,9 +7592,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDistributionWithStagingConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7771,9 +7670,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFieldLevelEncryptionConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7853,9 +7751,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFieldLevelEncryptionProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7929,9 +7826,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFunctionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8011,9 +7907,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateKeyGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8087,9 +7982,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateKeyValueStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8164,9 +8058,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateOriginAccessControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8251,9 +8144,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateOriginRequestPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8328,9 +8220,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePublicKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8410,9 +8301,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRealtimeLogConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8496,9 +8386,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResponseHeadersPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8580,9 +8469,8 @@ extension CloudFrontClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStreamingDistributionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift b/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift index a5727b57883..b94c78a8418 100644 --- a/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift +++ b/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -235,9 +234,8 @@ extension CloudFrontKeyValueStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension CloudFrontKeyValueStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeKeyValueStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -378,9 +375,8 @@ extension CloudFrontKeyValueStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -450,9 +446,8 @@ extension CloudFrontKeyValueStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -524,9 +519,8 @@ extension CloudFrontKeyValueStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -601,9 +595,8 @@ extension CloudFrontKeyValueStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/CloudHSMClient.swift b/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/CloudHSMClient.swift index 8af31699593..f8c3510e6fe 100644 --- a/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/CloudHSMClient.swift +++ b/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/CloudHSMClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension CloudHSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddTagsToResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -303,9 +301,8 @@ extension CloudHSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateHapgInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -377,9 +374,8 @@ extension CloudHSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateHsmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -451,9 +447,8 @@ extension CloudHSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLunaClientInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -525,9 +520,8 @@ extension CloudHSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteHapgInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -599,9 +593,8 @@ extension CloudHSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteHsmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -673,9 +666,8 @@ extension CloudHSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLunaClientInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -747,9 +739,8 @@ extension CloudHSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeHapgInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -821,9 +812,8 @@ extension CloudHSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeHsmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -895,9 +885,8 @@ extension CloudHSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLunaClientInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -969,9 +958,8 @@ extension CloudHSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1043,9 +1031,8 @@ extension CloudHSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAvailableZonesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1117,9 +1104,8 @@ extension CloudHSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHapgsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1191,9 +1177,8 @@ extension CloudHSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHsmsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1265,9 +1250,8 @@ extension CloudHSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLunaClientsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1339,9 +1323,8 @@ extension CloudHSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1413,9 +1396,8 @@ extension CloudHSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyHapgInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1487,9 +1469,8 @@ extension CloudHSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyHsmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1559,9 +1540,8 @@ extension CloudHSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyLunaClientInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1633,9 +1613,8 @@ extension CloudHSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTagsFromResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift b/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift index f92ad1a5368..834883f8ce6 100644 --- a/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift +++ b/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension CloudHSMV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyBackupToRegionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension CloudHSMV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -382,9 +379,8 @@ extension CloudHSMV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateHsmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -457,9 +453,8 @@ extension CloudHSMV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBackupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -533,9 +528,8 @@ extension CloudHSMV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -608,9 +602,8 @@ extension CloudHSMV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteHsmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -683,9 +676,8 @@ extension CloudHSMV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -759,9 +751,8 @@ extension CloudHSMV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBackupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -834,9 +825,8 @@ extension CloudHSMV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -909,9 +899,8 @@ extension CloudHSMV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -984,9 +973,8 @@ extension CloudHSMV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InitializeClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1060,9 +1048,8 @@ extension CloudHSMV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1135,9 +1122,8 @@ extension CloudHSMV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyBackupAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1210,9 +1196,8 @@ extension CloudHSMV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1290,9 +1275,8 @@ extension CloudHSMV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1365,9 +1349,8 @@ extension CloudHSMV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreBackupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1441,9 +1424,8 @@ extension CloudHSMV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1517,9 +1499,8 @@ extension CloudHSMV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/CloudSearchClient.swift b/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/CloudSearchClient.swift index 580bdeece4e..d33865e9867 100644 --- a/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/CloudSearchClient.swift +++ b/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/CloudSearchClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BuildSuggestersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -302,9 +300,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -377,9 +374,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DefineAnalysisSchemeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -452,9 +448,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DefineExpressionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -527,9 +522,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DefineIndexFieldInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -602,9 +596,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DefineSuggesterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -676,9 +669,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAnalysisSchemeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -747,9 +739,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -821,9 +812,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteExpressionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -895,9 +885,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIndexFieldInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -969,9 +958,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSuggesterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1041,9 +1029,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAnalysisSchemesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1116,9 +1103,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAvailabilityOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1190,9 +1176,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDomainEndpointOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1261,9 +1246,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDomainsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1333,9 +1317,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeExpressionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1405,9 +1388,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIndexFieldsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1477,9 +1459,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeScalingParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1549,9 +1530,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeServiceAccessPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1621,9 +1601,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSuggestersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1694,9 +1673,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(IndexDocumentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1764,9 +1742,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDomainNamesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1840,9 +1817,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAvailabilityOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1916,9 +1892,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDomainEndpointOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1991,9 +1966,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateScalingParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2066,9 +2040,8 @@ extension CloudSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServiceAccessPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/CloudSearchDomainClient.swift b/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/CloudSearchDomainClient.swift index a8f83c9ff9c..2944019c188 100644 --- a/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/CloudSearchDomainClient.swift +++ b/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/CloudSearchDomainClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -238,9 +237,8 @@ extension CloudSearchDomainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension CloudSearchDomainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SuggestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -374,9 +371,8 @@ extension CloudSearchDomainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UploadDocumentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/CloudTrailClient.swift b/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/CloudTrailClient.swift index c3f8766262f..c74fee86824 100644 --- a/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/CloudTrailClient.swift +++ b/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/CloudTrailClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -252,9 +251,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -332,9 +330,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -414,9 +411,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -510,9 +506,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEventDataStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -623,9 +618,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTrailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -697,9 +691,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -781,9 +774,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEventDataStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -857,9 +849,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -948,9 +939,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTrailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1029,9 +1019,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterOrganizationDelegatedAdminInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1107,9 +1096,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1192,9 +1180,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTrailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1276,9 +1263,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableFederationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1361,9 +1347,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableFederationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1435,9 +1420,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1511,9 +1495,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEventDataStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1610,9 +1593,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEventSelectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1684,9 +1666,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetImportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1774,9 +1755,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInsightSelectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1855,9 +1835,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQueryResultsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1931,9 +1910,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2016,9 +1994,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTrailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2101,9 +2078,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTrailStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2174,9 +2150,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2249,9 +2224,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEventDataStoresInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2323,9 +2297,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImportFailuresInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2398,9 +2371,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2480,9 +2452,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInsightsMetricDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2554,9 +2525,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPublicKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2635,9 +2605,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQueriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2727,9 +2696,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2799,9 +2767,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTrailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2904,9 +2871,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(LookupEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3017,9 +2983,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutEventSelectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3113,9 +3078,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutInsightSelectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3195,9 +3159,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3278,9 +3241,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterOrganizationDelegatedAdminInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3372,9 +3334,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3455,9 +3416,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreEventDataStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3535,9 +3495,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartEventDataStoreIngestionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3617,9 +3576,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartImportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3708,9 +3666,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartLoggingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3792,9 +3749,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3872,9 +3828,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopEventDataStoreIngestionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3946,9 +3901,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopImportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4037,9 +3991,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopLoggingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4117,9 +4070,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4215,9 +4167,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEventDataStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4336,9 +4287,8 @@ extension CloudTrailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTrailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/CloudTrailDataClient.swift b/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/CloudTrailDataClient.swift index 1b8c31a68bd..908e8c782e2 100644 --- a/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/CloudTrailDataClient.swift +++ b/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/CloudTrailDataClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension CloudTrailDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAuditEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/CloudWatchClient.swift b/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/CloudWatchClient.swift index cfe78337cbf..e35030faedf 100644 --- a/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/CloudWatchClient.swift +++ b/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/CloudWatchClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -226,9 +225,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAlarmsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -300,9 +298,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAnomalyDetectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -372,9 +369,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDashboardsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -443,9 +439,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInsightRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -515,9 +510,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMetricStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -585,9 +579,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAlarmHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -655,9 +648,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAlarmsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -720,9 +712,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAlarmsForMetricInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -793,9 +784,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAnomalyDetectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -863,9 +853,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInsightRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -928,9 +917,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableAlarmActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -999,9 +987,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableInsightRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1064,9 +1051,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableAlarmActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1136,9 +1122,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableInsightRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1208,9 +1193,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDashboardInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1294,9 +1278,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInsightRuleReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1375,9 +1358,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMetricDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1466,9 +1448,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMetricStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1540,9 +1521,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMetricStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1609,9 +1589,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMetricWidgetImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1680,9 +1659,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDashboardsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1752,9 +1730,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListManagedInsightRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1825,9 +1802,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMetricStreamsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1896,9 +1872,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1968,9 +1943,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2042,9 +2016,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAnomalyDetectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2123,9 +2096,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutCompositeAlarmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2194,9 +2166,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDashboardInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2266,9 +2237,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutInsightRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2337,9 +2307,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutManagedInsightRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2418,9 +2387,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutMetricAlarmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2495,9 +2463,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutMetricDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2578,9 +2545,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutMetricStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2649,9 +2615,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetAlarmStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2721,9 +2686,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMetricStreamsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2793,9 +2757,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopMetricStreamsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2866,9 +2829,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2939,9 +2901,8 @@ extension CloudWatchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift b/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift index 3394e8540f0..7dd9ddc7494 100644 --- a/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift +++ b/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ActivateEventSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelReplayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -379,9 +376,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApiDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -455,9 +451,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateArchiveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -528,9 +523,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -605,9 +599,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEventBusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -680,9 +673,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePartnerEventSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -755,9 +747,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeactivateEventSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -828,9 +819,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeauthorizeConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -901,9 +891,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApiDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -974,9 +963,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteArchiveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1047,9 +1035,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1119,9 +1106,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEventBusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1192,9 +1178,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePartnerEventSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1266,9 +1251,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1338,9 +1322,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeApiDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1411,9 +1394,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeArchiveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1483,9 +1465,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1555,9 +1536,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventBusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1628,9 +1608,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1701,9 +1680,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePartnerEventSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1773,9 +1751,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReplayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1845,9 +1822,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1919,9 +1895,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1993,9 +1968,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2064,9 +2038,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApiDestinationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2136,9 +2109,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListArchivesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2207,9 +2179,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2278,9 +2249,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEventBusesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2350,9 +2320,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEventSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2423,9 +2392,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPartnerEventSourceAccountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2495,9 +2463,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPartnerEventSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2566,9 +2533,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReplaysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2638,9 +2604,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRuleNamesByTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2710,9 +2675,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2782,9 +2746,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2854,9 +2817,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTargetsByRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2925,9 +2887,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2997,9 +2958,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutPartnerEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3072,9 +3032,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutPermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3148,9 +3107,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3285,9 +3243,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3359,9 +3316,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemovePermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3433,9 +3389,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3508,9 +3463,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartReplayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3582,9 +3536,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3654,9 +3607,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestEventPatternInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3728,9 +3680,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3802,9 +3753,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApiDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3877,9 +3827,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateArchiveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3951,9 +3900,8 @@ extension CloudWatchEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/CloudWatchLogsClient.swift b/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/CloudWatchLogsClient.swift index 37529034852..b967938ad87 100644 --- a/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/CloudWatchLogsClient.swift +++ b/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/CloudWatchLogsClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -237,9 +236,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateKmsKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -311,9 +309,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelExportTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -399,9 +396,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDeliveryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -475,9 +471,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateExportTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -550,9 +545,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLogAnomalyDetectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -636,9 +630,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLogGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -716,9 +709,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLogStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -794,9 +786,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccountPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -868,9 +859,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataProtectionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -944,9 +934,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDeliveryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1020,9 +1009,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDeliveryDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1094,9 +1082,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDeliveryDestinationPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1170,9 +1157,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDeliverySourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1244,9 +1230,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1318,9 +1303,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLogAnomalyDetectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1392,9 +1376,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLogGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1466,9 +1449,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLogStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1540,9 +1522,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMetricFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1613,9 +1594,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteQueryDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1686,9 +1666,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1760,9 +1739,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRetentionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1834,9 +1812,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSubscriptionFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1908,9 +1885,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1982,9 +1958,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConfigurationTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2056,9 +2031,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDeliveriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2130,9 +2104,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDeliveryDestinationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2204,9 +2177,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDeliverySourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2276,9 +2248,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDestinationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2348,9 +2319,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeExportTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2420,9 +2390,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLogGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2493,9 +2462,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLogStreamsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2566,9 +2534,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMetricFiltersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2639,9 +2606,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeQueriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2711,9 +2677,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeQueryDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2783,9 +2748,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeResourcePoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2856,9 +2820,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSubscriptionFiltersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2937,9 +2900,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateKmsKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3010,9 +2972,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(FilterLogEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3084,9 +3045,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataProtectionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3159,9 +3119,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeliveryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3234,9 +3193,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeliveryDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3307,9 +3265,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeliveryDestinationPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3382,9 +3339,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeliverySourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3456,9 +3412,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLogAnomalyDetectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3529,9 +3484,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLogEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3603,9 +3557,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLogGroupFieldsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3677,9 +3630,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLogRecordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3750,9 +3702,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQueryResultsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3824,9 +3775,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAnomaliesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3898,9 +3848,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLogAnomalyDetectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3971,9 +3920,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4044,9 +3992,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsLogGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4129,9 +4076,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAccountPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4204,9 +4150,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDataProtectionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4291,9 +4236,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDeliveryDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4376,9 +4320,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDeliveryDestinationPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4463,9 +4406,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDeliverySourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4536,9 +4478,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4609,9 +4550,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDestinationPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4704,9 +4644,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutLogEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4779,9 +4718,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutMetricFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4853,9 +4791,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutQueryDefinitionInput.urlPathProvider(_:))) @@ -4927,9 +4864,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5001,9 +4937,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRetentionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5087,9 +5022,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutSubscriptionFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5173,9 +5107,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartLiveTailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "streaming-")) @@ -5248,9 +5181,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5321,9 +5253,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5394,9 +5325,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagLogGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5468,9 +5398,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5540,9 +5469,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestMetricFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5612,9 +5540,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagLogGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5685,9 +5612,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5759,9 +5685,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAnomalyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5835,9 +5760,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDeliveryConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5909,9 +5833,8 @@ extension CloudWatchLogsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLogAnomalyDetectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/CodeBuildClient.swift b/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/CodeBuildClient.swift index 61d109db51e..4e2293ba1d1 100644 --- a/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/CodeBuildClient.swift +++ b/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/CodeBuildClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -226,9 +225,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteBuildsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -297,9 +295,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetBuildBatchesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -368,9 +365,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetBuildsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -439,9 +435,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetFleetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -510,9 +505,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetProjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -581,9 +575,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetReportGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -652,9 +645,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetReportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -725,9 +717,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -798,9 +789,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -871,9 +861,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReportGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -945,9 +934,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWebhookInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1016,9 +1004,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBuildBatchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1087,9 +1074,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1158,9 +1144,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1229,9 +1214,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1300,9 +1284,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReportGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1371,9 +1354,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1443,9 +1425,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSourceCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1516,9 +1497,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWebhookInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1587,9 +1567,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCodeCoveragesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1659,9 +1638,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTestCasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1731,9 +1709,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReportGroupTrendInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1803,9 +1780,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1876,9 +1852,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportSourceCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1948,9 +1923,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InvalidateProjectCacheInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2019,9 +1993,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBuildBatchesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2091,9 +2064,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBuildBatchesForProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2162,9 +2134,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBuildsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2234,9 +2205,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBuildsForProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2300,9 +2270,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCuratedEnvironmentImagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2371,9 +2340,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFleetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2442,9 +2410,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2513,9 +2480,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReportGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2584,9 +2550,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2656,9 +2621,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReportsForReportGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2727,9 +2691,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSharedProjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2798,9 +2761,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSharedReportGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2869,9 +2831,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSourceCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2941,9 +2902,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3014,9 +2974,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RetryBuildInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3086,9 +3045,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RetryBuildBatchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3159,9 +3117,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartBuildInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3231,9 +3188,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartBuildBatchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3303,9 +3259,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopBuildInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3375,9 +3330,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopBuildBatchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3448,9 +3402,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3520,9 +3473,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3605,9 +3557,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProjectVisibilityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3677,9 +3628,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateReportGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3750,9 +3700,8 @@ extension CodeBuildClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWebhookInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/CodeCatalystClient.swift b/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/CodeCatalystClient.swift index 62a00132f12..5f1fe856352 100644 --- a/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/CodeCatalystClient.swift +++ b/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/CodeCatalystClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccessTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -303,9 +301,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDevEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -376,9 +373,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -449,9 +445,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSourceRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -522,9 +517,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSourceRepositoryBranchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -595,9 +589,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccessTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -665,9 +658,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDevEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -735,9 +727,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -805,9 +796,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSourceRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -875,9 +865,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSpaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -945,9 +934,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDevEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1015,9 +1003,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1085,9 +1072,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSourceRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1155,9 +1141,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSourceRepositoryCloneUrlsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1225,9 +1210,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSpaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1295,9 +1279,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1365,9 +1348,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUserDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1436,9 +1418,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1506,9 +1487,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkflowRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1576,9 +1556,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccessTokensInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1649,9 +1628,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDevEnvironmentSessionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1722,9 +1700,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDevEnvironmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1795,9 +1772,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEventLogsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1868,9 +1844,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1941,9 +1916,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSourceRepositoriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2014,9 +1988,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSourceRepositoryBranchesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2087,9 +2060,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSpacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2160,9 +2132,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkflowRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2234,9 +2205,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkflowsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2308,9 +2278,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDevEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2381,9 +2350,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDevEnvironmentSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2454,9 +2422,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartWorkflowRunInput.urlPathProvider(_:))) @@ -2529,9 +2496,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopDevEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2599,9 +2565,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopDevEnvironmentSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2669,9 +2634,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDevEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2742,9 +2706,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2815,9 +2778,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSpaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2888,9 +2850,8 @@ extension CodeCatalystClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(VerifySessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/CodeCommitClient.swift b/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/CodeCommitClient.swift index 400220d4714..166585010cc 100644 --- a/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/CodeCommitClient.swift +++ b/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/CodeCommitClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -239,9 +238,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateApprovalRuleTemplateWithRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -319,9 +317,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchAssociateApprovalRuleTemplateWithRepositoriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -410,9 +407,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDescribeMergeConflictsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -490,9 +486,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDisassociateApprovalRuleTemplateFromRepositoriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -570,9 +565,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetCommitsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -648,9 +642,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetRepositoriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -725,9 +718,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApprovalRuleTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -809,9 +801,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBranchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -917,9 +908,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCommitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1012,9 +1002,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePullRequestInput.urlPathProvider(_:))) @@ -1098,9 +1087,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePullRequestApprovalRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1184,9 +1172,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1290,9 +1277,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUnreferencedMergeCommitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1363,9 +1349,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApprovalRuleTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1444,9 +1429,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBranchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1518,9 +1502,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCommentContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1610,9 +1593,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1692,9 +1674,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePullRequestApprovalRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1769,9 +1750,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1862,9 +1842,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMergeConflictsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1945,9 +1924,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePullRequestEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2026,9 +2004,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateApprovalRuleTemplateFromRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2107,9 +2084,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EvaluatePullRequestApprovalRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2180,9 +2156,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApprovalRuleTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2262,9 +2237,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBlobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2343,9 +2317,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBranchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2422,9 +2395,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCommentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2499,9 +2471,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCommentReactionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2582,9 +2553,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCommentsForComparedCommitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2669,9 +2639,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCommentsForPullRequestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2750,9 +2719,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCommitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2836,9 +2804,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDifferencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2920,9 +2887,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3003,9 +2969,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFolderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3086,9 +3051,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMergeCommitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3178,9 +3142,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMergeConflictsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3264,9 +3227,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMergeOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3342,9 +3304,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPullRequestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3422,9 +3383,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPullRequestApprovalStatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3502,9 +3462,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPullRequestOverrideStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3580,9 +3539,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3658,9 +3616,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRepositoryTriggersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3730,9 +3687,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApprovalRuleTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3810,9 +3766,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssociatedApprovalRuleTemplatesForRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3889,9 +3844,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBranchesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3973,9 +3927,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFileCommitHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4056,9 +4009,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPullRequestsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4129,9 +4081,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRepositoriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4209,9 +4160,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRepositoriesForApprovalRuleTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4283,9 +4233,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4372,9 +4321,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(MergeBranchesByFastForwardInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4481,9 +4429,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(MergeBranchesBySquashInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4590,9 +4537,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(MergeBranchesByThreeWayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4679,9 +4625,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(MergePullRequestByFastForwardInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4787,9 +4732,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(MergePullRequestBySquashInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4895,9 +4839,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(MergePullRequestByThreeWayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4980,9 +4923,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(OverridePullRequestApprovalRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5073,9 +5015,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PostCommentForComparedCommitInput.urlPathProvider(_:))) @@ -5171,9 +5112,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PostCommentForPullRequestInput.urlPathProvider(_:))) @@ -5250,9 +5190,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PostCommentReplyInput.urlPathProvider(_:))) @@ -5328,9 +5267,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutCommentReactionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5428,9 +5366,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutFileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5519,9 +5456,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRepositoryTriggersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5598,9 +5534,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5689,9 +5624,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestRepositoryTriggersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5768,9 +5702,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5844,9 +5777,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApprovalRuleTemplateContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5918,9 +5850,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApprovalRuleTemplateDescriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5992,9 +5923,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApprovalRuleTemplateNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6069,9 +5999,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCommentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6150,9 +6079,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDefaultBranchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6236,9 +6164,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePullRequestApprovalRuleContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6322,9 +6249,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePullRequestApprovalStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6397,9 +6323,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePullRequestDescriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6478,9 +6403,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePullRequestStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6554,9 +6478,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePullRequestTitleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6633,9 +6556,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRepositoryDescriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6714,9 +6636,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRepositoryEncryptionKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6788,9 +6709,8 @@ extension CodeCommitClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRepositoryNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/CodeConnectionsClient.swift b/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/CodeConnectionsClient.swift index d378b5d7ff2..214e7dc215c 100644 --- a/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/CodeConnectionsClient.swift +++ b/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/CodeConnectionsClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -299,9 +297,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateHostInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -376,9 +373,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRepositoryLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -453,9 +449,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSyncConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -524,9 +519,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -596,9 +590,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteHostInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -674,9 +667,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRepositoryLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -750,9 +742,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSyncConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -822,9 +813,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -894,9 +884,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetHostInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -970,9 +959,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRepositoryLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1045,9 +1033,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRepositorySyncStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1120,9 +1107,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourceSyncStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1195,9 +1181,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSyncBlockerSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1270,9 +1255,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSyncConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1341,9 +1325,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1407,9 +1390,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHostsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1483,9 +1465,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRepositoryLinksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1558,9 +1539,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRepositorySyncDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1633,9 +1613,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSyncConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1704,9 +1683,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1776,9 +1754,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1847,9 +1824,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1921,9 +1897,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateHostInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1998,9 +1973,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRepositoryLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2075,9 +2049,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSyncBlockerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2152,9 +2125,8 @@ extension CodeConnectionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSyncConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/CodeDeployClient.swift b/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/CodeDeployClient.swift index cd000d2441e..ab04e7e7fe3 100644 --- a/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/CodeDeployClient.swift +++ b/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/CodeDeployClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddTagsToOnPremisesInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -308,9 +306,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetApplicationRevisionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -382,9 +379,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -459,9 +455,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetDeploymentGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -537,9 +532,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetDeploymentInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -624,9 +618,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetDeploymentTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -697,9 +690,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetDeploymentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -770,9 +762,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetOnPremisesInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -848,9 +839,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ContinueDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -924,9 +914,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1038,9 +1027,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1116,9 +1104,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDeploymentConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1229,9 +1216,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDeploymentGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1302,9 +1288,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1376,9 +1361,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDeploymentConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1451,9 +1435,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDeploymentGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1526,9 +1509,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGitHubAccountTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1592,9 +1574,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcesByExternalIdInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1664,9 +1645,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterOnPremisesInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1737,9 +1717,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1813,9 +1792,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApplicationRevisionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1886,9 +1864,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1960,9 +1937,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeploymentConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2037,9 +2013,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeploymentGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2115,9 +2090,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeploymentInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2193,9 +2167,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeploymentTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2266,9 +2239,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOnPremisesInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2346,9 +2318,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationRevisionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2417,9 +2388,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2488,9 +2458,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeploymentConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2562,9 +2531,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeploymentGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2643,9 +2611,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeploymentInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2722,9 +2689,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeploymentTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2803,9 +2769,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeploymentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2876,9 +2841,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGitHubAccountTokenNamesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2949,9 +2913,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOnPremisesInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3022,9 +2985,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3099,9 +3061,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutLifecycleEventHookExecutionStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3175,9 +3136,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterApplicationRevisionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3255,9 +3215,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterOnPremisesInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3332,9 +3291,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTagsFromOnPremisesInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3409,9 +3367,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SkipWaitTimeForInstanceTerminationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3485,9 +3442,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3563,9 +3519,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3641,9 +3596,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3715,9 +3669,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3826,9 +3779,8 @@ extension CodeDeployClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDeploymentGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/CodeGuruProfilerClient.swift b/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/CodeGuruProfilerClient.swift index 97f0d50f014..76a6c0a62b2 100644 --- a/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/CodeGuruProfilerClient.swift +++ b/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/CodeGuruProfilerClient.swift @@ -32,7 +32,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -236,9 +235,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddNotificationChannelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -309,9 +307,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetFrameMetricDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -383,9 +380,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConfigureAgentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -457,9 +453,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProfilingGroupInput.urlPathProvider(_:))) @@ -533,9 +528,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProfilingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -603,9 +597,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProfilingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -672,9 +665,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFindingsReportAccountSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -743,9 +735,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetNotificationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -812,9 +803,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -898,9 +888,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -970,9 +959,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1041,9 +1029,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFindingsReportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1112,9 +1099,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProfileTimesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1181,9 +1167,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProfilingGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1251,9 +1236,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1321,9 +1305,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.profileToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PostAgentProfileInput.urlPathProvider(_:))) @@ -1398,9 +1381,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutPermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1471,9 +1453,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveNotificationChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1542,9 +1523,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemovePermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1613,9 +1593,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SubmitFeedbackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1685,9 +1664,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1757,9 +1735,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1829,9 +1806,8 @@ extension CodeGuruProfilerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProfilingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/CodeGuruReviewerClient.swift b/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/CodeGuruReviewerClient.swift index ec045270205..36752a2b859 100644 --- a/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/CodeGuruReviewerClient.swift +++ b/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/CodeGuruReviewerClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension CodeGuruReviewerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateRepositoryInput.urlPathProvider(_:))) @@ -307,9 +305,8 @@ extension CodeGuruReviewerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCodeReviewInput.urlPathProvider(_:))) @@ -382,9 +379,8 @@ extension CodeGuruReviewerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCodeReviewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -453,9 +449,8 @@ extension CodeGuruReviewerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRecommendationFeedbackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -525,9 +520,8 @@ extension CodeGuruReviewerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRepositoryAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -597,9 +591,8 @@ extension CodeGuruReviewerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -667,9 +660,8 @@ extension CodeGuruReviewerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCodeReviewsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -739,9 +731,8 @@ extension CodeGuruReviewerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecommendationFeedbackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -811,9 +802,8 @@ extension CodeGuruReviewerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -881,9 +871,8 @@ extension CodeGuruReviewerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRepositoryAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -951,9 +940,8 @@ extension CodeGuruReviewerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1022,9 +1010,8 @@ extension CodeGuruReviewerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRecommendationFeedbackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1094,9 +1081,8 @@ extension CodeGuruReviewerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1166,9 +1152,8 @@ extension CodeGuruReviewerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/CodeGuruSecurityClient.swift b/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/CodeGuruSecurityClient.swift index ea76e034516..1aad777dec6 100644 --- a/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/CodeGuruSecurityClient.swift +++ b/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/CodeGuruSecurityClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension CodeGuruSecurityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension CodeGuruSecurityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateScanInput.urlPathProvider(_:))) @@ -380,9 +377,8 @@ extension CodeGuruSecurityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUploadUrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -453,9 +449,8 @@ extension CodeGuruSecurityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -525,9 +520,8 @@ extension CodeGuruSecurityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -596,9 +590,8 @@ extension CodeGuruSecurityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMetricsSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -668,9 +661,8 @@ extension CodeGuruSecurityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetScanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -739,9 +731,8 @@ extension CodeGuruSecurityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFindingsMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -810,9 +801,8 @@ extension CodeGuruSecurityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListScansInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -883,9 +873,8 @@ extension CodeGuruSecurityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -955,9 +944,8 @@ extension CodeGuruSecurityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1030,9 +1018,8 @@ extension CodeGuruSecurityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1102,9 +1089,8 @@ extension CodeGuruSecurityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccountConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/CodePipelineClient.swift b/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/CodePipelineClient.swift index d95c67e9470..fadf842dbc1 100644 --- a/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/CodePipelineClient.swift +++ b/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/CodePipelineClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcknowledgeJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -304,9 +302,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcknowledgeThirdPartyJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -379,9 +376,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCustomActionTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -459,9 +455,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -531,9 +526,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCustomActionTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -603,9 +597,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -675,9 +668,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWebhookInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -747,9 +739,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterWebhookWithThirdPartyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -820,9 +811,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableStageTransitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -893,9 +883,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableStageTransitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -965,9 +954,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetActionTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1037,9 +1025,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJobDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1110,9 +1097,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1183,9 +1169,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPipelineExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1255,9 +1240,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPipelineStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1329,9 +1313,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetThirdPartyJobDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1403,9 +1386,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListActionExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1475,9 +1457,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListActionTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1548,9 +1529,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPipelineExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1620,9 +1600,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPipelinesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1694,9 +1673,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRuleExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1766,9 +1744,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRuleTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1840,9 +1817,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1912,9 +1888,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWebhooksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1989,9 +1964,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(OverrideStageConditionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2061,9 +2035,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PollForJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2133,9 +2106,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PollForThirdPartyJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2208,9 +2180,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutActionRevisionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2284,9 +2255,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutApprovalResultInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2357,9 +2327,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutJobFailureResultInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2431,9 +2400,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutJobSuccessResultInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2505,9 +2473,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutThirdPartyJobFailureResultInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2579,9 +2546,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutThirdPartyJobSuccessResultInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2657,9 +2623,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutWebhookInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2729,9 +2694,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterWebhookWithThirdPartyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2806,9 +2770,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RetryStageExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2883,9 +2846,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RollbackStageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2957,9 +2919,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartPipelineExecutionInput.urlPathProvider(_:))) @@ -3033,9 +2994,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopPipelineExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3109,9 +3069,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3184,9 +3143,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3257,9 +3215,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateActionTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3333,9 +3290,8 @@ extension CodePipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/CodeartifactClient.swift b/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/CodeartifactClient.swift index 87ea702d488..685175894c0 100644 --- a/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/CodeartifactClient.swift +++ b/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/CodeartifactClient.swift @@ -33,7 +33,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -237,9 +236,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateExternalConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -311,9 +309,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyPackageVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -388,9 +385,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -465,9 +461,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePackageGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -542,9 +537,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -617,9 +611,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -690,9 +683,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDomainPermissionsPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -763,9 +755,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -837,9 +828,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePackageGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -910,9 +900,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePackageVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -986,9 +975,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1059,9 +1047,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRepositoryPermissionsPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1131,9 +1118,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1203,9 +1189,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1275,9 +1260,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePackageGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1348,9 +1332,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePackageVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1420,9 +1403,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1494,9 +1476,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateExternalConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1567,9 +1548,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisposePackageVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1641,9 +1621,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssociatedPackageGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1713,9 +1692,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAuthorizationTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1785,9 +1763,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDomainPermissionsPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1858,9 +1835,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPackageVersionAssetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1930,9 +1906,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPackageVersionReadmeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2018,9 +1993,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRepositoryEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2090,9 +2064,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRepositoryPermissionsPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2163,9 +2136,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAllowedRepositoriesForGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2234,9 +2206,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssociatedPackagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2305,9 +2276,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDomainsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2379,9 +2349,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPackageGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2451,9 +2420,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPackageVersionAssetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2523,9 +2491,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPackageVersionDependenciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2595,9 +2562,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPackageVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2667,9 +2633,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPackagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2738,9 +2703,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRepositoriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2810,9 +2774,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRepositoriesInDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2882,9 +2845,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSubPackageGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2953,9 +2915,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3027,9 +2988,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PublishPackageVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3105,9 +3065,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDomainPermissionsPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3179,9 +3138,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutPackageOriginConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3256,9 +3214,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRepositoryPermissionsPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3331,9 +3288,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3405,9 +3361,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3481,9 +3436,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePackageGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3557,9 +3511,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePackageGroupOriginConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3633,9 +3586,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePackageVersionsStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3710,9 +3662,8 @@ extension CodeartifactClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/CognitoIdentityClient.swift b/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/CognitoIdentityClient.swift index c86e9c9ebe4..da7e22ca44e 100644 --- a/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/CognitoIdentityClient.swift +++ b/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/CognitoIdentityClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -245,9 +244,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIdentityPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -318,9 +316,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIdentitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -393,9 +390,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIdentityPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -468,9 +464,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -543,9 +538,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIdentityPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -619,9 +613,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCredentialsForIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -695,9 +688,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIdInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -771,9 +763,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIdentityPoolRolesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -846,9 +837,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOpenIdTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -923,9 +913,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOpenIdTokenForDeveloperIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -998,9 +987,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPrincipalTagAttributeMapInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1073,9 +1061,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIdentitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1148,9 +1135,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIdentityPoolsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1223,9 +1209,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1299,9 +1284,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(LookupDeveloperIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1375,9 +1359,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(MergeDeveloperIdentitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1452,9 +1435,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetIdentityPoolRolesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1527,9 +1509,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetPrincipalTagAttributeMapInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1602,9 +1583,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1678,9 +1658,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UnlinkDeveloperIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1753,9 +1732,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UnlinkIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1828,9 +1806,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1906,9 +1883,8 @@ extension CognitoIdentityClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIdentityPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/CognitoIdentityProviderClient.swift b/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/CognitoIdentityProviderClient.swift index 5416270d395..7fce1ca6b7c 100644 --- a/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/CognitoIdentityProviderClient.swift +++ b/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/CognitoIdentityProviderClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -236,9 +235,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddCustomAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -316,9 +314,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminAddUserToGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -401,9 +398,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminConfirmSignUpInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -491,9 +487,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminCreateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -571,9 +566,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminDeleteUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -651,9 +645,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminDeleteUserAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -732,9 +725,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminDisableProviderForUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -812,9 +804,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminDisableUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -892,9 +883,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminEnableUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -973,9 +963,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminForgetDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1053,9 +1042,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminGetDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1133,9 +1121,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminGetUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1222,9 +1209,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminInitiateAuthInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1304,9 +1290,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminLinkProviderForUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1384,9 +1369,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminListDevicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1464,9 +1448,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminListGroupsForUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1545,9 +1528,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminListUserAuthEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1625,9 +1607,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminRemoveUserFromGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1712,9 +1693,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminResetUserPasswordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1807,9 +1787,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminRespondToAuthChallengeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1888,9 +1867,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminSetUserMFAPreferenceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1970,9 +1948,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminSetUserPasswordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2049,9 +2026,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminSetUserSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2130,9 +2106,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminUpdateAuthEventFeedbackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2211,9 +2186,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminUpdateDeviceStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2298,9 +2272,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminUpdateUserAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2387,9 +2360,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdminUserGlobalSignOutInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2462,9 +2434,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateSoftwareTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2542,9 +2513,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ChangePasswordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2623,9 +2593,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConfirmDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2708,9 +2677,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConfirmForgotPasswordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2791,9 +2759,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConfirmSignUpInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2872,9 +2839,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2953,9 +2919,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIdentityProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3033,9 +2998,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateResourceServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3114,9 +3078,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3197,9 +3160,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3279,9 +3241,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserPoolClientInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3358,9 +3319,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserPoolDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3433,9 +3393,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3510,9 +3469,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIdentityProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3585,9 +3543,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourceServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3662,9 +3619,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3739,9 +3695,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3815,9 +3770,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3891,9 +3845,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserPoolClientInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3965,9 +3918,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserPoolDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4040,9 +3992,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIdentityProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4115,9 +4066,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeResourceServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4191,9 +4141,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRiskConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4266,9 +4215,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUserImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4346,9 +4294,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUserPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4425,9 +4372,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUserPoolClientInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4499,9 +4445,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUserPoolDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4577,9 +4522,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ForgetDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4660,9 +4604,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ForgotPasswordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4735,9 +4678,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCSVHeaderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4813,9 +4755,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4888,9 +4829,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4963,9 +4903,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIdentityProviderByIdentifierInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5038,9 +4977,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLogDeliveryConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5111,9 +5049,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSigningCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5186,9 +5123,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUICustomizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5263,9 +5199,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5348,9 +5283,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUserAttributeVerificationCodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5423,9 +5357,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUserPoolMfaConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5508,9 +5441,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GlobalSignOutInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5591,9 +5523,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InitiateAuthInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5669,9 +5600,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDevicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5748,9 +5678,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5827,9 +5756,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIdentityProvidersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5906,9 +5834,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceServersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5981,9 +5908,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6060,9 +5986,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUserImportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6139,9 +6064,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUserPoolClientsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6217,9 +6141,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUserPoolsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6296,9 +6219,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6375,9 +6297,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUsersInGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6458,9 +6379,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResendConfirmationCodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6548,9 +6468,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RespondToAuthChallengeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6623,9 +6542,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RevokeTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6698,9 +6616,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetLogDeliveryConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6776,9 +6693,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetRiskConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6851,9 +6767,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetUICustomizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6927,9 +6842,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetUserMFAPreferenceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7005,9 +6919,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetUserPoolMfaConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7081,9 +6994,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetUserSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7165,9 +7077,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SignUpInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7241,9 +7152,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartUserImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7317,9 +7227,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopUserImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7392,9 +7301,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7467,9 +7375,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7542,9 +7449,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAuthEventFeedbackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7620,9 +7526,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDeviceStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7699,9 +7604,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7780,9 +7684,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIdentityProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7859,9 +7762,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResourceServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7946,9 +7848,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8031,9 +7932,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8113,9 +8013,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserPoolClientInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8192,9 +8091,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserPoolDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8273,9 +8171,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(VerifySoftwareTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8354,9 +8251,8 @@ extension CognitoIdentityProviderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(VerifyUserAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/CognitoSyncClient.swift b/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/CognitoSyncClient.swift index 36445509809..31dd10b280e 100644 --- a/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/CognitoSyncClient.swift +++ b/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/CognitoSyncClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension CognitoSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BulkPublishInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension CognitoSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -376,9 +373,8 @@ extension CognitoSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -447,9 +443,8 @@ extension CognitoSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIdentityPoolUsageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -518,9 +513,8 @@ extension CognitoSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIdentityUsageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -588,9 +582,8 @@ extension CognitoSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBulkPublishDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -659,9 +652,8 @@ extension CognitoSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCognitoEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -730,9 +722,8 @@ extension CognitoSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIdentityPoolConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -800,9 +791,8 @@ extension CognitoSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatasetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -871,9 +861,8 @@ extension CognitoSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIdentityPoolUsageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -942,9 +931,8 @@ extension CognitoSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecordsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1015,9 +1003,8 @@ extension CognitoSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1089,9 +1076,8 @@ extension CognitoSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetCognitoEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1164,9 +1150,8 @@ extension CognitoSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetIdentityPoolConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1239,9 +1224,8 @@ extension CognitoSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SubscribeToDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1311,9 +1295,8 @@ extension CognitoSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UnsubscribeFromDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1386,9 +1369,8 @@ extension CognitoSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRecordsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSComprehend/Sources/AWSComprehend/ComprehendClient.swift b/Sources/Services/AWSComprehend/Sources/AWSComprehend/ComprehendClient.swift index 492d576aef1..12c97235071 100644 --- a/Sources/Services/AWSComprehend/Sources/AWSComprehend/ComprehendClient.swift +++ b/Sources/Services/AWSComprehend/Sources/AWSComprehend/ComprehendClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDetectDominantLanguageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDetectEntitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -381,9 +378,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDetectKeyPhrasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -456,9 +452,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDetectSentimentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -531,9 +526,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDetectSyntaxInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -606,9 +600,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDetectTargetedSentimentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -687,9 +680,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ClassifyDocumentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -761,9 +753,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ContainsPiiEntitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -838,9 +829,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDatasetInput.urlPathProvider(_:))) @@ -917,9 +907,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDocumentClassifierInput.urlPathProvider(_:))) @@ -996,9 +985,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEndpointInput.urlPathProvider(_:))) @@ -1075,9 +1063,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEntityRecognizerInput.urlPathProvider(_:))) @@ -1156,9 +1143,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFlywheelInput.urlPathProvider(_:))) @@ -1233,9 +1219,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDocumentClassifierInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1308,9 +1293,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1384,9 +1368,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEntityRecognizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1460,9 +1443,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFlywheelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1533,9 +1515,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1607,9 +1588,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1681,9 +1661,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDocumentClassificationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1755,9 +1734,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDocumentClassifierInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1829,9 +1807,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDominantLanguageDetectionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1903,9 +1880,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1977,9 +1953,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEntitiesDetectionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2051,9 +2026,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEntityRecognizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2125,9 +2099,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventsDetectionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2199,9 +2172,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFlywheelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2273,9 +2245,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFlywheelIterationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2347,9 +2318,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeKeyPhrasesDetectionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2421,9 +2391,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePiiEntitiesDetectionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2494,9 +2463,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2568,9 +2536,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSentimentDetectionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2642,9 +2609,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTargetedSentimentDetectionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2716,9 +2682,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTopicsDetectionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2789,9 +2754,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectDominantLanguageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2864,9 +2828,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectEntitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2938,9 +2901,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectKeyPhrasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3012,9 +2974,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectPiiEntitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3086,9 +3047,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectSentimentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3160,9 +3120,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectSyntaxInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3234,9 +3193,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectTargetedSentimentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3308,9 +3266,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectToxicContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3387,9 +3344,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3462,9 +3418,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatasetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3536,9 +3491,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDocumentClassificationJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3609,9 +3563,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDocumentClassifierSummariesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3683,9 +3636,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDocumentClassifiersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3757,9 +3709,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDominantLanguageDetectionJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3830,9 +3781,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3904,9 +3854,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEntitiesDetectionJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3977,9 +3926,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEntityRecognizerSummariesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4051,9 +3999,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEntityRecognizersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4125,9 +4072,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEventsDetectionJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4200,9 +4146,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFlywheelIterationHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4274,9 +4219,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFlywheelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4348,9 +4292,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKeyPhrasesDetectionJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4422,9 +4365,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPiiEntitiesDetectionJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4496,9 +4438,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSentimentDetectionJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4569,9 +4510,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4643,9 +4583,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTargetedSentimentDetectionJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4717,9 +4656,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTopicsDetectionJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4790,9 +4728,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4868,9 +4805,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDocumentClassificationJobInput.urlPathProvider(_:))) @@ -4945,9 +4881,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDominantLanguageDetectionJobInput.urlPathProvider(_:))) @@ -5024,9 +4959,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartEntitiesDetectionJobInput.urlPathProvider(_:))) @@ -5101,9 +5035,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartEventsDetectionJobInput.urlPathProvider(_:))) @@ -5177,9 +5110,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartFlywheelIterationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5253,9 +5185,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartKeyPhrasesDetectionJobInput.urlPathProvider(_:))) @@ -5330,9 +5261,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartPiiEntitiesDetectionJobInput.urlPathProvider(_:))) @@ -5407,9 +5337,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSentimentDetectionJobInput.urlPathProvider(_:))) @@ -5484,9 +5413,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartTargetedSentimentDetectionJobInput.urlPathProvider(_:))) @@ -5561,9 +5489,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartTopicsDetectionJobInput.urlPathProvider(_:))) @@ -5635,9 +5562,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopDominantLanguageDetectionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5708,9 +5634,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopEntitiesDetectionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5781,9 +5706,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopEventsDetectionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5854,9 +5778,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopKeyPhrasesDetectionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5927,9 +5850,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopPiiEntitiesDetectionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6000,9 +5922,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopSentimentDetectionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6073,9 +5994,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopTargetedSentimentDetectionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6147,9 +6067,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopTrainingDocumentClassifierInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6221,9 +6140,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopTrainingEntityRecognizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6296,9 +6214,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6371,9 +6288,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6448,9 +6364,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6523,9 +6438,8 @@ extension ComprehendClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFlywheelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/ComprehendMedicalClient.swift b/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/ComprehendMedicalClient.swift index 1bff9b66129..eadfb383069 100644 --- a/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/ComprehendMedicalClient.swift +++ b/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/ComprehendMedicalClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEntitiesDetectionV2JobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -304,9 +302,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeICD10CMInferenceJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -378,9 +375,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePHIDetectionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -452,9 +448,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRxNormInferenceJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -526,9 +521,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSNOMEDCTInferenceJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -603,9 +597,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectEntitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -679,9 +672,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectEntitiesV2Input.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -755,9 +747,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectPHIInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -831,9 +822,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InferICD10CMInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -907,9 +897,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InferRxNormInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -983,9 +972,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InferSNOMEDCTInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1057,9 +1045,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEntitiesDetectionV2JobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1131,9 +1118,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListICD10CMInferenceJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1205,9 +1191,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPHIDetectionJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1279,9 +1264,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRxNormInferenceJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1353,9 +1337,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSNOMEDCTInferenceJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1427,9 +1410,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartEntitiesDetectionV2JobInput.urlPathProvider(_:))) @@ -1502,9 +1484,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartICD10CMInferenceJobInput.urlPathProvider(_:))) @@ -1577,9 +1558,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartPHIDetectionJobInput.urlPathProvider(_:))) @@ -1652,9 +1632,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartRxNormInferenceJobInput.urlPathProvider(_:))) @@ -1727,9 +1706,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSNOMEDCTInferenceJobInput.urlPathProvider(_:))) @@ -1801,9 +1779,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopEntitiesDetectionV2JobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1874,9 +1851,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopICD10CMInferenceJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1947,9 +1923,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopPHIDetectionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2020,9 +1995,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopRxNormInferenceJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2094,9 +2068,8 @@ extension ComprehendMedicalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopSNOMEDCTInferenceJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/ComputeOptimizerClient.swift b/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/ComputeOptimizerClient.swift index c50fb4c0cb1..1c4674d836d 100644 --- a/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/ComputeOptimizerClient.swift +++ b/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/ComputeOptimizerClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRecommendationPreferencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -312,9 +310,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRecommendationExportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -390,9 +387,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportAutoScalingGroupRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -468,9 +464,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportEBSVolumeRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -546,9 +541,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportEC2InstanceRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -624,9 +618,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportECSServiceRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -702,9 +695,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportLambdaFunctionRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -780,9 +772,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportLicenseRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -858,9 +849,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportRDSDatabaseRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -936,9 +926,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAutoScalingGroupRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1014,9 +1003,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEBSVolumeRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1092,9 +1080,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEC2InstanceRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1170,9 +1157,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEC2RecommendationProjectedMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1248,9 +1234,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetECSServiceRecommendationProjectedMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1326,9 +1311,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetECSServiceRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1404,9 +1388,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEffectiveRecommendationPreferencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1480,9 +1463,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEnrollmentStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1556,9 +1538,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEnrollmentStatusesForOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1634,9 +1615,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLambdaFunctionRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1712,9 +1692,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLicenseRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1790,9 +1769,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRDSDatabaseRecommendationProjectedMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1868,9 +1846,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRDSDatabaseRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1946,9 +1923,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRecommendationPreferencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2033,9 +2009,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRecommendationSummariesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2111,9 +2086,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRecommendationPreferencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2187,9 +2161,8 @@ extension ComputeOptimizerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEnrollmentStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSConfigService/Sources/AWSConfigService/ConfigClient.swift b/Sources/Services/AWSConfigService/Sources/AWSConfigService/ConfigClient.swift index b9d0c1b907d..802852e3638 100644 --- a/Sources/Services/AWSConfigService/Sources/AWSConfigService/ConfigClient.swift +++ b/Sources/Services/AWSConfigService/Sources/AWSConfigService/ConfigClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetAggregateResourceConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -308,9 +306,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetResourceConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -379,9 +376,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAggregationAuthorizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -465,9 +461,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfigRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -536,9 +531,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfigurationAggregatorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -607,9 +601,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfigurationRecorderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -693,9 +686,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConformancePackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -765,9 +757,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDeliveryChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -851,9 +842,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEvaluationResultsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -949,9 +939,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOrganizationConfigRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1047,9 +1036,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOrganizationConformancePackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1118,9 +1106,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePendingAggregationRequestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1204,9 +1191,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRemediationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1275,9 +1261,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRemediationExceptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1347,9 +1332,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourceConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1419,9 +1403,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRetentionConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1491,9 +1474,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStoredQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1570,9 +1552,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeliverConfigSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1644,9 +1625,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAggregateComplianceByConfigRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1718,9 +1698,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAggregateComplianceByConformancePacksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1791,9 +1770,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAggregationAuthorizationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1870,9 +1848,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeComplianceByConfigRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1948,9 +1925,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeComplianceByResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2021,9 +1997,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConfigRuleEvaluationStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2094,9 +2069,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConfigRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2168,9 +2142,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConfigurationAggregatorSourcesStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2242,9 +2215,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConfigurationAggregatorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2313,9 +2285,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConfigurationRecorderStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2384,9 +2355,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConfigurationRecordersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2459,9 +2429,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConformancePackComplianceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2532,9 +2501,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConformancePackStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2606,9 +2574,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConformancePacksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2677,9 +2644,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDeliveryChannelStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2748,9 +2714,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDeliveryChannelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2833,9 +2798,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOrganizationConfigRuleStatusesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2918,9 +2882,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOrganizationConfigRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3003,9 +2966,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOrganizationConformancePackStatusesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3088,9 +3050,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOrganizationConformancePacksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3161,9 +3122,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePendingAggregationRequestsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3227,9 +3187,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRemediationConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3299,9 +3258,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRemediationExceptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3372,9 +3330,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRemediationExecutionStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3445,9 +3402,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRetentionConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3519,9 +3475,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAggregateComplianceDetailsByConfigRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3593,9 +3548,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAggregateConfigRuleComplianceSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3667,9 +3621,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAggregateConformancePackComplianceSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3741,9 +3694,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAggregateDiscoveredResourceCountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3815,9 +3767,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAggregateResourceConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3888,9 +3839,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetComplianceDetailsByConfigRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3959,9 +3909,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetComplianceDetailsByResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4025,9 +3974,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetComplianceSummaryByConfigRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4096,9 +4044,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetComplianceSummaryByResourceTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4171,9 +4118,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConformancePackComplianceDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4244,9 +4190,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConformancePackComplianceSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4315,9 +4260,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCustomRulePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4413,9 +4357,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDiscoveredResourceCountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4498,9 +4441,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOrganizationConfigRuleDetailedStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4583,9 +4525,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOrganizationConformancePackDetailedStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4666,9 +4607,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOrganizationCustomRulePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4742,9 +4682,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourceConfigHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4813,9 +4752,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourceEvaluationSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4885,9 +4823,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStoredQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4959,9 +4896,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAggregateDiscoveredResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5032,9 +4968,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConformancePackComplianceScoresInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5106,9 +5041,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDiscoveredResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5179,9 +5113,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceEvaluationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5251,9 +5184,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStoredQueriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5325,9 +5257,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5396,9 +5327,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAggregationAuthorizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5497,9 +5427,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutConfigRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5584,9 +5513,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutConfigurationAggregatorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5674,9 +5602,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutConfigurationRecorderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5775,9 +5702,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutConformancePackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5853,9 +5779,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDeliveryChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5926,9 +5851,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutEvaluationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5998,9 +5922,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutExternalEvaluationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6113,9 +6036,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutOrganizationConfigRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6228,9 +6150,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutOrganizationConformancePackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6312,9 +6233,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRemediationConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6396,9 +6316,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRemediationExceptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6482,9 +6401,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourceConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6554,9 +6472,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRetentionConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6627,9 +6544,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutStoredQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6701,9 +6617,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SelectAggregateResourceConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6774,9 +6689,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SelectResourceConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6872,9 +6786,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartConfigRulesEvaluationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6944,9 +6857,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartConfigurationRecorderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7029,9 +6941,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartRemediationExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7101,9 +7012,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartResourceEvaluationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7172,9 +7082,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopConfigurationRecorderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7245,9 +7154,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7317,9 +7225,8 @@ extension ConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift b/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift index 468f8bc3904..77f7d96739f 100644 --- a/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift +++ b/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ActivateEvaluationFormInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateAnalyticsDataSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -382,9 +379,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateApprovedOriginInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -458,9 +454,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateBotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -532,9 +527,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateDefaultVocabularyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -607,9 +601,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -682,9 +675,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateInstanceStorageConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -758,9 +750,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateLambdaFunctionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -834,9 +825,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateLexBotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -908,9 +898,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociatePhoneNumberContactFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -983,9 +972,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateQueueQuickConnectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1057,9 +1045,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateRoutingProfileQueuesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1133,9 +1120,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateSecurityKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1208,9 +1194,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateTrafficDistributionGroupUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1282,9 +1267,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateUserProficienciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1356,9 +1340,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchAssociateAnalyticsDataSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1430,9 +1413,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDisassociateAnalyticsDataSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1504,9 +1486,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetAttachedFileMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1580,9 +1561,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetFlowAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1655,9 +1635,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchPutContactInput.urlPathProvider(_:))) @@ -1731,9 +1710,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ClaimPhoneNumberInput.urlPathProvider(_:))) @@ -1806,9 +1784,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CompleteAttachedFileUploadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1880,9 +1857,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAgentStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1957,9 +1933,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateContactFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2036,9 +2011,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateContactFlowModuleInput.urlPathProvider(_:))) @@ -2112,9 +2086,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEvaluationFormInput.urlPathProvider(_:))) @@ -2189,9 +2162,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateHoursOfOperationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2263,9 +2235,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2337,9 +2308,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIntegrationAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2411,9 +2381,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateParticipantInput.urlPathProvider(_:))) @@ -2487,9 +2456,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePersistentContactAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2563,9 +2531,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePredefinedAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2638,9 +2605,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePromptInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2720,9 +2686,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2796,9 +2761,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateQuickConnectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2872,9 +2836,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRoutingProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2948,9 +2911,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRuleInput.urlPathProvider(_:))) @@ -3025,9 +2987,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSecurityProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3100,9 +3061,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTaskTemplateInput.urlPathProvider(_:))) @@ -3178,9 +3138,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTrafficDistributionGroupInput.urlPathProvider(_:))) @@ -3253,9 +3212,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUseCaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3329,9 +3287,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3405,9 +3362,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserHierarchyGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3483,9 +3439,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateViewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3560,9 +3515,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateViewVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3636,9 +3590,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVocabularyInput.urlPathProvider(_:))) @@ -3711,9 +3664,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeactivateEvaluationFormInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3785,9 +3737,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAttachedFileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3857,9 +3808,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteContactEvaluationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3929,9 +3879,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteContactFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4001,9 +3950,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteContactFlowModuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4076,9 +4024,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEvaluationFormInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4148,9 +4095,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteHoursOfOperationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4217,9 +4163,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4287,9 +4232,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIntegrationAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4359,9 +4303,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePredefinedAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4430,9 +4373,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePromptInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4502,9 +4444,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4579,9 +4520,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteQuickConnectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4651,9 +4591,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRoutingProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4722,9 +4661,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4795,9 +4733,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSecurityProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4866,9 +4803,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTaskTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4937,9 +4873,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTrafficDistributionGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5007,9 +4942,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUseCaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5084,9 +5018,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5156,9 +5089,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserHierarchyGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5229,9 +5161,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteViewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5302,9 +5233,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteViewVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5374,9 +5304,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVocabularyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5445,9 +5374,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAgentStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5516,9 +5444,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAuthenticationProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5587,9 +5514,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5657,9 +5583,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeContactEvaluationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5729,9 +5654,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeContactFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5801,9 +5725,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeContactFlowModuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5871,9 +5794,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEvaluationFormInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5943,9 +5865,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeHoursOfOperationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6012,9 +5933,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6083,9 +6003,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstanceAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6154,9 +6073,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstanceStorageConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6226,9 +6144,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePhoneNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6297,9 +6214,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePredefinedAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6368,9 +6284,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePromptInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6439,9 +6354,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6510,9 +6424,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeQuickConnectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6581,9 +6494,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRoutingProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6652,9 +6564,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6723,9 +6634,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSecurityProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6794,9 +6704,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTrafficDistributionGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6865,9 +6774,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6936,9 +6844,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUserHierarchyGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7007,9 +6914,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUserHierarchyStructureInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7079,9 +6985,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeViewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7150,9 +7055,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVocabularyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7221,9 +7125,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateAnalyticsDataSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7295,9 +7198,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateApprovedOriginInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7366,9 +7268,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateBotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7441,9 +7342,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7512,9 +7412,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateInstanceStorageConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7584,9 +7483,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateLambdaFunctionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7656,9 +7554,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateLexBotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7728,9 +7625,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociatePhoneNumberContactFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7800,9 +7696,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateQueueQuickConnectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7874,9 +7769,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateRoutingProfileQueuesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7948,9 +7842,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateSecurityKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8020,9 +7913,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateTrafficDistributionGroupUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8092,9 +7984,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateUserProficienciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8167,9 +8058,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DismissUserContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8241,9 +8131,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAttachedFileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8311,9 +8200,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContactAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8382,9 +8270,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCurrentMetricDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8456,9 +8343,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCurrentUserDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8531,9 +8417,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFederationTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8603,9 +8488,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFlowAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8674,9 +8558,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMetricDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8748,9 +8631,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMetricDataV2Input.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8822,9 +8704,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPromptFileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8893,9 +8774,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTaskTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8965,9 +8845,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTrafficDistributionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9037,9 +8916,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportPhoneNumberInput.urlPathProvider(_:))) @@ -9112,9 +8990,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAgentStatusesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9184,9 +9061,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAnalyticsDataAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9256,9 +9132,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApprovedOriginsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9328,9 +9203,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAuthenticationProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9399,9 +9273,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9470,9 +9343,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListContactEvaluationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9543,9 +9415,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListContactFlowModulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9615,9 +9486,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListContactFlowsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9687,9 +9557,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListContactReferencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9758,9 +9627,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDefaultVocabulariesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9831,9 +9699,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEvaluationFormVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9902,9 +9769,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEvaluationFormsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9975,9 +9841,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFlowAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10047,9 +9912,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHoursOfOperationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10119,9 +9983,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInstanceAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10191,9 +10054,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInstanceStorageConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10260,9 +10122,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10331,9 +10192,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIntegrationAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10403,9 +10263,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLambdaFunctionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10475,9 +10334,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLexBotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10551,9 +10409,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPhoneNumbersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10627,9 +10484,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPhoneNumbersV2Input.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10701,9 +10557,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPredefinedAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10773,9 +10628,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPromptsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10845,9 +10699,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQueueQuickConnectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10917,9 +10770,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQueuesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10989,9 +10841,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQuickConnectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11062,9 +10913,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRealtimeContactAnalysisSegmentsV2Input.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11136,9 +10986,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRoutingProfileQueuesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11208,9 +11057,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRoutingProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11280,9 +11128,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11352,9 +11199,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSecurityKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11424,9 +11270,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSecurityProfileApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11496,9 +11341,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSecurityProfilePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11568,9 +11412,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSecurityProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11640,9 +11483,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11711,9 +11553,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTaskTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11783,9 +11624,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTrafficDistributionGroupUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11854,9 +11694,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTrafficDistributionGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11925,9 +11764,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUseCasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11997,9 +11835,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUserHierarchyGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12069,9 +11906,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUserProficienciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12141,9 +11977,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12214,9 +12049,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListViewVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12287,9 +12121,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListViewsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12361,9 +12194,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(MonitorContactInput.urlPathProvider(_:))) @@ -12439,9 +12271,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PauseContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12514,9 +12345,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutUserStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12590,9 +12420,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReleasePhoneNumberInput.urlPathProvider(_:))) @@ -12666,9 +12495,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReplicateInstanceInput.urlPathProvider(_:))) @@ -12743,9 +12571,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResumeContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12815,9 +12642,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResumeContactRecordingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12889,9 +12715,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchAgentStatusesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12962,9 +12787,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchAvailablePhoneNumbersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13036,9 +12860,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchContactFlowModulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13110,9 +12933,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchContactFlowsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13184,9 +13006,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchContactsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13258,9 +13079,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchHoursOfOperationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13332,9 +13152,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchPredefinedAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13406,9 +13225,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchPromptsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13480,9 +13298,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchQueuesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13554,9 +13371,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchQuickConnectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13629,9 +13445,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchResourceTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13703,9 +13518,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchRoutingProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13777,9 +13591,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchSecurityProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13851,9 +13664,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchUserHierarchyGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13925,9 +13737,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13998,9 +13809,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchVocabulariesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14079,9 +13889,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendChatIntegrationEventInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14154,9 +13963,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartAttachedFileUploadInput.urlPathProvider(_:))) @@ -14241,9 +14049,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartChatContactInput.urlPathProvider(_:))) @@ -14317,9 +14124,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartContactEvaluationInput.urlPathProvider(_:))) @@ -14398,9 +14204,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartContactRecordingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14476,9 +14281,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartContactStreamingInput.urlPathProvider(_:))) @@ -14553,9 +14357,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartOutboundVoiceContactInput.urlPathProvider(_:))) @@ -14652,9 +14455,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartTaskContactInput.urlPathProvider(_:))) @@ -14727,9 +14529,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartWebRTCContactInput.urlPathProvider(_:))) @@ -14815,9 +14616,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14887,9 +14687,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopContactRecordingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14960,9 +14759,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopContactStreamingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15034,9 +14832,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SubmitContactEvaluationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15106,9 +14903,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SuspendContactRecordingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15180,9 +14976,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15254,9 +15049,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15340,9 +15134,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(TransferContactInput.urlPathProvider(_:))) @@ -15415,9 +15208,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15487,9 +15279,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15561,9 +15352,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAgentStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15635,9 +15425,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAuthenticationProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15709,9 +15498,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15782,9 +15570,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContactAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15856,9 +15643,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContactEvaluationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15931,9 +15717,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContactFlowContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16006,9 +15791,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContactFlowMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16081,9 +15865,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContactFlowModuleContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16157,9 +15940,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContactFlowModuleMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16232,9 +16014,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContactFlowNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16307,9 +16088,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContactRoutingDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16382,9 +16162,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContactScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16457,9 +16236,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEvaluationFormInput.urlPathProvider(_:))) @@ -16533,9 +16311,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateHoursOfOperationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16607,9 +16384,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateInstanceAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16681,9 +16457,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateInstanceStorageConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16768,9 +16543,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateParticipantRoleConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16844,9 +16618,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePhoneNumberInput.urlPathProvider(_:))) @@ -16922,9 +16695,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePhoneNumberMetadataInput.urlPathProvider(_:))) @@ -16997,9 +16769,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePredefinedAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17071,9 +16842,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePromptInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17145,9 +16915,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateQueueHoursOfOperationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17219,9 +16988,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateQueueMaxContactsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17294,9 +17062,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateQueueNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17374,9 +17141,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateQueueOutboundCallerConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17448,9 +17214,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateQueueStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17522,9 +17287,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateQuickConnectConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17596,9 +17360,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateQuickConnectNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17670,9 +17433,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRoutingProfileAgentAvailabilityTimerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17744,9 +17506,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRoutingProfileConcurrencyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17818,9 +17579,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRoutingProfileDefaultOutboundQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17893,9 +17653,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRoutingProfileNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17967,9 +17726,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRoutingProfileQueuesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18042,9 +17800,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18116,9 +17873,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSecurityProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18191,9 +17947,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTaskTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18266,9 +18021,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTrafficDistributionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18340,9 +18094,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserHierarchyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18415,9 +18168,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserHierarchyGroupNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18490,9 +18242,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserHierarchyStructureInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18564,9 +18315,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserIdentityInfoInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18638,9 +18388,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserPhoneConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18712,9 +18461,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserProficienciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18786,9 +18534,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserRoutingProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18860,9 +18607,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserSecurityProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18936,9 +18682,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateViewContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19013,9 +18758,8 @@ extension ConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateViewMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/ConnectCampaignsClient.swift b/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/ConnectCampaignsClient.swift index e5b11935c62..f334cda0dee 100644 --- a/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/ConnectCampaignsClient.swift +++ b/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/ConnectCampaignsClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension ConnectCampaignsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCampaignInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension ConnectCampaignsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCampaignInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -377,9 +374,8 @@ extension ConnectCampaignsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConnectInstanceConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -448,9 +444,8 @@ extension ConnectCampaignsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInstanceOnboardingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -518,9 +513,8 @@ extension ConnectCampaignsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCampaignInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -589,9 +583,8 @@ extension ConnectCampaignsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCampaignStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -659,9 +652,8 @@ extension ConnectCampaignsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCampaignStateBatchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -732,9 +724,8 @@ extension ConnectCampaignsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConnectInstanceConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -802,9 +793,8 @@ extension ConnectCampaignsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInstanceOnboardingJobStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -871,9 +861,8 @@ extension ConnectCampaignsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCampaignsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -945,9 +934,8 @@ extension ConnectCampaignsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1018,9 +1006,8 @@ extension ConnectCampaignsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PauseCampaignInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1091,9 +1078,8 @@ extension ConnectCampaignsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDialRequestBatchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1167,9 +1153,8 @@ extension ConnectCampaignsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResumeCampaignInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1240,9 +1225,8 @@ extension ConnectCampaignsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartCampaignInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1312,9 +1296,8 @@ extension ConnectCampaignsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartInstanceOnboardingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1388,9 +1371,8 @@ extension ConnectCampaignsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopCampaignInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1459,9 +1441,8 @@ extension ConnectCampaignsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1533,9 +1514,8 @@ extension ConnectCampaignsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1605,9 +1585,8 @@ extension ConnectCampaignsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCampaignDialerConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1679,9 +1658,8 @@ extension ConnectCampaignsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCampaignNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1754,9 +1732,8 @@ extension ConnectCampaignsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCampaignOutboundCallConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/ConnectCasesClient.swift b/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/ConnectCasesClient.swift index baf88c2a432..c6d677d8746 100644 --- a/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/ConnectCasesClient.swift +++ b/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/ConnectCasesClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetFieldInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchPutFieldOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -386,9 +383,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCaseInput.urlPathProvider(_:))) @@ -462,9 +458,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -538,9 +533,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFieldInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -621,9 +615,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLayoutInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -700,9 +693,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRelatedItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -776,9 +768,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -851,9 +842,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -948,9 +938,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFieldInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1026,9 +1015,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLayoutInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1106,9 +1094,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1177,9 +1164,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1251,9 +1237,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCaseAuditEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1325,9 +1310,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCaseEventConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1396,9 +1380,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1467,9 +1450,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLayoutInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1538,9 +1520,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1609,9 +1590,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCasesForContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1682,9 +1662,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDomainsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1754,9 +1733,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFieldOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1826,9 +1804,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFieldsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1898,9 +1875,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLayoutsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1970,9 +1946,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2041,9 +2016,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2113,9 +2087,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutCaseEventConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2187,9 +2160,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchCasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2261,9 +2233,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchRelatedItemsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2335,9 +2306,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2409,9 +2379,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2481,9 +2450,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2556,9 +2524,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFieldInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2632,9 +2599,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLayoutInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2707,9 +2673,8 @@ extension ConnectCasesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/ConnectContactLensClient.swift b/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/ConnectContactLensClient.swift index af45a05c715..fdae5ff7189 100644 --- a/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/ConnectContactLensClient.swift +++ b/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/ConnectContactLensClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension ConnectContactLensClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRealtimeContactAnalysisSegmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/ConnectParticipantClient.swift b/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/ConnectParticipantClient.swift index cfc1b29c9df..46d1ee20df1 100644 --- a/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/ConnectParticipantClient.swift +++ b/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/ConnectParticipantClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension ConnectParticipantClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CompleteAttachmentUploadInput.urlPathProvider(_:))) @@ -307,9 +305,8 @@ extension ConnectParticipantClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateParticipantConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -382,9 +379,8 @@ extension ConnectParticipantClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeViewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -453,9 +449,8 @@ extension ConnectParticipantClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisconnectParticipantInput.urlPathProvider(_:))) @@ -528,9 +523,8 @@ extension ConnectParticipantClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -615,9 +609,8 @@ extension ConnectParticipantClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTranscriptInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -690,9 +683,8 @@ extension ConnectParticipantClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendEventInput.urlPathProvider(_:))) @@ -765,9 +757,8 @@ extension ConnectParticipantClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendMessageInput.urlPathProvider(_:))) @@ -841,9 +832,8 @@ extension ConnectParticipantClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartAttachmentUploadInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/ControlCatalogClient.swift b/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/ControlCatalogClient.swift index 052bd1f26ef..f18ea364cad 100644 --- a/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/ControlCatalogClient.swift +++ b/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/ControlCatalogClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension ControlCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -303,9 +301,8 @@ extension ControlCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCommonControlsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -377,9 +374,8 @@ extension ControlCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListControlsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -448,9 +444,8 @@ extension ControlCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDomainsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -519,9 +514,8 @@ extension ControlCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListObjectivesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift b/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift index c150aaa130a..00444b3dafa 100644 --- a/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift +++ b/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLandingZoneInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLandingZoneInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -382,9 +379,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableBaselineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -458,9 +454,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -534,9 +529,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableBaselineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -610,9 +604,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -684,9 +677,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBaselineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -758,9 +750,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBaselineOperationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -832,9 +823,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetControlOperationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -906,9 +896,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEnabledBaselineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -980,9 +969,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEnabledControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1054,9 +1042,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLandingZoneInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1128,9 +1115,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLandingZoneOperationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1201,9 +1187,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBaselinesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1274,9 +1259,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListControlOperationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1347,9 +1331,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnabledBaselinesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1421,9 +1404,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnabledControlsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1494,9 +1476,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLandingZoneOperationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1567,9 +1548,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLandingZonesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1639,9 +1619,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1712,9 +1691,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetEnabledBaselineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1787,9 +1765,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetLandingZoneInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1859,9 +1836,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1931,9 +1907,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2005,9 +1980,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEnabledBaselineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2081,9 +2055,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEnabledControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2156,9 +2129,8 @@ extension ControlTowerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLandingZoneInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/CostExplorerClient.swift b/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/CostExplorerClient.swift index 51768c79957..c1fd93cbbe2 100644 --- a/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/CostExplorerClient.swift +++ b/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/CostExplorerClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -226,9 +225,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAnomalyMonitorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -298,9 +296,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAnomalySubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -370,9 +367,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCostCategoryDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -442,9 +438,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAnomalyMonitorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -514,9 +509,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAnomalySubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -586,9 +580,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCostCategoryDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -658,9 +651,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCostCategoryDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -730,9 +722,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAnomaliesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -803,9 +794,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAnomalyMonitorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -876,9 +866,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAnomalySubscriptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -948,9 +937,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApproximateUsageRecordsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1023,9 +1011,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCostAndUsageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1098,9 +1085,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCostAndUsageWithResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1173,9 +1159,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCostCategoriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1245,9 +1230,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCostForecastInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1320,9 +1304,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDimensionValuesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1420,9 +1403,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReservationCoverageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1493,9 +1475,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReservationPurchaseRecommendationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1566,9 +1547,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReservationUtilizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1638,9 +1618,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRightsizingRecommendationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1710,9 +1689,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSavingsPlanPurchaseRecommendationDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1794,9 +1772,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSavingsPlansCoverageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1866,9 +1843,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSavingsPlansPurchaseRecommendationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1938,9 +1914,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSavingsPlansUtilizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2011,9 +1986,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSavingsPlansUtilizationDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2086,9 +2060,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2159,9 +2132,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUsageForecastInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2231,9 +2203,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCostAllocationTagBackfillHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2303,9 +2274,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCostAllocationTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2374,9 +2344,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCostCategoryDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2447,9 +2416,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSavingsPlansPurchaseRecommendationGenerationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2519,9 +2487,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2590,9 +2557,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ProvideAnomalyFeedbackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2662,9 +2628,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartCostAllocationTagBackfillInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2736,9 +2701,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSavingsPlansPurchaseRecommendationGenerationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2809,9 +2773,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2881,9 +2844,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2953,9 +2915,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAnomalyMonitorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3026,9 +2987,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAnomalySubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3097,9 +3057,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCostAllocationTagsStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3170,9 +3129,8 @@ extension CostExplorerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCostCategoryDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/CostOptimizationHubClient.swift b/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/CostOptimizationHubClient.swift index 515632995c2..dbbefa2ac61 100644 --- a/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/CostOptimizationHubClient.swift +++ b/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/CostOptimizationHubClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension CostOptimizationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPreferencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension CostOptimizationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRecommendationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -379,9 +376,8 @@ extension CostOptimizationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnrollmentStatusesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -453,9 +449,8 @@ extension CostOptimizationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecommendationSummariesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -527,9 +522,8 @@ extension CostOptimizationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -601,9 +595,8 @@ extension CostOptimizationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEnrollmentStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -675,9 +668,8 @@ extension CostOptimizationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePreferencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/CostandUsageReportClient.swift b/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/CostandUsageReportClient.swift index ca35149e743..f209379dfba 100644 --- a/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/CostandUsageReportClient.swift +++ b/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/CostandUsageReportClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -227,9 +226,8 @@ extension CostandUsageReportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReportDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -298,9 +296,8 @@ extension CostandUsageReportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReportDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -371,9 +368,8 @@ extension CostandUsageReportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -443,9 +439,8 @@ extension CostandUsageReportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyReportDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -518,9 +513,8 @@ extension CostandUsageReportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutReportDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -591,9 +585,8 @@ extension CostandUsageReportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -664,9 +657,8 @@ extension CostandUsageReportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift b/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift index 2dc0d7a568f..8153c5cd924 100644 --- a/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift +++ b/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddProfileKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCalculatedAttributeDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -379,9 +376,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -453,9 +449,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEventStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -527,9 +522,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIntegrationWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -601,9 +595,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -675,9 +668,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCalculatedAttributeDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -746,9 +738,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -817,9 +808,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEventStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -888,9 +878,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIntegrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -962,9 +951,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1036,9 +1024,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProfileKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1110,9 +1097,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProfileObjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1184,9 +1170,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProfileObjectTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1255,9 +1240,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1326,9 +1310,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectProfileObjectTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1400,9 +1383,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAutoMergingPreviewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1474,9 +1456,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCalculatedAttributeDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1545,9 +1526,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCalculatedAttributeForProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1616,9 +1596,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1687,9 +1666,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEventStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1758,9 +1736,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIdentityResolutionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1829,9 +1806,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIntegrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1922,9 +1898,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMatchesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1994,9 +1969,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProfileObjectTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2065,9 +2039,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProfileObjectTypeTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2136,9 +2109,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSimilarProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2211,9 +2183,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2282,9 +2253,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkflowStepsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2354,9 +2324,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccountIntegrationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2429,9 +2398,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCalculatedAttributeDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2501,9 +2469,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCalculatedAttributesForProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2573,9 +2540,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDomainsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2645,9 +2611,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEventStreamsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2717,9 +2682,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIdentityResolutionJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2789,9 +2753,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIntegrationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2861,9 +2824,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProfileObjectTypeTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2933,9 +2895,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProfileObjectTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3005,9 +2966,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProfileObjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3080,9 +3040,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRuleBasedMatchesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3150,9 +3109,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3221,9 +3179,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkflowsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3322,9 +3279,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(MergeProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3396,9 +3352,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutIntegrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3470,9 +3425,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutProfileObjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3544,9 +3498,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutProfileObjectTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3618,9 +3571,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3691,9 +3643,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3763,9 +3714,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3835,9 +3785,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCalculatedAttributeDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3909,9 +3858,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3983,9 +3931,8 @@ extension CustomerProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSDAX/Sources/AWSDAX/DAXClient.swift b/Sources/Services/AWSDAX/Sources/AWSDAX/DAXClient.swift index 01571fb41bd..930448ba19a 100644 --- a/Sources/Services/AWSDAX/Sources/AWSDAX/DAXClient.swift +++ b/Sources/Services/AWSDAX/Sources/AWSDAX/DAXClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -241,9 +240,8 @@ extension DAXClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -317,9 +315,8 @@ extension DAXClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -392,9 +389,8 @@ extension DAXClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -468,9 +464,8 @@ extension DAXClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DecreaseReplicationFactorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -543,9 +538,8 @@ extension DAXClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -618,9 +612,8 @@ extension DAXClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -691,9 +684,8 @@ extension DAXClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -765,9 +757,8 @@ extension DAXClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -838,9 +829,8 @@ extension DAXClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDefaultParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -911,9 +901,8 @@ extension DAXClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -985,9 +974,8 @@ extension DAXClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeParameterGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1059,9 +1047,8 @@ extension DAXClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1131,9 +1118,8 @@ extension DAXClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSubnetGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1210,9 +1196,8 @@ extension DAXClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(IncreaseReplicationFactorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1286,9 +1271,8 @@ extension DAXClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1362,9 +1346,8 @@ extension DAXClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RebootNodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1439,9 +1422,8 @@ extension DAXClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1516,9 +1498,8 @@ extension DAXClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1593,9 +1574,8 @@ extension DAXClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1668,9 +1648,8 @@ extension DAXClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1743,9 +1722,8 @@ extension DAXClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSDLM/Sources/AWSDLM/DLMClient.swift b/Sources/Services/AWSDLM/Sources/AWSDLM/DLMClient.swift index 18b760c5b00..1c593b58881 100644 --- a/Sources/Services/AWSDLM/Sources/AWSDLM/DLMClient.swift +++ b/Sources/Services/AWSDLM/Sources/AWSDLM/DLMClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -241,9 +240,8 @@ extension DLMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLifecyclePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -313,9 +311,8 @@ extension DLMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLifecyclePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -383,9 +380,8 @@ extension DLMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLifecyclePoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -453,9 +449,8 @@ extension DLMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLifecyclePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -522,9 +517,8 @@ extension DLMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -591,9 +585,8 @@ extension DLMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -663,9 +656,8 @@ extension DLMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -734,9 +726,8 @@ extension DLMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLifecyclePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/DataBrewClient.swift b/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/DataBrewClient.swift index ce3f61f9768..0a334861c21 100644 --- a/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/DataBrewClient.swift +++ b/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/DataBrewClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -253,9 +252,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteRecipeVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -326,9 +324,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -400,9 +397,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProfileJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -473,9 +469,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -545,9 +540,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRecipeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -619,9 +613,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRecipeJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -691,9 +684,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRulesetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -763,9 +755,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -835,9 +826,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -904,9 +894,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -973,9 +962,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1042,9 +1030,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRecipeVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1111,9 +1098,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRulesetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1179,9 +1165,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1247,9 +1232,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1315,9 +1299,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1383,9 +1366,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeJobRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1451,9 +1433,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1519,9 +1500,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRecipeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1588,9 +1568,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRulesetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1656,9 +1635,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1723,9 +1701,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatasetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1792,9 +1769,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1860,9 +1836,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1928,9 +1903,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1996,9 +1970,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecipeVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2064,9 +2037,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecipesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2133,9 +2105,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRulesetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2201,9 +2172,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSchedulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2271,9 +2241,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2340,9 +2309,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PublishRecipeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2412,9 +2380,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendProjectSessionActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2485,9 +2452,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartJobRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2555,9 +2521,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartProjectSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2626,9 +2591,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopJobRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2695,9 +2659,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2767,9 +2730,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2837,9 +2799,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2909,9 +2870,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProfileJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2980,9 +2940,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3051,9 +3010,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRecipeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3123,9 +3081,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRecipeJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3194,9 +3151,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRulesetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3266,9 +3222,8 @@ extension DataBrewClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/DataExchangeClient.swift b/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/DataExchangeClient.swift index e2560db92c5..075edd755fb 100644 --- a/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/DataExchangeClient.swift +++ b/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/DataExchangeClient.swift @@ -32,7 +32,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -235,9 +234,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -380,9 +377,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEventActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -455,9 +451,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -529,9 +524,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRevisionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -604,9 +598,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAssetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -676,9 +669,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -746,9 +738,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEventActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -818,9 +809,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRevisionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -888,9 +878,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -958,9 +947,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1028,9 +1016,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEventActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1098,9 +1085,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1168,9 +1154,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRevisionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1238,9 +1223,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataSetRevisionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1309,9 +1293,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1380,9 +1363,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEventActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1451,9 +1433,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1522,9 +1503,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRevisionAssetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1585,9 +1565,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1657,9 +1636,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RevokeRevisionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1731,9 +1709,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendApiAssetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api-fulfill.")) @@ -1808,9 +1785,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendDataSetNotificationInput.urlPathProvider(_:))) @@ -1884,9 +1860,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1946,9 +1921,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2011,9 +1985,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2084,9 +2057,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAssetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2158,9 +2130,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDataSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2232,9 +2203,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEventActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2307,9 +2277,8 @@ extension DataExchangeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRevisionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/DataPipelineClient.swift b/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/DataPipelineClient.swift index d212b6940ed..ce3361866d2 100644 --- a/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/DataPipelineClient.swift +++ b/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/DataPipelineClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension DataPipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ActivatePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -304,9 +302,8 @@ extension DataPipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -376,9 +373,8 @@ extension DataPipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -450,9 +446,8 @@ extension DataPipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeactivatePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -523,9 +518,8 @@ extension DataPipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -597,9 +591,8 @@ extension DataPipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeObjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -671,9 +664,8 @@ extension DataPipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePipelinesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -746,9 +738,8 @@ extension DataPipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EvaluateExpressionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -820,9 +811,8 @@ extension DataPipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPipelineDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -892,9 +882,8 @@ extension DataPipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPipelinesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -965,9 +954,8 @@ extension DataPipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PollForTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1050,9 +1038,8 @@ extension DataPipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutPipelineDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1124,9 +1111,8 @@ extension DataPipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(QueryObjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1198,9 +1184,8 @@ extension DataPipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1273,9 +1258,8 @@ extension DataPipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReportTaskProgressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1345,9 +1329,8 @@ extension DataPipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReportTaskRunnerHeartbeatInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1419,9 +1402,8 @@ extension DataPipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1494,9 +1476,8 @@ extension DataPipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetTaskStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1568,9 +1549,8 @@ extension DataPipelineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ValidatePipelineDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSDataSync/Sources/AWSDataSync/DataSyncClient.swift b/Sources/Services/AWSDataSync/Sources/AWSDataSync/DataSyncClient.swift index 4e7ef081238..6a8d8532bf1 100644 --- a/Sources/Services/AWSDataSync/Sources/AWSDataSync/DataSyncClient.swift +++ b/Sources/Services/AWSDataSync/Sources/AWSDataSync/DataSyncClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddStorageSystemInput.urlPathProvider(_:))) @@ -302,9 +300,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelTaskExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -381,9 +378,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAgentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -453,9 +449,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLocationAzureBlobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -525,9 +520,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLocationEfsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -597,9 +591,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLocationFsxLustreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -669,9 +662,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLocationFsxOntapInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -741,9 +733,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLocationFsxOpenZfsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -813,9 +804,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLocationFsxWindowsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -885,9 +875,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLocationHdfsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -957,9 +946,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLocationNfsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1029,9 +1017,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLocationObjectStorageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1108,9 +1095,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLocationS3Input.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1180,9 +1166,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLocationSmbInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1252,9 +1237,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1324,9 +1308,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAgentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1396,9 +1379,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLocationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1468,9 +1450,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1540,9 +1521,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAgentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1612,9 +1592,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDiscoveryJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "discovery-")) @@ -1684,9 +1663,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLocationAzureBlobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1756,9 +1734,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLocationEfsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1828,9 +1805,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLocationFsxLustreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1900,9 +1876,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLocationFsxOntapInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1972,9 +1947,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLocationFsxOpenZfsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2044,9 +2018,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLocationFsxWindowsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2116,9 +2089,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLocationHdfsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2188,9 +2160,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLocationNfsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2260,9 +2231,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLocationObjectStorageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2332,9 +2302,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLocationS3Input.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2404,9 +2373,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLocationSmbInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2476,9 +2444,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStorageSystemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "discovery-")) @@ -2548,9 +2515,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStorageSystemResourceMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "discovery-")) @@ -2620,9 +2586,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStorageSystemResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "discovery-")) @@ -2692,9 +2657,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2764,9 +2728,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTaskExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2836,9 +2799,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "discovery-")) @@ -2908,9 +2870,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAgentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2980,9 +2941,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDiscoveryJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "discovery-")) @@ -3052,9 +3012,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLocationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3124,9 +3083,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStorageSystemsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "discovery-")) @@ -3196,9 +3154,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3268,9 +3225,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTaskExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3340,9 +3296,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3412,9 +3367,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveStorageSystemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "discovery-")) @@ -3484,9 +3438,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDiscoveryJobInput.urlPathProvider(_:))) @@ -3557,9 +3510,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartTaskExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3629,9 +3581,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopDiscoveryJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "discovery-")) @@ -3701,9 +3652,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3773,9 +3723,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3845,9 +3794,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAgentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3917,9 +3865,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDiscoveryJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "discovery-")) @@ -3989,9 +3936,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLocationAzureBlobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4061,9 +4007,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLocationHdfsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4133,9 +4078,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLocationNfsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4205,9 +4149,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLocationObjectStorageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4277,9 +4220,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLocationSmbInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4349,9 +4291,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStorageSystemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "discovery-")) @@ -4421,9 +4362,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4493,9 +4433,8 @@ extension DataSyncClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTaskExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift b/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift index 85ea6ebcfc1..50120f4f786 100644 --- a/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift +++ b/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift @@ -32,7 +32,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -236,9 +235,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptPredictionsInput.urlPathProvider(_:))) @@ -314,9 +312,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptSubscriptionRequestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -391,9 +388,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddEntityOwnerInput.urlPathProvider(_:))) @@ -468,9 +464,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddPolicyGrantInput.urlPathProvider(_:))) @@ -545,9 +540,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateEnvironmentRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -618,9 +612,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelMetadataGenerationRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -691,9 +684,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -765,9 +757,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAssetInput.urlPathProvider(_:))) @@ -843,9 +834,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAssetFilterInput.urlPathProvider(_:))) @@ -920,9 +910,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAssetRevisionInput.urlPathProvider(_:))) @@ -997,9 +986,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAssetTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1074,9 +1062,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataProductInput.urlPathProvider(_:))) @@ -1151,9 +1138,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataProductRevisionInput.urlPathProvider(_:))) @@ -1229,9 +1215,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataSourceInput.urlPathProvider(_:))) @@ -1307,9 +1292,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDomainInput.urlPathProvider(_:))) @@ -1384,9 +1368,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDomainUnitInput.urlPathProvider(_:))) @@ -1461,9 +1444,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1537,9 +1519,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEnvironmentActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1614,9 +1595,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEnvironmentProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1690,9 +1670,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFormTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1766,9 +1745,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGlossaryInput.urlPathProvider(_:))) @@ -1844,9 +1822,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGlossaryTermInput.urlPathProvider(_:))) @@ -1920,9 +1897,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGroupProfileInput.urlPathProvider(_:))) @@ -1998,9 +1974,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateListingChangeSetInput.urlPathProvider(_:))) @@ -2076,9 +2051,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2151,9 +2125,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProjectMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2227,9 +2200,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSubscriptionGrantInput.urlPathProvider(_:))) @@ -2304,9 +2276,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSubscriptionRequestInput.urlPathProvider(_:))) @@ -2381,9 +2352,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSubscriptionTargetInput.urlPathProvider(_:))) @@ -2457,9 +2427,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserProfileInput.urlPathProvider(_:))) @@ -2534,9 +2503,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAssetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2607,9 +2575,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAssetFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2680,9 +2647,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAssetTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2753,9 +2719,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataProductInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2827,9 +2792,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataSourceInput.urlPathProvider(_:))) @@ -2902,9 +2866,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDomainInput.urlPathProvider(_:))) @@ -2977,9 +2940,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDomainUnitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3049,9 +3011,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3122,9 +3083,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEnvironmentActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3193,9 +3153,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEnvironmentBlueprintConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3265,9 +3224,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEnvironmentProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3338,9 +3296,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFormTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3411,9 +3368,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGlossaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3484,9 +3440,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGlossaryTermInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3557,9 +3512,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteListingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3629,9 +3583,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3703,9 +3656,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProjectMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3779,9 +3731,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSubscriptionGrantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3852,9 +3803,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSubscriptionRequestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3925,9 +3875,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSubscriptionTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3997,9 +3946,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTimeSeriesDataPointsInput.urlPathProvider(_:))) @@ -4072,9 +4020,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateEnvironmentRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4144,9 +4091,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4217,9 +4163,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssetFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4289,9 +4234,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssetTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4362,9 +4306,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataProductInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4437,9 +4380,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4511,9 +4453,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataSourceRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4584,9 +4525,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4656,9 +4596,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDomainUnitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4728,9 +4667,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4800,9 +4738,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEnvironmentActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4872,9 +4809,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEnvironmentBlueprintInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4944,9 +4880,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEnvironmentBlueprintConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5016,9 +4951,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEnvironmentCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5088,9 +5022,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEnvironmentProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5160,9 +5093,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFormTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5233,9 +5165,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGlossaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5305,9 +5236,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGlossaryTermInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5377,9 +5307,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGroupProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5450,9 +5379,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIamPortalLoginUrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5522,9 +5450,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLineageNodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5595,9 +5522,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetListingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5668,9 +5594,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMetadataGenerationRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5740,9 +5665,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5812,9 +5736,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5884,9 +5807,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSubscriptionGrantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5956,9 +5878,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSubscriptionRequestDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6028,9 +5949,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSubscriptionTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6100,9 +6020,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTimeSeriesDataPointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6173,9 +6092,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUserProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6246,9 +6164,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssetFiltersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6319,9 +6236,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssetRevisionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6392,9 +6308,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataProductRevisionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6467,9 +6382,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataSourceRunActivitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6542,9 +6456,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataSourceRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6617,9 +6530,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6689,9 +6601,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDomainUnitsForParentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6764,9 +6675,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDomainsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6836,9 +6746,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEntityOwnersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6908,9 +6817,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnvironmentActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6981,9 +6889,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnvironmentBlueprintConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7054,9 +6961,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnvironmentBlueprintsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7126,9 +7032,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnvironmentProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7198,9 +7103,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnvironmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7271,9 +7175,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLineageNodeHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7344,9 +7247,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMetadataGenerationRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7417,9 +7319,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNotificationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7489,9 +7390,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPolicyGrantsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7562,9 +7462,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProjectMembershipsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7634,9 +7533,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7707,9 +7605,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSubscriptionGrantsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7780,9 +7677,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSubscriptionRequestsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7853,9 +7749,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSubscriptionTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7926,9 +7821,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSubscriptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7999,9 +7893,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8071,9 +7964,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTimeSeriesDataPointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8146,9 +8038,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PostLineageEventInput.urlPathProvider(_:))) @@ -8225,9 +8116,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PostTimeSeriesDataPointsInput.urlPathProvider(_:))) @@ -8302,9 +8192,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutEnvironmentBlueprintConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8378,9 +8267,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectPredictionsInput.urlPathProvider(_:))) @@ -8456,9 +8344,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectSubscriptionRequestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8531,9 +8418,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveEntityOwnerInput.urlPathProvider(_:))) @@ -8606,9 +8492,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemovePolicyGrantInput.urlPathProvider(_:))) @@ -8683,9 +8568,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RevokeSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8757,9 +8641,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8832,9 +8715,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchGroupProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8906,9 +8788,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchListingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8980,9 +8861,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9055,9 +8935,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchUserProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9132,9 +9011,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDataSourceRunInput.urlPathProvider(_:))) @@ -9210,9 +9088,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMetadataGenerationRunInput.urlPathProvider(_:))) @@ -9286,9 +9163,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9360,9 +9236,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9434,9 +9309,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAssetFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9511,9 +9385,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9588,9 +9461,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDomainInput.urlPathProvider(_:))) @@ -9666,9 +9538,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDomainUnitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9742,9 +9613,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9818,9 +9688,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEnvironmentActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9895,9 +9764,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEnvironmentProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9971,9 +9839,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGlossaryInput.urlPathProvider(_:))) @@ -10048,9 +9915,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGlossaryTermInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10123,9 +9989,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGroupProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10200,9 +10065,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10276,9 +10140,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSubscriptionGrantStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10352,9 +10215,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSubscriptionRequestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10428,9 +10290,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSubscriptionTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10503,9 +10364,8 @@ extension DataZoneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/DatabaseMigrationClient.swift b/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/DatabaseMigrationClient.swift index 7de55bc4ff7..0f150aa0a2a 100644 --- a/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/DatabaseMigrationClient.swift +++ b/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/DatabaseMigrationClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -227,9 +226,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddTagsToResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -298,9 +296,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ApplyPendingMaintenanceActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -371,9 +368,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchStartRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -444,9 +440,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelReplicationTaskAssessmentRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -517,9 +512,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -594,9 +588,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -674,9 +667,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEventSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -749,9 +741,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFleetAdvisorCollectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -827,9 +818,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInstanceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -903,9 +893,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMigrationProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -981,9 +970,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReplicationConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1061,9 +1049,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReplicationInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1137,9 +1124,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReplicationSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1213,9 +1199,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReplicationTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1285,9 +1270,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1358,9 +1342,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1431,9 +1414,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1503,9 +1485,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1575,9 +1556,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEventSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1647,9 +1627,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFleetAdvisorCollectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1719,9 +1698,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFleetAdvisorDatabasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1792,9 +1770,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInstanceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1865,9 +1842,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMigrationProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1938,9 +1914,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReplicationConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2010,9 +1985,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReplicationInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2082,9 +2056,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReplicationSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2154,9 +2127,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReplicationTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2227,9 +2199,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReplicationTaskAssessmentRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2293,9 +2264,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2366,9 +2336,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeApplicableIndividualAssessmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2437,9 +2406,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCertificatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2508,9 +2476,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2579,9 +2546,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConversionConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2651,9 +2617,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDataProvidersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2717,9 +2682,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEndpointSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2783,9 +2747,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEndpointTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2854,9 +2817,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2920,9 +2882,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEngineVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2986,9 +2947,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventCategoriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3057,9 +3017,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventSubscriptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3123,9 +3082,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3189,9 +3147,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeExtensionPackAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3260,9 +3217,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFleetAdvisorCollectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3331,9 +3287,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFleetAdvisorDatabasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3402,9 +3357,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFleetAdvisorLsaAnalysisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3473,9 +3427,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFleetAdvisorSchemaObjectSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3544,9 +3497,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFleetAdvisorSchemasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3616,9 +3568,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstanceProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3687,9 +3638,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMetadataModelAssessmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3758,9 +3708,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMetadataModelConversionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3829,9 +3778,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMetadataModelExportsAsScriptInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3900,9 +3848,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMetadataModelExportsToTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3971,9 +3918,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMetadataModelImportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4043,9 +3989,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMigrationProjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4109,9 +4054,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOrderableReplicationInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4180,9 +4124,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePendingMaintenanceActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4252,9 +4195,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRecommendationLimitationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4324,9 +4266,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4396,9 +4337,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRefreshSchemasStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4467,9 +4407,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReplicationConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4539,9 +4478,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReplicationInstanceTaskLogsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4610,9 +4548,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReplicationInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4681,9 +4618,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReplicationSubnetGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4753,9 +4689,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReplicationTableStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4824,9 +4759,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReplicationTaskAssessmentResultsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4895,9 +4829,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReplicationTaskAssessmentRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4966,9 +4899,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReplicationTaskIndividualAssessmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5037,9 +4969,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReplicationTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5108,9 +5039,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5180,9 +5110,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSchemasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5252,9 +5181,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTableStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5323,9 +5251,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportMetadataModelAssessmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5396,9 +5323,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5467,9 +5393,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5539,9 +5464,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyConversionConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5612,9 +5536,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDataProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5687,9 +5610,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5766,9 +5688,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyEventSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5842,9 +5763,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyInstanceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5917,9 +5837,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyMigrationProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5993,9 +5912,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyReplicationConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6070,9 +5988,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyReplicationInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6146,9 +6063,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyReplicationSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6220,9 +6136,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyReplicationTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6295,9 +6210,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(MoveReplicationTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6367,9 +6281,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RebootReplicationInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6441,9 +6354,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RefreshSchemasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6513,9 +6425,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReloadReplicationTablesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6585,9 +6496,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReloadTablesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6656,9 +6566,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTagsFromResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6728,9 +6637,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RunFleetAdvisorLsaAnalysisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6806,9 +6714,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartExtensionPackAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6884,9 +6791,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMetadataModelAssessmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6962,9 +6868,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMetadataModelConversionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7040,9 +6945,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMetadataModelExportAsScriptInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7118,9 +7022,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMetadataModelExportToTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7196,9 +7099,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMetadataModelImportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7269,9 +7171,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7342,9 +7243,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7415,9 +7315,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartReplicationTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7494,9 +7393,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartReplicationTaskAssessmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7576,9 +7474,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartReplicationTaskAssessmentRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7649,9 +7546,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7721,9 +7617,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopReplicationTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7796,9 +7691,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7868,9 +7762,8 @@ extension DatabaseMigrationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSubscriptionsToEventBridgeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSDeadline/Sources/AWSDeadline/DeadlineClient.swift b/Sources/Services/AWSDeadline/Sources/AWSDeadline/DeadlineClient.swift index f24fbeddf50..f5faf98a6a7 100644 --- a/Sources/Services/AWSDeadline/Sources/AWSDeadline/DeadlineClient.swift +++ b/Sources/Services/AWSDeadline/Sources/AWSDeadline/DeadlineClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateMemberToFarmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -309,9 +307,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateMemberToFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -384,9 +381,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateMemberToJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -459,9 +455,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateMemberToQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -533,9 +528,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssumeFleetRoleForReadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -605,9 +599,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssumeFleetRoleForWorkerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "scheduling.")) @@ -676,9 +669,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssumeQueueRoleForReadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -747,9 +739,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssumeQueueRoleForUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -819,9 +810,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssumeQueueRoleForWorkerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "scheduling.")) @@ -891,9 +881,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetJobEntityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "scheduling.")) @@ -965,9 +954,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyJobTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -1040,9 +1028,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBudgetInput.urlPathProvider(_:))) @@ -1117,9 +1104,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFarmInput.urlPathProvider(_:))) @@ -1194,9 +1180,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFleetInput.urlPathProvider(_:))) @@ -1271,9 +1256,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateJobInput.urlPathProvider(_:))) @@ -1348,9 +1332,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLicenseEndpointInput.urlPathProvider(_:))) @@ -1424,9 +1407,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMonitorInput.urlPathProvider(_:))) @@ -1501,9 +1483,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateQueueInput.urlPathProvider(_:))) @@ -1578,9 +1559,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateQueueEnvironmentInput.urlPathProvider(_:))) @@ -1654,9 +1634,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateQueueFleetAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -1729,9 +1708,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStorageProfileInput.urlPathProvider(_:))) @@ -1806,9 +1784,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkerInput.urlPathProvider(_:))) @@ -1882,9 +1859,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBudgetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -1953,9 +1929,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFarmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -2025,9 +2000,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFleetInput.urlPathProvider(_:))) @@ -2099,9 +2073,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLicenseEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -2170,9 +2143,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMeteredProductInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -2241,9 +2213,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMonitorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -2313,9 +2284,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -2383,9 +2353,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteQueueEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -2455,9 +2424,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteQueueFleetAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -2525,9 +2493,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStorageProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -2597,9 +2564,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -2668,9 +2634,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateMemberFromFarmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -2740,9 +2705,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateMemberFromFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -2811,9 +2775,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateMemberFromJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -2883,9 +2846,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateMemberFromQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -2954,9 +2916,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBudgetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -3025,9 +2986,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFarmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -3096,9 +3056,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -3167,9 +3126,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -3238,9 +3196,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLicenseEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -3309,9 +3266,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMonitorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -3380,9 +3336,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -3451,9 +3406,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQueueEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -3522,9 +3476,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQueueFleetAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -3593,9 +3546,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -3664,9 +3616,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSessionActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -3735,9 +3686,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSessionsStatisticsAggregationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -3807,9 +3757,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStepInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -3878,9 +3827,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStorageProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -3949,9 +3897,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStorageProfileForQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -4020,9 +3967,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -4091,9 +4037,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -4159,9 +4104,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAvailableMeteredProductsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -4231,9 +4175,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBudgetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -4303,9 +4246,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFarmMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -4374,9 +4316,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFarmsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -4446,9 +4387,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFleetMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -4518,9 +4458,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFleetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -4590,9 +4529,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -4662,9 +4600,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -4734,9 +4671,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLicenseEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -4806,9 +4742,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMeteredProductsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -4877,9 +4812,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMonitorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -4949,9 +4883,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQueueEnvironmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -5020,9 +4953,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQueueFleetAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -5092,9 +5024,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQueueMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -5164,9 +5095,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQueuesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -5236,9 +5166,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSessionActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -5308,9 +5237,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSessionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -5380,9 +5308,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSessionsForWorkerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -5452,9 +5379,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStepConsumersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -5524,9 +5450,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStepDependenciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -5596,9 +5521,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStepsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -5668,9 +5592,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStorageProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -5740,9 +5663,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStorageProfilesForQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -5812,9 +5734,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -5883,9 +5804,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -5955,9 +5875,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -6027,9 +5946,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutMeteredProductInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -6098,9 +6016,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -6172,9 +6089,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchStepsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -6246,9 +6162,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -6320,9 +6235,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchWorkersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -6394,9 +6308,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSessionsStatisticsAggregationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -6469,9 +6382,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -6544,9 +6456,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -6616,9 +6527,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBudgetInput.urlPathProvider(_:))) @@ -6692,9 +6602,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFarmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -6767,9 +6676,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFleetInput.urlPathProvider(_:))) @@ -6844,9 +6752,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateJobInput.urlPathProvider(_:))) @@ -6920,9 +6827,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMonitorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -6994,9 +6900,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateQueueInput.urlPathProvider(_:))) @@ -7070,9 +6975,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateQueueEnvironmentInput.urlPathProvider(_:))) @@ -7146,9 +7050,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateQueueFleetAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "management.")) @@ -7221,9 +7124,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSessionInput.urlPathProvider(_:))) @@ -7298,9 +7200,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStepInput.urlPathProvider(_:))) @@ -7374,9 +7275,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStorageProfileInput.urlPathProvider(_:))) @@ -7451,9 +7351,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTaskInput.urlPathProvider(_:))) @@ -7528,9 +7427,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorkerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "scheduling.")) @@ -7603,9 +7501,8 @@ extension DeadlineClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorkerScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "scheduling.")) diff --git a/Sources/Services/AWSDetective/Sources/AWSDetective/DetectiveClient.swift b/Sources/Services/AWSDetective/Sources/AWSDetective/DetectiveClient.swift index d44e1871cdc..2ba2b5eadfb 100644 --- a/Sources/Services/AWSDetective/Sources/AWSDetective/DetectiveClient.swift +++ b/Sources/Services/AWSDetective/Sources/AWSDetective/DetectiveClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptInvitationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -304,9 +302,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetGraphMemberDatasourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -377,9 +374,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetMembershipDatasourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -454,9 +450,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGraphInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -536,9 +531,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -609,9 +603,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGraphInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -683,9 +676,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -756,9 +748,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOrganizationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -829,9 +820,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableOrganizationAdminAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -900,9 +890,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -973,9 +962,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableOrganizationAdminAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1047,9 +1035,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInvestigationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1120,9 +1107,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1193,9 +1179,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatasourcePackagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1265,9 +1250,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGraphsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1339,9 +1323,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIndicatorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1413,9 +1396,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInvestigationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1485,9 +1467,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInvitationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1558,9 +1539,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1631,9 +1611,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOrganizationAdminAccountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1704,9 +1683,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1775,9 +1753,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectInvitationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1849,9 +1826,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartInvestigationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1932,9 +1908,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMonitoringMemberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2005,9 +1980,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2078,9 +2052,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2154,9 +2127,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDatasourcePackagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2228,9 +2200,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateInvestigationStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2301,9 +2272,8 @@ extension DetectiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateOrganizationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/DevOpsGuruClient.swift b/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/DevOpsGuruClient.swift index 52080e38764..b4d3ffe9654 100644 --- a/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/DevOpsGuruClient.swift +++ b/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/DevOpsGuruClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddNotificationChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -309,9 +307,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInsightInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -379,9 +376,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountHealthInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -449,9 +445,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountOverviewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -523,9 +518,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAnomalyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -594,9 +588,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventSourcesConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -665,9 +658,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFeedbackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -739,9 +731,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInsightInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -810,9 +801,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOrganizationHealthInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -883,9 +873,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOrganizationOverviewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -956,9 +945,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOrganizationResourceCollectionHealthInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1029,9 +1017,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeResourceCollectionHealthInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1101,9 +1088,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeServiceIntegrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1172,9 +1158,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCostEstimationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1244,9 +1229,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourceCollectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1316,9 +1300,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAnomaliesForInsightInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1390,9 +1373,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAnomalousLogGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1464,9 +1446,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1537,9 +1518,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInsightsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1610,9 +1590,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMonitoredResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1683,9 +1662,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNotificationChannelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1756,9 +1734,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOrganizationInsightsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1830,9 +1807,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1905,9 +1881,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutFeedbackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1980,9 +1955,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveNotificationChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2050,9 +2024,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchInsightsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2123,9 +2096,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchOrganizationInsightsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2198,9 +2170,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartCostEstimationInput.urlPathProvider(_:))) @@ -2272,9 +2243,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEventSourcesConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2346,9 +2316,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResourceCollectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2420,9 +2389,8 @@ extension DevOpsGuruClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServiceIntegrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/DeviceFarmClient.swift b/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/DeviceFarmClient.swift index cb611d97341..1cdc0c82358 100644 --- a/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/DeviceFarmClient.swift +++ b/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/DeviceFarmClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDevicePoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -304,9 +302,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInstanceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -378,9 +375,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNetworkProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -453,9 +449,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -527,9 +522,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRemoteAccessSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -600,9 +594,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTestGridProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -673,9 +666,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTestGridUrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -747,9 +739,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUploadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -820,9 +811,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVPCEConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -894,9 +884,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDevicePoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -968,9 +957,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInstanceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1042,9 +1030,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNetworkProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1116,9 +1103,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1190,9 +1176,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRemoteAccessSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1264,9 +1249,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1338,9 +1322,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTestGridProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1412,9 +1395,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUploadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1486,9 +1468,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVPCEConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1560,9 +1541,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1634,9 +1614,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1708,9 +1687,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeviceInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1782,9 +1760,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDevicePoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1856,9 +1833,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDevicePoolCompatibilityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1930,9 +1906,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInstanceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2004,9 +1979,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2078,9 +2052,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetNetworkProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2153,9 +2126,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOfferingStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2227,9 +2199,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2301,9 +2272,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRemoteAccessSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2375,9 +2345,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2449,9 +2418,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSuiteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2523,9 +2491,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2596,9 +2563,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTestGridProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2673,9 +2639,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTestGridSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2747,9 +2712,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUploadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2820,9 +2784,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVPCEConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2894,9 +2857,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InstallToRemoteAccessSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2968,9 +2930,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListArtifactsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3042,9 +3003,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeviceInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3116,9 +3076,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDevicePoolsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3190,9 +3149,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDevicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3264,9 +3222,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInstanceProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3338,9 +3295,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3412,9 +3368,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNetworkProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3487,9 +3442,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOfferingPromotionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3562,9 +3516,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOfferingTransactionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3637,9 +3590,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOfferingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3711,9 +3663,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3785,9 +3736,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRemoteAccessSessionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3859,9 +3809,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3933,9 +3882,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSamplesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4007,9 +3955,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSuitesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4080,9 +4027,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4152,9 +4098,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTestGridProjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4225,9 +4170,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTestGridSessionActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4298,9 +4242,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTestGridSessionArtifactsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4371,9 +4314,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTestGridSessionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4445,9 +4387,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTestsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4519,9 +4460,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUniqueProblemsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4593,9 +4533,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUploadsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4665,9 +4604,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVPCEConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4740,9 +4678,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PurchaseOfferingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4815,9 +4752,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RenewOfferingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4890,9 +4826,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ScheduleRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4964,9 +4899,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5038,9 +4972,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopRemoteAccessSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5112,9 +5045,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5187,9 +5119,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5260,9 +5191,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5334,9 +5264,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDeviceInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5408,9 +5337,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDevicePoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5482,9 +5410,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateInstanceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5556,9 +5483,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNetworkProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5630,9 +5556,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5704,9 +5629,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTestGridProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5778,9 +5702,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUploadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5852,9 +5775,8 @@ extension DeviceFarmClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVPCEConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift b/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift index 203538efccd..a90ced53129 100644 --- a/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift +++ b/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptDirectConnectGatewayAssociationProposalInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -301,9 +299,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AllocateConnectionOnInterconnectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -375,9 +372,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AllocateHostedConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -449,9 +445,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AllocatePrivateVirtualInterfaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -523,9 +518,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AllocatePublicVirtualInterfaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -597,9 +591,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AllocateTransitVirtualInterfaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -669,9 +662,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateConnectionWithLagInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -741,9 +733,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateHostedConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -813,9 +804,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateMacSecKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -885,9 +875,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateVirtualInterfaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -957,9 +946,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConfirmConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1029,9 +1017,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConfirmCustomerAgreementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1101,9 +1088,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConfirmPrivateVirtualInterfaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1173,9 +1159,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConfirmPublicVirtualInterfaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1245,9 +1230,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConfirmTransitVirtualInterfaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1317,9 +1301,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBGPPeerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1391,9 +1374,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1463,9 +1445,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDirectConnectGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1535,9 +1516,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDirectConnectGatewayAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1607,9 +1587,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDirectConnectGatewayAssociationProposalInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1681,9 +1660,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInterconnectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1755,9 +1733,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLagInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1829,9 +1806,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePrivateVirtualInterfaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1903,9 +1879,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePublicVirtualInterfaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1977,9 +1952,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTransitVirtualInterfaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2049,9 +2023,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBGPPeerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2121,9 +2094,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2193,9 +2165,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDirectConnectGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2265,9 +2236,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDirectConnectGatewayAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2337,9 +2307,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDirectConnectGatewayAssociationProposalInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2409,9 +2378,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInterconnectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2481,9 +2449,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLagInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2553,9 +2520,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVirtualInterfaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2626,9 +2592,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConnectionLoaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2698,9 +2663,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2771,9 +2735,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConnectionsOnInterconnectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2843,9 +2806,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCustomerMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2915,9 +2877,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDirectConnectGatewayAssociationProposalsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2997,9 +2958,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDirectConnectGatewayAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3069,9 +3029,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDirectConnectGatewayAttachmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3141,9 +3100,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDirectConnectGatewaysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3213,9 +3171,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeHostedConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3286,9 +3243,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInterconnectLoaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3358,9 +3314,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInterconnectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3430,9 +3385,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3502,9 +3456,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLoaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3574,9 +3527,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLocationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3646,9 +3598,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRouterConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3718,9 +3669,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3790,9 +3740,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVirtualGatewaysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3862,9 +3811,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVirtualInterfacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3934,9 +3882,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateConnectionFromLagInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4006,9 +3953,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateMacSecKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4078,9 +4024,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVirtualInterfaceTestHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4150,9 +4095,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartBgpFailoverTestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4222,9 +4166,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopBgpFailoverTestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4296,9 +4239,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4368,9 +4310,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4444,9 +4385,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4516,9 +4456,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDirectConnectGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4588,9 +4527,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDirectConnectGatewayAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4671,9 +4609,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLagInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4743,9 +4680,8 @@ extension DirectConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVirtualInterfaceAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/DirectoryClient.swift b/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/DirectoryClient.swift index 4fec2db958c..b008794d797 100644 --- a/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/DirectoryClient.swift +++ b/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/DirectoryClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptSharedDirectoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddIpRoutesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -387,9 +384,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddRegionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -462,9 +458,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddTagsToResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -535,9 +530,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelSchemaExtensionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -609,9 +603,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConnectDirectoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -684,9 +677,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -762,9 +754,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateComputerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -839,9 +830,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConditionalForwarderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -913,9 +903,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDirectoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -989,9 +978,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLogSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1064,9 +1052,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMicrosoftADInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1139,9 +1126,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1215,9 +1201,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTrustInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1291,9 +1276,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConditionalForwarderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1364,9 +1348,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDirectoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1438,9 +1421,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLogSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1512,9 +1494,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1587,9 +1568,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTrustInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1665,9 +1645,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1739,9 +1718,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterEventTopicInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1815,9 +1793,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1891,9 +1868,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClientAuthenticationSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1967,9 +1943,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConditionalForwardersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2042,9 +2017,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDirectoriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2118,9 +2092,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDomainControllersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2192,9 +2165,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventTopicsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2268,9 +2240,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLDAPSSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2345,9 +2316,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRegionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2421,9 +2391,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2497,9 +2466,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSharedDirectoriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2572,9 +2540,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2648,9 +2615,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTrustsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2724,9 +2690,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUpdateDirectoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2800,9 +2765,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableClientAuthenticationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2877,9 +2841,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableLDAPSInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2950,9 +2913,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableRadiusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3025,9 +2987,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableSsoInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3102,9 +3063,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableClientAuthenticationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3180,9 +3140,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableLDAPSInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3255,9 +3214,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableRadiusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3330,9 +3288,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableSsoInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3403,9 +3360,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDirectoryLimitsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3476,9 +3432,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSnapshotLimitsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3552,9 +3507,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCertificatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3627,9 +3581,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIpRoutesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3701,9 +3654,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLogSubscriptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3775,9 +3727,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSchemaExtensionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3850,9 +3801,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3929,9 +3879,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4003,9 +3952,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterEventTopicInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4078,9 +4026,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectSharedDirectoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4153,9 +4100,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveIpRoutesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4229,9 +4175,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveRegionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4303,9 +4248,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTagsFromResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4384,9 +4328,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetUserPasswordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4458,9 +4401,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreFromSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4538,9 +4480,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ShareDirectoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4614,9 +4555,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSchemaExtensionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4689,9 +4629,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UnshareDirectoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4765,9 +4704,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConditionalForwarderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4844,9 +4782,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDirectorySetupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4921,9 +4858,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNumberOfDomainControllersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4995,9 +4931,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRadiusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5073,9 +5008,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5147,9 +5081,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTrustInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5222,9 +5155,8 @@ extension DirectoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(VerifyTrustInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSDocDB/Sources/AWSDocDB/DocDBClient.swift b/Sources/Services/AWSDocDB/Sources/AWSDocDB/DocDBClient.swift index c01243dd11b..77bd0dd0f79 100644 --- a/Sources/Services/AWSDocDB/Sources/AWSDocDB/DocDBClient.swift +++ b/Sources/Services/AWSDocDB/Sources/AWSDocDB/DocDBClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -227,9 +226,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddSourceIdentifierToSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -299,9 +297,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddTagsToResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -371,9 +368,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ApplyPendingMaintenanceActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -443,9 +439,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyDBClusterParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -518,9 +513,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyDBClusterSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -604,9 +598,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -675,9 +668,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBClusterParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -749,9 +741,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBClusterSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -833,9 +824,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -907,9 +897,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -983,9 +972,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEventSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1056,9 +1044,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGlobalClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1130,9 +1117,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1201,9 +1187,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBClusterParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1272,9 +1257,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBClusterSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1346,9 +1330,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1418,9 +1401,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1489,9 +1471,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEventSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1560,9 +1541,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGlobalClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1630,9 +1610,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCertificatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1700,9 +1679,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBClusterParameterGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1770,9 +1748,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBClusterParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1840,9 +1817,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBClusterSnapshotAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1910,9 +1886,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBClusterSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1980,9 +1955,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2045,9 +2019,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBEngineVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2115,9 +2088,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2185,9 +2157,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBSubnetGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2250,9 +2221,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEngineDefaultClusterParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2315,9 +2285,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventCategoriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2385,9 +2354,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventSubscriptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2450,9 +2418,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2520,9 +2487,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGlobalClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2585,9 +2551,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOrderableDBInstanceOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2655,9 +2620,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePendingMaintenanceActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2727,9 +2691,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(FailoverDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2800,9 +2763,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(FailoverGlobalClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2872,9 +2834,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2952,9 +2913,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3023,9 +2983,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBClusterParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3095,9 +3054,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBClusterSnapshotAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3177,9 +3135,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3251,9 +3208,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3326,9 +3282,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyEventSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3397,9 +3352,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyGlobalClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3468,9 +3422,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RebootDBInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3540,9 +3493,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveFromGlobalClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3611,9 +3563,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveSourceIdentifierFromSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3683,9 +3634,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTagsFromResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3754,9 +3704,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetDBClusterParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3837,9 +3786,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreDBClusterFromSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3921,9 +3869,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreDBClusterToPointInTimeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3993,9 +3940,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4065,9 +4011,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4138,9 +4083,8 @@ extension DocDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SwitchoverGlobalClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/DocDBElasticClient.swift b/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/DocDBElasticClient.swift index 10be07fc533..8760229a872 100644 --- a/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/DocDBElasticClient.swift +++ b/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/DocDBElasticClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension DocDBElasticClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyClusterSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -308,9 +306,8 @@ extension DocDBElasticClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClusterInput.urlPathProvider(_:))) @@ -385,9 +382,8 @@ extension DocDBElasticClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClusterSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -460,9 +456,8 @@ extension DocDBElasticClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -532,9 +527,8 @@ extension DocDBElasticClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClusterSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -603,9 +597,8 @@ extension DocDBElasticClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -674,9 +667,8 @@ extension DocDBElasticClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetClusterSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -744,9 +736,8 @@ extension DocDBElasticClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListClusterSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -815,9 +806,8 @@ extension DocDBElasticClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -886,9 +876,8 @@ extension DocDBElasticClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -959,9 +948,8 @@ extension DocDBElasticClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreClusterFromSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1033,9 +1021,8 @@ extension DocDBElasticClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1104,9 +1091,8 @@ extension DocDBElasticClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1174,9 +1160,8 @@ extension DocDBElasticClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1247,9 +1232,8 @@ extension DocDBElasticClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1320,9 +1304,8 @@ extension DocDBElasticClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateClusterInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSDrs/Sources/AWSDrs/DrsClient.swift b/Sources/Services/AWSDrs/Sources/AWSDrs/DrsClient.swift index e0adb551509..644edea0118 100644 --- a/Sources/Services/AWSDrs/Sources/AWSDrs/DrsClient.swift +++ b/Sources/Services/AWSDrs/Sources/AWSDrs/DrsClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateSourceNetworkStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -308,9 +306,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateExtendedSourceServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -383,9 +380,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLaunchConfigurationTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -458,9 +454,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReplicationConfigurationTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -534,9 +529,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSourceNetworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -608,9 +602,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -682,9 +675,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLaunchActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -756,9 +748,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLaunchConfigurationTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -830,9 +821,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRecoveryInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -904,9 +894,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReplicationConfigurationTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -978,9 +967,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSourceNetworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1052,9 +1040,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSourceServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1125,9 +1112,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeJobLogItemsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1198,9 +1184,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1272,9 +1257,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLaunchConfigurationTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1345,9 +1329,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRecoveryInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1419,9 +1402,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRecoverySnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1493,9 +1475,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReplicationConfigurationTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1566,9 +1547,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSourceNetworksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1639,9 +1619,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSourceServersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1714,9 +1693,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisconnectRecoveryInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1788,9 +1766,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisconnectSourceServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1863,9 +1840,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportSourceNetworkCfnTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1936,9 +1912,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFailbackReplicationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2009,9 +1984,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLaunchConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2083,9 +2057,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReplicationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2156,9 +2129,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InitializeServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2227,9 +2199,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExtensibleSourceServersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2301,9 +2272,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLaunchActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2375,9 +2345,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStagingAccountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2447,9 +2416,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2519,9 +2487,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutLaunchActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2594,9 +2561,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RetryDataReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2670,9 +2636,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReverseReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2745,9 +2710,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartFailbackLaunchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2819,9 +2783,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartRecoveryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2893,9 +2856,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2968,9 +2930,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSourceNetworkRecoveryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3042,9 +3003,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSourceNetworkReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3115,9 +3075,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopFailbackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3189,9 +3148,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3264,9 +3222,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopSourceNetworkReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3338,9 +3295,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3412,9 +3368,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TerminateRecoveryInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3486,9 +3441,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3558,9 +3512,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFailbackReplicationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3633,9 +3586,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLaunchConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3708,9 +3660,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLaunchConfigurationTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3784,9 +3735,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateReplicationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3859,9 +3809,8 @@ extension DrsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateReplicationConfigurationTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/DynamoDBClient.swift b/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/DynamoDBClient.swift index 5c37978e489..d011df5796e 100644 --- a/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/DynamoDBClient.swift +++ b/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/DynamoDBClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchExecuteStatementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -304,9 +302,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -396,9 +393,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchWriteItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -481,9 +477,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBackupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -581,9 +576,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGlobalTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -664,9 +658,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -739,9 +732,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBackupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -817,9 +809,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -902,9 +893,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -986,9 +976,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1059,9 +1048,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBackupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1132,9 +1120,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeContinuousBackupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1204,9 +1191,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeContributorInsightsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1270,9 +1256,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1343,9 +1328,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1416,9 +1400,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGlobalTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1489,9 +1472,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGlobalTableSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1560,9 +1542,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeImportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1633,9 +1614,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeKinesisStreamingDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1727,9 +1707,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLimitsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1800,9 +1779,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1872,9 +1850,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTableReplicaAutoScalingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1945,9 +1922,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTimeToLiveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2029,9 +2005,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableKinesisStreamingDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2113,9 +2088,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableKinesisStreamingDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2191,9 +2165,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExecuteStatementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2421,9 +2394,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExecuteTransactionInput.urlPathProvider(_:))) @@ -2498,9 +2470,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportTableToPointInTimeInput.urlPathProvider(_:))) @@ -2574,9 +2545,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2657,9 +2627,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2739,9 +2708,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportTableInput.urlPathProvider(_:))) @@ -2812,9 +2780,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBackupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2884,9 +2851,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListContributorInsightsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2956,9 +2922,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3028,9 +2993,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGlobalTablesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3099,9 +3063,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3171,9 +3134,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTablesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3244,9 +3206,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsOfResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3322,9 +3283,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3407,9 +3367,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3482,9 +3441,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(QueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3571,9 +3529,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreTableFromBackupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3674,9 +3631,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreTableToPointInTimeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3749,9 +3705,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ScanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3840,9 +3795,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4046,9 +4000,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TransactGetItemsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4300,9 +4253,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(TransactWriteItemsInput.urlPathProvider(_:))) @@ -4392,9 +4344,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4466,9 +4417,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContinuousBackupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4538,9 +4488,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContributorInsightsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4620,9 +4569,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGlobalTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4706,9 +4654,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGlobalTableSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4784,9 +4731,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4868,9 +4814,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateKinesisStreamingDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4961,9 +4906,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5044,9 +4988,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTableReplicaAutoScalingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5128,9 +5071,8 @@ extension DynamoDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTimeToLiveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/DynamoDBStreamsClient.swift b/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/DynamoDBStreamsClient.swift index 72f2e84c10d..4e30f65a144 100644 --- a/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/DynamoDBStreamsClient.swift +++ b/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/DynamoDBStreamsClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -227,9 +226,8 @@ extension DynamoDBStreamsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension DynamoDBStreamsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRecordsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -383,9 +380,8 @@ extension DynamoDBStreamsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetShardIteratorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -455,9 +451,8 @@ extension DynamoDBStreamsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStreamsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSEBS/Sources/AWSEBS/EBSClient.swift b/Sources/Services/AWSEBS/Sources/AWSEBS/EBSClient.swift index cf77ce7a66d..495ec7a8183 100644 --- a/Sources/Services/AWSEBS/Sources/AWSEBS/EBSClient.swift +++ b/Sources/Services/AWSEBS/Sources/AWSEBS/EBSClient.swift @@ -33,7 +33,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -237,9 +236,8 @@ extension EBSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CompleteSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -310,9 +308,8 @@ extension EBSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSnapshotBlockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -383,9 +380,8 @@ extension EBSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChangedBlocksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -456,9 +452,8 @@ extension EBSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSnapshotBlocksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -529,9 +524,8 @@ extension EBSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutSnapshotBlockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -607,9 +601,8 @@ extension EBSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSnapshotInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift b/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift index 3ef607e2e8d..4a4b2fa45ec 100644 --- a/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift +++ b/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -222,9 +221,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptAddressTransferInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -287,9 +285,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptReservedInstancesExchangeQuoteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -352,9 +349,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptTransitGatewayMulticastDomainAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -417,9 +413,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptTransitGatewayPeeringAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -482,9 +477,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptTransitGatewayVpcAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -547,9 +541,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptVpcEndpointConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -612,9 +605,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptVpcPeeringConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -677,9 +669,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdvertiseByoipCidrInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -742,9 +733,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AllocateAddressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -807,9 +797,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AllocateHostsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -872,9 +861,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AllocateIpamPoolCidrInput.urlPathProvider(_:))) @@ -938,9 +926,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ApplySecurityGroupsToClientVpnTargetNetworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1003,9 +990,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssignIpv6AddressesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1068,9 +1054,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssignPrivateIpAddressesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1133,9 +1118,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssignPrivateNatGatewayAddressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1198,9 +1182,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateAddressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1263,9 +1246,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateClientVpnTargetNetworkInput.urlPathProvider(_:))) @@ -1329,9 +1311,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateDhcpOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1394,9 +1375,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateEnclaveCertificateIamRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1459,9 +1439,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateIamInstanceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1524,9 +1503,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateInstanceEventWindowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1589,9 +1567,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateIpamByoasnInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1654,9 +1631,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateIpamResourceDiscoveryInput.urlPathProvider(_:))) @@ -1720,9 +1696,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateNatGatewayAddressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1785,9 +1760,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateRouteTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1850,9 +1824,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateSubnetCidrBlockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1915,9 +1888,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateTransitGatewayMulticastDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1980,9 +1952,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateTransitGatewayPolicyTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2045,9 +2016,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateTransitGatewayRouteTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2110,9 +2080,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateTrunkInterfaceInput.urlPathProvider(_:))) @@ -2176,9 +2145,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateVpcCidrBlockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2241,9 +2209,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachClassicLinkVpcInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2306,9 +2273,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachInternetGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2371,9 +2337,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachNetworkInterfaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2436,9 +2401,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachVerifiedAccessTrustProviderInput.urlPathProvider(_:))) @@ -2513,9 +2477,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachVolumeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2578,9 +2541,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachVpnGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2643,9 +2605,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AuthorizeClientVpnIngressInput.urlPathProvider(_:))) @@ -2709,9 +2670,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AuthorizeSecurityGroupEgressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2774,9 +2734,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AuthorizeSecurityGroupIngressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2839,9 +2798,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BundleInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2904,9 +2862,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelBundleTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2969,9 +2926,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelCapacityReservationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3040,9 +2996,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelCapacityReservationFleetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3105,9 +3060,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelConversionTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3170,9 +3124,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelExportTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3235,9 +3188,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelImageLaunchPermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3300,9 +3252,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelImportTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3365,9 +3316,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelReservedInstancesListingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3432,9 +3382,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelSpotFleetRequestsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3497,9 +3446,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelSpotInstanceRequestsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3562,9 +3510,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConfirmProductInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3627,9 +3574,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyFpgaImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3692,9 +3638,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3757,9 +3702,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopySnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3822,9 +3766,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCapacityReservationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3887,9 +3830,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCapacityReservationBySplittingInput.urlPathProvider(_:))) @@ -3953,9 +3895,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCapacityReservationFleetInput.urlPathProvider(_:))) @@ -4019,9 +3960,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCarrierGatewayInput.urlPathProvider(_:))) @@ -4085,9 +4025,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClientVpnEndpointInput.urlPathProvider(_:))) @@ -4151,9 +4090,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClientVpnRouteInput.urlPathProvider(_:))) @@ -4217,9 +4155,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCoipCidrInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4282,9 +4219,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCoipPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4347,9 +4283,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCustomerGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4412,9 +4347,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDefaultSubnetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4477,9 +4411,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDefaultVpcInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4554,9 +4487,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDhcpOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4619,9 +4551,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEgressOnlyInternetGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4684,9 +4615,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4749,9 +4679,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFlowLogsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4814,9 +4743,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFpgaImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4879,9 +4807,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4944,9 +4871,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInstanceConnectEndpointInput.urlPathProvider(_:))) @@ -5017,9 +4943,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInstanceEventWindowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5082,9 +5007,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInstanceExportTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5147,9 +5071,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInternetGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5212,9 +5135,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIpamInput.urlPathProvider(_:))) @@ -5278,9 +5200,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIpamExternalResourceVerificationTokenInput.urlPathProvider(_:))) @@ -5344,9 +5265,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIpamPoolInput.urlPathProvider(_:))) @@ -5410,9 +5330,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIpamResourceDiscoveryInput.urlPathProvider(_:))) @@ -5476,9 +5395,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIpamScopeInput.urlPathProvider(_:))) @@ -5542,9 +5460,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateKeyPairInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5607,9 +5524,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLaunchTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5672,9 +5588,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLaunchTemplateVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5741,9 +5656,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLocalGatewayRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5806,9 +5720,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLocalGatewayRouteTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5871,9 +5784,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5936,9 +5848,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLocalGatewayRouteTableVpcAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6001,9 +5912,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateManagedPrefixListInput.urlPathProvider(_:))) @@ -6067,9 +5977,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNatGatewayInput.urlPathProvider(_:))) @@ -6133,9 +6042,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNetworkAclInput.urlPathProvider(_:))) @@ -6199,9 +6107,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNetworkAclEntryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6264,9 +6171,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNetworkInsightsAccessScopeInput.urlPathProvider(_:))) @@ -6330,9 +6236,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNetworkInsightsPathInput.urlPathProvider(_:))) @@ -6396,9 +6301,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNetworkInterfaceInput.urlPathProvider(_:))) @@ -6462,9 +6366,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNetworkInterfacePermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6527,9 +6430,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePlacementGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6592,9 +6494,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePublicIpv4PoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6657,9 +6558,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReplaceRootVolumeTaskInput.urlPathProvider(_:))) @@ -6723,9 +6623,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReservedInstancesListingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6788,9 +6687,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRestoreImageTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6860,9 +6758,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6925,9 +6822,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRouteTableInput.urlPathProvider(_:))) @@ -6991,9 +6887,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSecurityGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7056,9 +6951,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7121,9 +7015,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7186,9 +7079,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSpotDatafeedSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7251,9 +7143,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStoreImageTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7316,9 +7207,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSubnetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7381,9 +7271,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSubnetCidrReservationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7446,9 +7335,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7511,9 +7399,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTrafficMirrorFilterInput.urlPathProvider(_:))) @@ -7577,9 +7464,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTrafficMirrorFilterRuleInput.urlPathProvider(_:))) @@ -7643,9 +7529,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTrafficMirrorSessionInput.urlPathProvider(_:))) @@ -7709,9 +7594,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTrafficMirrorTargetInput.urlPathProvider(_:))) @@ -7775,9 +7659,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTransitGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7840,9 +7723,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTransitGatewayConnectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7905,9 +7787,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTransitGatewayConnectPeerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7970,9 +7851,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTransitGatewayMulticastDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8035,9 +7915,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTransitGatewayPeeringAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8100,9 +7979,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTransitGatewayPolicyTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8165,9 +8043,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTransitGatewayPrefixListReferenceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8230,9 +8107,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTransitGatewayRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8295,9 +8171,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTransitGatewayRouteTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8360,9 +8235,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTransitGatewayRouteTableAnnouncementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8425,9 +8299,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTransitGatewayVpcAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8490,9 +8363,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVerifiedAccessEndpointInput.urlPathProvider(_:))) @@ -8556,9 +8428,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVerifiedAccessGroupInput.urlPathProvider(_:))) @@ -8622,9 +8493,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVerifiedAccessInstanceInput.urlPathProvider(_:))) @@ -8688,9 +8558,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVerifiedAccessTrustProviderInput.urlPathProvider(_:))) @@ -8754,9 +8623,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVolumeInput.urlPathProvider(_:))) @@ -8820,9 +8688,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVpcInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8885,9 +8752,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVpcEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8950,9 +8816,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVpcEndpointConnectionNotificationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9022,9 +8887,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVpcEndpointServiceConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9087,9 +8951,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVpcPeeringConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9152,9 +9015,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVpnConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9217,9 +9079,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVpnConnectionRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9282,9 +9143,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVpnGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9347,9 +9207,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCarrierGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9412,9 +9271,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClientVpnEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9477,9 +9335,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClientVpnRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9542,9 +9399,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCoipCidrInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9607,9 +9463,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCoipPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9672,9 +9527,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCustomerGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9737,9 +9591,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDhcpOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9802,9 +9655,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEgressOnlyInternetGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9878,9 +9730,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFleetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9943,9 +9794,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFlowLogsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10008,9 +9858,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFpgaImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10073,9 +9922,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInstanceConnectEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10138,9 +9986,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInstanceEventWindowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10203,9 +10050,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInternetGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10268,9 +10114,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIpamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10333,9 +10178,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIpamExternalResourceVerificationTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10398,9 +10242,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIpamPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10463,9 +10306,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIpamResourceDiscoveryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10528,9 +10370,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIpamScopeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10593,9 +10434,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteKeyPairInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10658,9 +10498,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLaunchTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10723,9 +10562,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLaunchTemplateVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10788,9 +10626,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLocalGatewayRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10853,9 +10690,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLocalGatewayRouteTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10918,9 +10754,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10983,9 +10818,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLocalGatewayRouteTableVpcAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11048,9 +10882,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteManagedPrefixListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11113,9 +10946,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNatGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11178,9 +11010,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNetworkAclInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11243,9 +11074,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNetworkAclEntryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11308,9 +11138,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNetworkInsightsAccessScopeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11373,9 +11202,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNetworkInsightsAccessScopeAnalysisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11438,9 +11266,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNetworkInsightsAnalysisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11503,9 +11330,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNetworkInsightsPathInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11568,9 +11394,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNetworkInterfaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11633,9 +11458,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNetworkInterfacePermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11698,9 +11522,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePlacementGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11763,9 +11586,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePublicIpv4PoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11828,9 +11650,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteQueuedReservedInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11893,9 +11714,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11958,9 +11778,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRouteTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12023,9 +11842,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSecurityGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12088,9 +11906,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12153,9 +11970,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSpotDatafeedSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12218,9 +12034,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSubnetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12283,9 +12098,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSubnetCidrReservationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12348,9 +12162,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12413,9 +12226,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTrafficMirrorFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12478,9 +12290,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTrafficMirrorFilterRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12543,9 +12354,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTrafficMirrorSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12608,9 +12418,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTrafficMirrorTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12673,9 +12482,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTransitGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12738,9 +12546,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTransitGatewayConnectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12803,9 +12610,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTransitGatewayConnectPeerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12868,9 +12674,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTransitGatewayMulticastDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12933,9 +12738,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTransitGatewayPeeringAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12998,9 +12802,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTransitGatewayPolicyTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13063,9 +12866,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTransitGatewayPrefixListReferenceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13128,9 +12930,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTransitGatewayRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13193,9 +12994,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTransitGatewayRouteTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13258,9 +13058,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTransitGatewayRouteTableAnnouncementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13323,9 +13122,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTransitGatewayVpcAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13388,9 +13186,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVerifiedAccessEndpointInput.urlPathProvider(_:))) @@ -13454,9 +13251,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVerifiedAccessGroupInput.urlPathProvider(_:))) @@ -13520,9 +13316,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVerifiedAccessInstanceInput.urlPathProvider(_:))) @@ -13586,9 +13381,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVerifiedAccessTrustProviderInput.urlPathProvider(_:))) @@ -13652,9 +13446,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVolumeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13717,9 +13510,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVpcInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13782,9 +13574,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVpcEndpointConnectionNotificationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13847,9 +13638,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVpcEndpointServiceConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13912,9 +13702,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVpcEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13977,9 +13766,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVpcPeeringConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14042,9 +13830,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVpnConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14107,9 +13894,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVpnConnectionRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14172,9 +13958,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVpnGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14237,9 +14022,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeprovisionByoipCidrInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14302,9 +14086,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeprovisionIpamByoasnInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14367,9 +14150,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeprovisionIpamPoolCidrInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14432,9 +14214,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeprovisionPublicIpv4PoolCidrInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14497,9 +14278,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14562,9 +14342,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterInstanceEventNotificationAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14627,9 +14406,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterTransitGatewayMulticastGroupMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14692,9 +14470,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterTransitGatewayMulticastGroupSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14772,9 +14549,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14837,9 +14613,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAddressTransfersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14902,9 +14677,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAddressesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14967,9 +14741,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAddressesAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15032,9 +14805,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAggregateIdFormatInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15097,9 +14869,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAvailabilityZonesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15162,9 +14933,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAwsNetworkPerformanceMetricSubscriptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15227,9 +14997,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBundleTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15292,9 +15061,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeByoipCidrsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15357,9 +15125,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCapacityBlockOfferingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15422,9 +15189,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCapacityReservationFleetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15487,9 +15253,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCapacityReservationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15552,9 +15317,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCarrierGatewaysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15617,9 +15381,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClassicLinkInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15682,9 +15445,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClientVpnAuthorizationRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15747,9 +15509,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClientVpnConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15812,9 +15573,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClientVpnEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15877,9 +15637,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClientVpnRoutesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15942,9 +15701,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClientVpnTargetNetworksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16007,9 +15765,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCoipPoolsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16072,9 +15829,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConversionTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16137,9 +15893,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCustomerGatewaysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16202,9 +15957,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDhcpOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16267,9 +16021,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEgressOnlyInternetGatewaysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16332,9 +16085,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeElasticGpusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16397,9 +16149,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeExportImageTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16462,9 +16213,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeExportTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16527,9 +16277,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFastLaunchImagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16592,9 +16341,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFastSnapshotRestoresInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16657,9 +16405,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFleetHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16722,9 +16469,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFleetInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16787,9 +16533,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFleetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16852,9 +16597,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFlowLogsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16917,9 +16661,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFpgaImageAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16982,9 +16725,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFpgaImagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17047,9 +16789,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeHostReservationOfferingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17112,9 +16853,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeHostReservationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17177,9 +16917,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeHostsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17242,9 +16981,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIamInstanceProfileAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17307,9 +17045,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIdFormatInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17372,9 +17109,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIdentityIdFormatInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17437,9 +17173,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeImageAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17502,9 +17237,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeImagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17567,9 +17301,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeImportImageTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17632,9 +17365,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeImportSnapshotTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17697,9 +17429,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstanceAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17762,9 +17493,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstanceConnectEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17827,9 +17557,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstanceCreditSpecificationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17892,9 +17621,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstanceEventNotificationAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17957,9 +17685,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstanceEventWindowsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18031,9 +17758,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstanceStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18119,9 +17845,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstanceTopologyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18184,9 +17909,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstanceTypeOfferingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18249,9 +17973,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstanceTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18314,9 +18037,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18379,9 +18101,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInternetGatewaysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18444,9 +18165,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIpamByoasnInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18509,9 +18229,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIpamExternalResourceVerificationTokensInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18574,9 +18293,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIpamPoolsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18639,9 +18357,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIpamResourceDiscoveriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18704,9 +18421,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIpamResourceDiscoveryAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18769,9 +18485,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIpamScopesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18834,9 +18549,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIpamsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18899,9 +18613,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIpv6PoolsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18964,9 +18677,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeKeyPairsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19029,9 +18741,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLaunchTemplateVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19094,9 +18805,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLaunchTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19159,9 +18869,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19224,9 +18933,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLocalGatewayRouteTableVpcAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19289,9 +18997,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLocalGatewayRouteTablesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19354,9 +19061,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLocalGatewayVirtualInterfaceGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19419,9 +19125,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLocalGatewayVirtualInterfacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19484,9 +19189,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLocalGatewaysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19549,9 +19253,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLockedSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19614,9 +19317,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMacHostsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19679,9 +19381,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeManagedPrefixListsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19744,9 +19445,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMovingAddressesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19809,9 +19509,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNatGatewaysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19874,9 +19573,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNetworkAclsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19939,9 +19637,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNetworkInsightsAccessScopeAnalysesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20004,9 +19701,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNetworkInsightsAccessScopesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20069,9 +19765,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNetworkInsightsAnalysesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20134,9 +19829,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNetworkInsightsPathsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20199,9 +19893,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNetworkInterfaceAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20264,9 +19957,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNetworkInterfacePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20329,9 +20021,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNetworkInterfacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20394,9 +20085,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePlacementGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20459,9 +20149,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePrefixListsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20524,9 +20213,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePrincipalIdFormatInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20589,9 +20277,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePublicIpv4PoolsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20654,9 +20341,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRegionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20719,9 +20405,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReplaceRootVolumeTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20784,9 +20469,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReservedInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20849,9 +20533,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReservedInstancesListingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20914,9 +20597,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReservedInstancesModificationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20979,9 +20661,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReservedInstancesOfferingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21044,9 +20725,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRouteTablesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21109,9 +20789,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeScheduledInstanceAvailabilityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21174,9 +20853,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeScheduledInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21239,9 +20917,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSecurityGroupReferencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21304,9 +20981,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSecurityGroupRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21369,9 +21045,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSecurityGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21434,9 +21109,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSnapshotAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21499,9 +21173,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSnapshotTierStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21573,9 +21246,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21638,9 +21310,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSpotDatafeedSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21703,9 +21374,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSpotFleetInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21768,9 +21438,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSpotFleetRequestHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21833,9 +21502,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSpotFleetRequestsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21898,9 +21566,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSpotInstanceRequestsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21963,9 +21630,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSpotPriceHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22028,9 +21694,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStaleSecurityGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22093,9 +21758,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStoreImageTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22158,9 +21822,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSubnetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22223,9 +21886,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22288,9 +21950,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTrafficMirrorFilterRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22353,9 +22014,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTrafficMirrorFiltersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22418,9 +22078,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTrafficMirrorSessionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22483,9 +22142,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTrafficMirrorTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22548,9 +22206,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTransitGatewayAttachmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22613,9 +22270,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTransitGatewayConnectPeersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22678,9 +22334,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTransitGatewayConnectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22743,9 +22398,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTransitGatewayMulticastDomainsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22808,9 +22462,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTransitGatewayPeeringAttachmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22873,9 +22526,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTransitGatewayPolicyTablesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22938,9 +22590,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTransitGatewayRouteTableAnnouncementsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23003,9 +22654,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTransitGatewayRouteTablesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23068,9 +22718,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTransitGatewayVpcAttachmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23133,9 +22782,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTransitGatewaysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23198,9 +22846,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTrunkInterfaceAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23263,9 +22910,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVerifiedAccessEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23328,9 +22974,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVerifiedAccessGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23393,9 +23038,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVerifiedAccessInstanceLoggingConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23458,9 +23102,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVerifiedAccessInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23523,9 +23166,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVerifiedAccessTrustProvidersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23588,9 +23230,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVolumeAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23653,9 +23294,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVolumeStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23718,9 +23358,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVolumesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23783,9 +23422,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVolumesModificationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23848,9 +23486,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVpcAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23913,9 +23550,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVpcClassicLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23978,9 +23614,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVpcClassicLinkDnsSupportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -24043,9 +23678,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVpcEndpointConnectionNotificationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -24108,9 +23742,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVpcEndpointConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -24173,9 +23806,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVpcEndpointServiceConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -24238,9 +23870,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVpcEndpointServicePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -24303,9 +23934,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVpcEndpointServicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -24368,9 +23998,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVpcEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -24433,9 +24062,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVpcPeeringConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -24498,9 +24126,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVpcsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -24563,9 +24190,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVpnConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -24628,9 +24254,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVpnGatewaysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -24693,9 +24318,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachClassicLinkVpcInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -24758,9 +24382,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachInternetGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -24823,9 +24446,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachNetworkInterfaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -24888,9 +24510,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachVerifiedAccessTrustProviderInput.urlPathProvider(_:))) @@ -24954,9 +24575,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachVolumeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -25019,9 +24639,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachVpnGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -25084,9 +24703,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableAddressTransferInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -25149,9 +24767,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableAwsNetworkPerformanceMetricSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -25214,9 +24831,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableEbsEncryptionByDefaultInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -25279,9 +24895,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableFastLaunchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -25344,9 +24959,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableFastSnapshotRestoresInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -25409,9 +25023,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -25474,9 +25087,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableImageBlockPublicAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -25539,9 +25151,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableImageDeprecationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -25604,9 +25215,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableImageDeregistrationProtectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -25669,9 +25279,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableIpamOrganizationAdminAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -25734,9 +25343,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableSerialConsoleAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -25799,9 +25407,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableSnapshotBlockPublicAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -25864,9 +25471,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableTransitGatewayRouteTablePropagationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -25929,9 +25535,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableVgwRoutePropagationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -25994,9 +25599,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableVpcClassicLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -26059,9 +25663,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableVpcClassicLinkDnsSupportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -26124,9 +25727,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateAddressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -26197,9 +25799,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateClientVpnTargetNetworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -26262,9 +25863,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateEnclaveCertificateIamRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -26327,9 +25927,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateIamInstanceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -26392,9 +25991,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateInstanceEventWindowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -26457,9 +26055,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateIpamByoasnInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -26522,9 +26119,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateIpamResourceDiscoveryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -26587,9 +26183,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateNatGatewayAddressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -26652,9 +26247,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateRouteTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -26717,9 +26311,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateSubnetCidrBlockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -26782,9 +26375,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateTransitGatewayMulticastDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -26847,9 +26439,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateTransitGatewayPolicyTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -26912,9 +26503,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateTransitGatewayRouteTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -26977,9 +26567,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateTrunkInterfaceInput.urlPathProvider(_:))) @@ -27043,9 +26632,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateVpcCidrBlockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -27108,9 +26696,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableAddressTransferInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -27173,9 +26760,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableAwsNetworkPerformanceMetricSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -27238,9 +26824,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableEbsEncryptionByDefaultInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -27303,9 +26888,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableFastLaunchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -27368,9 +26952,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableFastSnapshotRestoresInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -27433,9 +27016,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -27498,9 +27080,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableImageBlockPublicAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -27563,9 +27144,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableImageDeprecationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -27628,9 +27208,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableImageDeregistrationProtectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -27693,9 +27272,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableIpamOrganizationAdminAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -27758,9 +27336,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableReachabilityAnalyzerOrganizationSharingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -27823,9 +27400,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableSerialConsoleAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -27888,9 +27464,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableSnapshotBlockPublicAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -27953,9 +27528,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableTransitGatewayRouteTablePropagationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -28018,9 +27592,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableVgwRoutePropagationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -28083,9 +27656,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableVolumeIOInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -28148,9 +27720,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableVpcClassicLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -28213,9 +27784,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableVpcClassicLinkDnsSupportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -28278,9 +27848,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportClientVpnClientCertificateRevocationListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -28343,9 +27912,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportClientVpnClientConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -28408,9 +27976,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportImageInput.urlPathProvider(_:))) @@ -28474,9 +28041,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportTransitGatewayRoutesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -28539,9 +28105,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssociatedEnclaveCertificateIamRolesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -28604,9 +28169,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssociatedIpv6PoolCidrsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -28669,9 +28233,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAwsNetworkPerformanceDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -28734,9 +28297,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCapacityReservationUsageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -28799,9 +28361,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCoipPoolUsageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -28864,9 +28425,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConsoleOutputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -28929,9 +28489,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConsoleScreenshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -28994,9 +28553,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDefaultCreditSpecificationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -29059,9 +28617,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEbsDefaultKmsKeyIdInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -29124,9 +28681,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEbsEncryptionByDefaultInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -29200,9 +28756,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFlowLogsIntegrationTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -29265,9 +28820,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGroupsForCapacityReservationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -29330,9 +28884,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetHostReservationPurchasePreviewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -29395,9 +28948,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetImageBlockPublicAccessStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -29460,9 +29012,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInstanceMetadataDefaultsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -29525,9 +29076,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInstanceTpmEkPubInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -29590,9 +29140,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInstanceTypesFromInstanceRequirementsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -29655,9 +29204,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInstanceUefiDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -29720,9 +29268,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIpamAddressHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -29785,9 +29332,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIpamDiscoveredAccountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -29850,9 +29396,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIpamDiscoveredPublicAddressesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -29915,9 +29460,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIpamDiscoveredResourceCidrsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -29980,9 +29524,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIpamPoolAllocationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -30045,9 +29588,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIpamPoolCidrsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -30110,9 +29652,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIpamResourceCidrsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -30175,9 +29716,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLaunchTemplateDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -30240,9 +29780,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetManagedPrefixListAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -30305,9 +29844,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetManagedPrefixListEntriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -30370,9 +29908,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetNetworkInsightsAccessScopeAnalysisFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -30435,9 +29972,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetNetworkInsightsAccessScopeContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -30500,9 +30036,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPasswordDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -30565,9 +30100,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReservedInstancesExchangeQuoteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -30630,9 +30164,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSecurityGroupsForVpcInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -30695,9 +30228,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSerialConsoleAccessStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -30760,9 +30292,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSnapshotBlockPublicAccessStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -30825,9 +30356,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSpotPlacementScoresInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -30890,9 +30420,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSubnetCidrReservationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -30955,9 +30484,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTransitGatewayAttachmentPropagationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -31020,9 +30548,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTransitGatewayMulticastDomainAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -31085,9 +30612,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTransitGatewayPolicyTableAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -31150,9 +30676,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTransitGatewayPolicyTableEntriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -31215,9 +30740,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTransitGatewayPrefixListReferencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -31280,9 +30804,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTransitGatewayRouteTableAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -31345,9 +30868,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTransitGatewayRouteTablePropagationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -31410,9 +30932,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVerifiedAccessEndpointPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -31475,9 +30996,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVerifiedAccessGroupPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -31540,9 +31060,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVpnConnectionDeviceSampleConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -31605,9 +31124,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVpnConnectionDeviceTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -31670,9 +31188,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVpnTunnelReplacementStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -31735,9 +31252,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportClientVpnClientCertificateRevocationListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -31800,9 +31316,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -31865,9 +31380,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -31930,9 +31444,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportKeyPairInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -31995,9 +31508,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -32060,9 +31572,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportVolumeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -32125,9 +31636,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImagesInRecycleBinInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -32190,9 +31700,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSnapshotsInRecycleBinInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -32261,9 +31770,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(LockSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -32326,9 +31834,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyAddressAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -32391,9 +31898,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyAvailabilityZoneGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -32456,9 +31962,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyCapacityReservationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -32521,9 +32026,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyCapacityReservationFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -32586,9 +32090,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyClientVpnEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -32651,9 +32154,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDefaultCreditSpecificationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -32716,9 +32218,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyEbsDefaultKmsKeyIdInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -32781,9 +32282,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -32846,9 +32346,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyFpgaImageAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -32911,9 +32410,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyHostsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -32976,9 +32474,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyIdFormatInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -33041,9 +32538,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyIdentityIdFormatInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -33106,9 +32602,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyImageAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -33171,9 +32666,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyInstanceAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -33236,9 +32730,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyInstanceCapacityReservationAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -33301,9 +32794,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyInstanceCreditSpecificationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -33366,9 +32858,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyInstanceEventStartTimeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -33431,9 +32922,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyInstanceEventWindowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -33496,9 +32986,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyInstanceMaintenanceOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -33561,9 +33050,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyInstanceMetadataDefaultsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -33626,9 +33114,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyInstanceMetadataOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -33702,9 +33189,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyInstancePlacementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -33767,9 +33253,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyIpamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -33832,9 +33317,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyIpamPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -33897,9 +33381,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyIpamResourceCidrInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -33962,9 +33445,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyIpamResourceDiscoveryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -34027,9 +33509,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyIpamScopeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -34092,9 +33573,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyLaunchTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -34157,9 +33637,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyLocalGatewayRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -34222,9 +33701,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyManagedPrefixListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -34287,9 +33765,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyNetworkInterfaceAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -34352,9 +33829,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyPrivateDnsNameOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -34417,9 +33893,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyReservedInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -34482,9 +33957,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifySecurityGroupRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -34547,9 +34021,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifySnapshotAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -34612,9 +34085,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifySnapshotTierInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -34677,9 +34149,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifySpotFleetRequestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -34753,9 +34224,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifySubnetAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -34818,9 +34288,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyTrafficMirrorFilterNetworkServicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -34883,9 +34352,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyTrafficMirrorFilterRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -34948,9 +34416,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyTrafficMirrorSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -35013,9 +34480,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyTransitGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -35078,9 +34544,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyTransitGatewayPrefixListReferenceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -35143,9 +34608,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyTransitGatewayVpcAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -35208,9 +34672,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyVerifiedAccessEndpointInput.urlPathProvider(_:))) @@ -35274,9 +34737,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyVerifiedAccessEndpointPolicyInput.urlPathProvider(_:))) @@ -35340,9 +34802,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyVerifiedAccessGroupInput.urlPathProvider(_:))) @@ -35406,9 +34867,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyVerifiedAccessGroupPolicyInput.urlPathProvider(_:))) @@ -35472,9 +34932,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyVerifiedAccessInstanceInput.urlPathProvider(_:))) @@ -35538,9 +34997,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyVerifiedAccessInstanceLoggingConfigurationInput.urlPathProvider(_:))) @@ -35604,9 +35062,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyVerifiedAccessTrustProviderInput.urlPathProvider(_:))) @@ -35670,9 +35127,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyVolumeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -35735,9 +35191,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyVolumeAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -35800,9 +35255,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyVpcAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -35865,9 +35319,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyVpcEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -35930,9 +35383,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyVpcEndpointConnectionNotificationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -35995,9 +35447,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyVpcEndpointServiceConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -36060,9 +35511,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyVpcEndpointServicePayerResponsibilityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -36125,9 +35575,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyVpcEndpointServicePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -36190,9 +35639,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyVpcPeeringConnectionOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -36255,9 +35703,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyVpcTenancyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -36331,9 +35778,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyVpnConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -36396,9 +35842,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyVpnConnectionOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -36461,9 +35906,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyVpnTunnelCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -36526,9 +35970,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyVpnTunnelOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -36591,9 +36034,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(MonitorInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -36656,9 +36098,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(MoveAddressToVpcInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -36721,9 +36162,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(MoveByoipCidrToIpamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -36798,9 +36238,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(MoveCapacityReservationInstancesInput.urlPathProvider(_:))) @@ -36864,9 +36303,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ProvisionByoipCidrInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -36929,9 +36367,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ProvisionIpamByoasnInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -36994,9 +36431,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ProvisionIpamPoolCidrInput.urlPathProvider(_:))) @@ -37060,9 +36496,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ProvisionPublicIpv4PoolCidrInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -37125,9 +36560,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PurchaseCapacityBlockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -37190,9 +36624,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PurchaseHostReservationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -37255,9 +36688,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PurchaseReservedInstancesOfferingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -37320,9 +36752,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PurchaseScheduledInstancesInput.urlPathProvider(_:))) @@ -37386,9 +36817,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RebootInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -37451,9 +36881,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -37516,9 +36945,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterInstanceEventNotificationAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -37581,9 +37009,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterTransitGatewayMulticastGroupMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -37646,9 +37073,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterTransitGatewayMulticastGroupSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -37711,9 +37137,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectTransitGatewayMulticastDomainAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -37776,9 +37201,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectTransitGatewayPeeringAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -37841,9 +37265,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectTransitGatewayVpcAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -37906,9 +37329,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectVpcEndpointConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -37971,9 +37393,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectVpcPeeringConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -38036,9 +37457,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReleaseAddressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -38101,9 +37521,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReleaseHostsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -38166,9 +37585,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReleaseIpamPoolAllocationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -38231,9 +37649,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReplaceIamInstanceProfileAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -38296,9 +37713,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReplaceNetworkAclAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -38361,9 +37777,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReplaceNetworkAclEntryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -38426,9 +37841,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReplaceRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -38491,9 +37905,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReplaceRouteTableAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -38556,9 +37969,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReplaceTransitGatewayRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -38621,9 +38033,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReplaceVpnTunnelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -38686,9 +38097,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReportInstanceStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -38751,9 +38161,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RequestSpotFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -38816,9 +38225,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RequestSpotInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -38881,9 +38289,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetAddressAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -38946,9 +38353,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetEbsDefaultKmsKeyIdInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -39011,9 +38417,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetFpgaImageAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -39076,9 +38481,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetImageAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -39141,9 +38545,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetInstanceAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -39206,9 +38609,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetNetworkInterfaceAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -39271,9 +38673,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetSnapshotAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -39336,9 +38737,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreAddressToClassicInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -39401,9 +38801,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreImageFromRecycleBinInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -39466,9 +38865,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreManagedPrefixListVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -39531,9 +38929,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreSnapshotFromRecycleBinInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -39596,9 +38993,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreSnapshotTierInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -39661,9 +39057,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RevokeClientVpnIngressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -39726,9 +39121,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RevokeSecurityGroupEgressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -39791,9 +39185,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RevokeSecurityGroupIngressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -39869,9 +39262,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(RunInstancesInput.urlPathProvider(_:))) @@ -39935,9 +39327,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(RunScheduledInstancesInput.urlPathProvider(_:))) @@ -40001,9 +39392,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchLocalGatewayRoutesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -40066,9 +39456,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchTransitGatewayMulticastGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -40131,9 +39520,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchTransitGatewayRoutesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -40196,9 +39584,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendDiagnosticInterruptInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -40261,9 +39648,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -40326,9 +39712,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartNetworkInsightsAccessScopeAnalysisInput.urlPathProvider(_:))) @@ -40392,9 +39777,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartNetworkInsightsAnalysisInput.urlPathProvider(_:))) @@ -40458,9 +39842,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartVpcEndpointServicePrivateDnsVerificationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -40523,9 +39906,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -40588,9 +39970,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TerminateClientVpnConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -40678,9 +40059,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TerminateInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -40743,9 +40123,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UnassignIpv6AddressesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -40808,9 +40187,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UnassignPrivateIpAddressesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -40873,9 +40251,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UnassignPrivateNatGatewayAddressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -40938,9 +40315,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UnlockSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -41003,9 +40379,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UnmonitorInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -41068,9 +40443,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSecurityGroupRuleDescriptionsEgressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -41133,9 +40507,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSecurityGroupRuleDescriptionsIngressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -41198,9 +40571,8 @@ extension EC2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(WithdrawByoipCidrInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/EC2InstanceConnectClient.swift b/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/EC2InstanceConnectClient.swift index c0e6ae5fd51..d599fdea992 100644 --- a/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/EC2InstanceConnectClient.swift +++ b/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/EC2InstanceConnectClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension EC2InstanceConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendSSHPublicKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -314,9 +312,8 @@ extension EC2InstanceConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendSerialConsoleSSHPublicKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSECR/Sources/AWSECR/ECRClient.swift b/Sources/Services/AWSECR/Sources/AWSECR/ECRClient.swift index e8d2c38d58c..da05748003d 100644 --- a/Sources/Services/AWSECR/Sources/AWSECR/ECRClient.swift +++ b/Sources/Services/AWSECR/Sources/AWSECR/ECRClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchCheckLayerAvailabilityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -302,9 +300,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -377,9 +374,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -451,9 +447,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetRepositoryScanningConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -530,9 +525,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CompleteLayerUploadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -609,9 +603,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePullThroughCacheRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -686,9 +679,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -761,9 +753,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRepositoryCreationTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -836,9 +827,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLifecyclePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -910,9 +900,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePullThroughCacheRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -984,9 +973,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRegistryPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1059,9 +1047,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1133,9 +1120,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRepositoryCreationTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1207,9 +1193,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRepositoryPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1282,9 +1267,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeImageReplicationStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1358,9 +1342,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeImageScanFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1432,9 +1415,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeImagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1506,9 +1488,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePullThroughCacheRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1579,9 +1560,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRegistryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1652,9 +1632,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRepositoriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1725,9 +1704,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRepositoryCreationTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1798,9 +1776,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountSettingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1870,9 +1847,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAuthorizationTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1946,9 +1922,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDownloadUrlForLayerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2021,9 +1996,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLifecyclePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2096,9 +2070,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLifecyclePolicyPreviewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2170,9 +2143,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRegistryPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2243,9 +2215,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRegistryScanningConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2317,9 +2288,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRepositoryPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2391,9 +2361,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InitiateLayerUploadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2464,9 +2433,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2537,9 +2505,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2611,9 +2578,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAccountSettingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2691,9 +2657,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2765,9 +2730,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutImageScanningConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2838,9 +2802,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutImageTagMutabilityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2912,9 +2875,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutLifecyclePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2985,9 +2947,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRegistryPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3058,9 +3019,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRegistryScanningConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3131,9 +3091,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutReplicationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3204,9 +3163,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetRepositoryPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3281,9 +3239,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartImageScanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3357,9 +3314,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartLifecyclePolicyPreviewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3432,9 +3388,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3507,9 +3462,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3584,9 +3538,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePullThroughCacheRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3658,9 +3611,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRepositoryCreationTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3735,9 +3687,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UploadLayerPartInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3809,9 +3760,8 @@ extension ECRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ValidatePullThroughCacheRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSECR/Sources/AWSECR/Models.swift b/Sources/Services/AWSECR/Sources/AWSECR/Models.swift index 517a7a28079..81b386aab12 100644 --- a/Sources/Services/AWSECR/Sources/AWSECR/Models.swift +++ b/Sources/Services/AWSECR/Sources/AWSECR/Models.swift @@ -1244,12 +1244,14 @@ extension ECRClientTypes { public enum EncryptionType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { case aes256 case kms + case kmsDsse case sdkUnknown(Swift.String) public static var allCases: [EncryptionType] { return [ .aes256, - .kms + .kms, + .kmsDsse ] } @@ -1262,6 +1264,7 @@ extension ECRClientTypes { switch self { case .aes256: return "AES256" case .kms: return "KMS" + case .kmsDsse: return "KMS_DSSE" case let .sdkUnknown(s): return s } } @@ -1271,7 +1274,7 @@ extension ECRClientTypes { extension ECRClientTypes { /// The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest. By default, when no encryption configuration is set or the AES256 encryption type is used, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts your data at rest using an AES256 encryption algorithm. This does not require any action on your part. For more control over the encryption of the contents of your repository, you can use server-side encryption with Key Management Service key stored in Key Management Service (KMS) to encrypt your images. For more information, see [Amazon ECR encryption at rest](https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html) in the Amazon Elastic Container Registry User Guide. public struct EncryptionConfiguration { - /// The encryption type to use. If you use the KMS encryption type, the contents of the repository will be encrypted using server-side encryption with Key Management Service key stored in KMS. When you use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your own KMS key, which you already created. For more information, see [Protecting data using server-side encryption with an KMS key stored in Key Management Service (SSE-KMS)](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html) in the Amazon Simple Storage Service Console Developer Guide. If you use the AES256 encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm. For more information, see [Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3)](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html) in the Amazon Simple Storage Service Console Developer Guide. + /// The encryption type to use. If you use the KMS encryption type, the contents of the repository will be encrypted using server-side encryption with Key Management Service key stored in KMS. When you use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your own KMS key, which you already created. If you use the KMS_DSSE encryption type, the contents of the repository will be encrypted with two layers of encryption using server-side encryption with the KMS Management Service key stored in KMS. Similar to the KMS encryption type, you can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your own KMS key, which you've already created. If you use the AES256 encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm. For more information, see [Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3)](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html) in the Amazon Simple Storage Service Console Developer Guide. /// This member is required. public var encryptionType: ECRClientTypes.EncryptionType? /// If you use the KMS encryption type, specify the KMS key to use for encryption. The alias, key ID, or full ARN of the KMS key can be specified. The key must exist in the same Region as the repository. If no key is specified, the default Amazon Web Services managed KMS key for Amazon ECR will be used. diff --git a/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/ECRPUBLICClient.swift b/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/ECRPUBLICClient.swift index 328554817b5..568afe3bedc 100644 --- a/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/ECRPUBLICClient.swift +++ b/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/ECRPUBLICClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchCheckLayerAvailabilityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -385,9 +382,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CompleteLayerUploadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -462,9 +458,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -537,9 +532,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -612,9 +606,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRepositoryPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -686,9 +679,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeImageTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -761,9 +753,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeImagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -834,9 +825,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRegistriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -908,9 +898,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRepositoriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -981,9 +970,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAuthorizationTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1053,9 +1041,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRegistryCatalogDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1128,9 +1115,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRepositoryCatalogDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1203,9 +1189,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRepositoryPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1278,9 +1263,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InitiateLayerUploadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1352,9 +1336,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1433,9 +1416,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1506,9 +1488,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRegistryCatalogDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1580,9 +1561,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRepositoryCatalogDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1654,9 +1634,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetRepositoryPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1730,9 +1709,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1806,9 +1784,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1884,9 +1861,8 @@ extension ECRPUBLICClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UploadLayerPartInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift b/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift index 367d67e5867..d7a1a680e81 100644 --- a/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift +++ b/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCapacityProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -310,9 +308,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -398,9 +395,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -481,9 +477,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTaskSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -556,9 +551,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccountSettingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -629,9 +623,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -704,9 +697,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCapacityProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -784,9 +776,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -861,9 +852,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -937,9 +927,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTaskDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1018,9 +1007,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTaskSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1094,9 +1082,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterContainerInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1169,9 +1156,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterTaskDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1244,9 +1230,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCapacityProvidersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1319,9 +1304,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1395,9 +1379,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeContainerInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1471,9 +1454,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeServicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1546,9 +1528,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTaskDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1626,9 +1607,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTaskSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1702,9 +1682,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1776,9 +1755,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DiscoverPollEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1863,9 +1841,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExecuteCommandInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1942,9 +1919,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTaskProtectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2017,9 +1993,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccountSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2089,9 +2064,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2164,9 +2138,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2240,9 +2213,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListContainerInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2316,9 +2288,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2392,9 +2363,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServicesByNamespaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2468,9 +2438,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2543,9 +2512,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTaskDefinitionFamiliesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2618,9 +2586,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTaskDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2695,9 +2662,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2770,9 +2736,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAccountSettingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2845,9 +2810,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAccountSettingDefaultInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2919,9 +2883,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2997,9 +2960,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutClusterCapacityProvidersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3072,9 +3034,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterContainerInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3147,9 +3108,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterTaskDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3237,9 +3197,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(RunTaskInput.urlPathProvider(_:))) @@ -3315,9 +3274,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3391,9 +3349,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3467,9 +3424,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SubmitAttachmentStateChangesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3542,9 +3498,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SubmitContainerStateChangeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3618,9 +3573,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SubmitTaskStateChangeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3695,9 +3649,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3772,9 +3725,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3847,9 +3799,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCapacityProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3924,9 +3875,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4000,9 +3950,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateClusterSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4079,9 +4028,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContainerAgentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4162,9 +4110,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContainerInstancesStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4280,9 +4227,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4361,9 +4307,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServicePrimaryTaskSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4440,9 +4385,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTaskProtectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4521,9 +4465,8 @@ extension ECSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTaskSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSEFS/Sources/AWSEFS/EFSClient.swift b/Sources/Services/AWSEFS/Sources/AWSEFS/EFSClient.swift index a11ec2be4c1..2dcb0dff957 100644 --- a/Sources/Services/AWSEFS/Sources/AWSEFS/EFSClient.swift +++ b/Sources/Services/AWSEFS/Sources/AWSEFS/EFSClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccessPointInput.urlPathProvider(_:))) @@ -318,9 +316,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.creationToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFileSystemInput.urlPathProvider(_:))) @@ -453,9 +450,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMountTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -565,9 +561,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReplicationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -638,9 +633,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -710,9 +704,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccessPointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -780,9 +773,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFileSystemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -850,9 +842,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFileSystemPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -927,9 +918,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMountTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -997,9 +987,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReplicationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1067,9 +1056,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1140,9 +1128,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccessPointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1208,9 +1195,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountPreferencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1282,9 +1268,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBackupPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1352,9 +1337,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFileSystemPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1421,9 +1405,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFileSystemsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1491,9 +1474,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLifecycleConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1565,9 +1547,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMountTargetSecurityGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1636,9 +1617,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMountTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1708,9 +1688,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReplicationConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1779,9 +1758,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1850,9 +1828,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1927,9 +1904,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyMountTargetSecurityGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1998,9 +1974,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAccountPreferencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2072,9 +2047,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBackupPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2146,9 +2120,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutFileSystemPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2238,9 +2211,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutLifecycleConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2311,9 +2283,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2384,9 +2355,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2458,9 +2428,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFileSystemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2535,9 +2504,8 @@ extension EFSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFileSystemProtectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSEKS/Sources/AWSEKS/EKSClient.swift b/Sources/Services/AWSEKS/Sources/AWSEKS/EKSClient.swift index 5d28c4142f3..13c2a10e1ee 100644 --- a/Sources/Services/AWSEKS/Sources/AWSEKS/EKSClient.swift +++ b/Sources/Services/AWSEKS/Sources/AWSEKS/EKSClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateAccessPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateEncryptionConfigInput.urlPathProvider(_:))) @@ -381,9 +378,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateIdentityProviderConfigInput.urlPathProvider(_:))) @@ -457,9 +453,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccessEntryInput.urlPathProvider(_:))) @@ -533,9 +528,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAddonInput.urlPathProvider(_:))) @@ -610,9 +604,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClusterInput.urlPathProvider(_:))) @@ -685,9 +678,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEksAnywhereSubscriptionInput.urlPathProvider(_:))) @@ -761,9 +753,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFargateProfileInput.urlPathProvider(_:))) @@ -838,9 +829,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNodegroupInput.urlPathProvider(_:))) @@ -914,9 +904,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePodIdentityAssociationInput.urlPathProvider(_:))) @@ -987,9 +976,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccessEntryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1058,9 +1046,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAddonInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1130,9 +1117,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1200,9 +1186,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEksAnywhereSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1270,9 +1255,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFargateProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1342,9 +1326,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNodegroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1412,9 +1395,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePodIdentityAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1484,9 +1466,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1553,9 +1534,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccessEntryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1624,9 +1604,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAddonInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1693,9 +1672,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAddonConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1763,9 +1741,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAddonVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1834,9 +1811,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1904,9 +1880,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEksAnywhereSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1974,9 +1949,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFargateProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2045,9 +2019,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIdentityProviderConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2118,9 +2091,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInsightInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2189,9 +2161,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNodegroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2259,9 +2230,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePodIdentityAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2329,9 +2299,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUpdateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2399,9 +2368,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateAccessPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2471,9 +2439,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateIdentityProviderConfigInput.urlPathProvider(_:))) @@ -2545,9 +2512,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccessEntriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2613,9 +2579,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccessPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2685,9 +2650,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAddonsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2755,9 +2719,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssociatedAccessPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2826,9 +2789,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2897,9 +2859,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEksAnywhereSubscriptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2968,9 +2929,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFargateProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3040,9 +3000,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIdentityProviderConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3111,9 +3070,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInsightsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3185,9 +3143,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNodegroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3256,9 +3213,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPodIdentityAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3325,9 +3281,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3395,9 +3350,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUpdatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3470,9 +3424,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterClusterInput.urlPathProvider(_:))) @@ -3542,9 +3495,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3613,9 +3565,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3684,9 +3635,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccessEntryInput.urlPathProvider(_:))) @@ -3760,9 +3710,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAddonInput.urlPathProvider(_:))) @@ -3836,9 +3785,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateClusterConfigInput.urlPathProvider(_:))) @@ -3912,9 +3860,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateClusterVersionInput.urlPathProvider(_:))) @@ -3987,9 +3934,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEksAnywhereSubscriptionInput.urlPathProvider(_:))) @@ -4063,9 +4009,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNodegroupConfigInput.urlPathProvider(_:))) @@ -4139,9 +4084,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNodegroupVersionInput.urlPathProvider(_:))) @@ -4213,9 +4157,8 @@ extension EKSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePodIdentityAssociationInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/EKSAuthClient.swift b/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/EKSAuthClient.swift index 022c1feb2ec..236b8dc35a7 100644 --- a/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/EKSAuthClient.swift +++ b/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/EKSAuthClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension EKSAuthClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssumeRoleForPodIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSEMR/Sources/AWSEMR/EMRClient.swift b/Sources/Services/AWSEMR/Sources/AWSEMR/EMRClient.swift index f02a283aa42..cb62590354c 100644 --- a/Sources/Services/AWSEMR/Sources/AWSEMR/EMRClient.swift +++ b/Sources/Services/AWSEMR/Sources/AWSEMR/EMRClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddInstanceFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -299,9 +297,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddInstanceGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -370,9 +367,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddJobFlowStepsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -442,9 +438,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -514,9 +509,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelStepsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -586,9 +580,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSecurityConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -658,9 +651,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStudioInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -730,9 +722,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStudioSessionMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -802,9 +793,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSecurityConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -874,9 +864,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStudioInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -946,9 +935,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStudioSessionMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1018,9 +1006,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1097,9 +1084,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeJobFlowsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1169,9 +1155,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNotebookExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1241,9 +1226,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReleaseLabelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1313,9 +1297,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSecurityConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1385,9 +1368,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStepInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1457,9 +1439,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStudioInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1523,9 +1504,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAutoTerminationPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1595,9 +1575,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBlockPublicAccessConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1667,9 +1646,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetClusterSessionCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1733,9 +1711,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetManagedScalingPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1805,9 +1782,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStudioSessionMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1877,9 +1853,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBootstrapActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1949,9 +1924,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2021,9 +1995,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInstanceFleetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2093,9 +2066,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInstanceGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2165,9 +2137,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2237,9 +2208,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNotebookExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2309,9 +2279,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReleaseLabelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2381,9 +2350,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSecurityConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2453,9 +2421,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStepsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2525,9 +2492,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStudioSessionMappingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2597,9 +2563,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStudiosInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2669,9 +2634,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSupportedInstanceTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2741,9 +2705,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2813,9 +2776,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyInstanceFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2884,9 +2846,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyInstanceGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2950,9 +2911,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAutoScalingPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3016,9 +2976,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAutoTerminationPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3088,9 +3047,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBlockPublicAccessConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3154,9 +3112,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutManagedScalingPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3220,9 +3177,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveAutoScalingPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3286,9 +3242,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveAutoTerminationPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3352,9 +3307,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveManagedScalingPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3424,9 +3378,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3495,9 +3448,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RunJobFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3566,9 +3518,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetKeepJobFlowAliveWhenNoStepsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3637,9 +3588,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetTerminationProtectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3708,9 +3658,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetUnhealthyNodeReplacementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3779,9 +3728,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetVisibleToAllUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3851,9 +3799,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartNotebookExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3923,9 +3870,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopNotebookExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3994,9 +3940,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TerminateJobFlowsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4066,9 +4011,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStudioInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4138,9 +4082,8 @@ extension EMRClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStudioSessionMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/EMRServerlessClient.swift b/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/EMRServerlessClient.swift index 84dcce38811..b95a1a015a6 100644 --- a/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/EMRServerlessClient.swift +++ b/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/EMRServerlessClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension EMRServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelJobRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -300,9 +298,8 @@ extension EMRServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationInput.urlPathProvider(_:))) @@ -373,9 +370,8 @@ extension EMRServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -442,9 +438,8 @@ extension EMRServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -511,9 +506,8 @@ extension EMRServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDashboardForJobRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -581,9 +575,8 @@ extension EMRServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJobRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -650,9 +643,8 @@ extension EMRServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -720,9 +712,8 @@ extension EMRServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobRunAttemptsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -789,9 +780,8 @@ extension EMRServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -859,9 +849,8 @@ extension EMRServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -929,9 +918,8 @@ extension EMRServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -999,9 +987,8 @@ extension EMRServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartJobRunInput.urlPathProvider(_:))) @@ -1072,9 +1059,8 @@ extension EMRServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1141,9 +1127,8 @@ extension EMRServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1213,9 +1198,8 @@ extension EMRServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1283,9 +1267,8 @@ extension EMRServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/EMRcontainersClient.swift b/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/EMRcontainersClient.swift index c97d7b956b1..28d5eefd26c 100644 --- a/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/EMRcontainersClient.swift +++ b/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/EMRcontainersClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelJobRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -298,9 +296,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateJobTemplateInput.urlPathProvider(_:))) @@ -371,9 +368,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateManagedEndpointInput.urlPathProvider(_:))) @@ -443,9 +439,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSecurityConfigurationInput.urlPathProvider(_:))) @@ -517,9 +512,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVirtualClusterInput.urlPathProvider(_:))) @@ -589,9 +583,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteJobTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -657,9 +650,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteManagedEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -725,9 +717,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVirtualClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -794,9 +785,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeJobRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -863,9 +853,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeJobTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -932,9 +921,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeManagedEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1001,9 +989,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSecurityConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1070,9 +1057,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVirtualClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1140,9 +1126,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetManagedEndpointSessionCredentialsInput.urlPathProvider(_:))) @@ -1212,9 +1197,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1281,9 +1265,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1350,9 +1333,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListManagedEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1419,9 +1401,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSecurityConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1489,9 +1470,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1557,9 +1537,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVirtualClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1627,9 +1606,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartJobRunInput.urlPathProvider(_:))) @@ -1700,9 +1678,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1772,9 +1749,8 @@ extension EMRcontainersClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/ElastiCacheClient.swift b/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/ElastiCacheClient.swift index 62ea672214a..ffe25985639 100644 --- a/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/ElastiCacheClient.swift +++ b/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/ElastiCacheClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -241,9 +240,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddTagsToResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -315,9 +313,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AuthorizeCacheSecurityGroupIngressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -386,9 +383,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchApplyUpdateActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -457,9 +453,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchStopUpdateActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -529,9 +524,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CompleteMigrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -606,9 +600,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyServerlessCacheSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -698,9 +691,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopySnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -781,9 +773,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCacheClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -860,9 +851,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCacheParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -934,9 +924,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCacheSecurityGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1009,9 +998,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCacheSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1087,9 +1075,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGlobalReplicationGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1175,9 +1162,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReplicationGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1255,9 +1241,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServerlessCacheInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1332,9 +1317,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServerlessCacheSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1418,9 +1402,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1494,9 +1477,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1571,9 +1553,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1644,9 +1625,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DecreaseNodeGroupsInGlobalReplicationGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1725,9 +1705,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DecreaseReplicaCountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1822,9 +1801,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCacheClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1895,9 +1873,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCacheParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1968,9 +1945,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCacheSecurityGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2039,9 +2015,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCacheSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2118,9 +2093,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGlobalReplicationGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2201,9 +2175,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReplicationGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2277,9 +2250,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServerlessCacheInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2350,9 +2322,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServerlessCacheSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2423,9 +2394,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2497,9 +2467,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2570,9 +2539,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2642,9 +2610,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCacheClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2707,9 +2674,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCacheEngineVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2779,9 +2745,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCacheParameterGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2851,9 +2816,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCacheParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2923,9 +2887,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCacheSecurityGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2993,9 +2956,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCacheSubnetGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3064,9 +3026,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEngineDefaultParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3135,9 +3096,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3207,9 +3167,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGlobalReplicationGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3279,9 +3238,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReplicationGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3351,9 +3309,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReservedCacheNodesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3423,9 +3380,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReservedCacheNodesOfferingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3496,9 +3452,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeServerlessCacheSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3568,9 +3523,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeServerlessCachesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3640,9 +3594,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeServiceUpdatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3713,9 +3666,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3784,9 +3736,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUpdateActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3856,9 +3807,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUserGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3928,9 +3878,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4001,9 +3950,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateGlobalReplicationGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4074,9 +4022,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportServerlessCacheSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4147,9 +4094,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(FailoverGlobalReplicationGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4219,9 +4165,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(IncreaseNodeGroupsInGlobalReplicationGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4300,9 +4245,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(IncreaseReplicaCountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4373,9 +4317,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAllowedNodeTypeModificationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4457,9 +4400,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4537,9 +4479,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyCacheClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4615,9 +4556,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyCacheParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4689,9 +4629,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyCacheSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4761,9 +4700,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyGlobalReplicationGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4853,9 +4791,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyReplicationGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4932,9 +4869,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyReplicationGroupShardConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5009,9 +4945,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyServerlessCacheInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5083,9 +5018,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5160,9 +5094,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyUserGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5235,9 +5168,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PurchaseReservedCacheNodesOfferingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5307,9 +5239,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RebalanceSlotsInGlobalReplicationGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5378,9 +5309,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RebootCacheClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5463,9 +5393,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTagsFromResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5541,9 +5470,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetCacheParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5615,9 +5543,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RevokeCacheSecurityGroupIngressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5688,9 +5615,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMigrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5797,9 +5723,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestFailoverInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5870,9 +5795,8 @@ extension ElastiCacheClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestMigrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/ElasticBeanstalkClient.swift b/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/ElasticBeanstalkClient.swift index 0bc8729f474..aea5a4bee7c 100644 --- a/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/ElasticBeanstalkClient.swift +++ b/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/ElasticBeanstalkClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -226,9 +225,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AbortEnvironmentUpdateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -297,9 +295,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ApplyEnvironmentManagedActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -367,9 +364,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateEnvironmentOperationsRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -432,9 +428,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CheckDNSAvailabilityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -503,9 +498,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ComposeEnvironmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -573,9 +567,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -653,9 +646,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -731,9 +723,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConfigurationTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -802,9 +793,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -874,9 +864,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePlatformVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -946,9 +935,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStorageLocationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1016,9 +1004,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1095,9 +1082,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1165,9 +1151,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfigurationTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1230,9 +1215,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEnvironmentConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1303,9 +1287,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePlatformVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1373,9 +1356,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1438,9 +1420,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeApplicationVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1503,9 +1484,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1573,9 +1553,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConfigurationOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1645,9 +1624,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConfigurationSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1716,9 +1694,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEnvironmentHealthInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1786,9 +1763,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEnvironmentManagedActionHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1856,9 +1832,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEnvironmentManagedActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1926,9 +1901,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEnvironmentResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1991,9 +1965,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEnvironmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2056,9 +2029,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2127,9 +2099,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstancesHealthInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2198,9 +2169,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePlatformVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2268,9 +2238,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateEnvironmentOperationsRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2333,9 +2302,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAvailableSolutionStacksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2398,9 +2366,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPlatformBranchesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2469,9 +2436,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPlatformVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2541,9 +2507,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2611,9 +2576,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RebuildEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2678,9 +2642,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RequestEnvironmentInfoInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2743,9 +2706,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestartAppServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2810,9 +2772,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RetrieveEnvironmentInfoInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2875,9 +2836,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SwapEnvironmentCNAMEsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2945,9 +2905,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TerminateEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3010,9 +2969,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3080,9 +3038,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationResourceLifecycleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3145,9 +3102,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3218,9 +3174,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConfigurationTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3289,9 +3244,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3363,9 +3317,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3434,9 +3387,8 @@ extension ElasticBeanstalkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ValidateConfigurationSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/ElasticInferenceClient.swift b/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/ElasticInferenceClient.swift index 178378655ed..127c1e5b7b8 100644 --- a/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/ElasticInferenceClient.swift +++ b/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/ElasticInferenceClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension ElasticInferenceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAcceleratorOfferingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -298,9 +296,8 @@ extension ElasticInferenceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAcceleratorTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -367,9 +364,8 @@ extension ElasticInferenceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAcceleratorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -439,9 +435,8 @@ extension ElasticInferenceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -508,9 +503,8 @@ extension ElasticInferenceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -580,9 +574,8 @@ extension ElasticInferenceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/ElasticLoadBalancingClient.swift b/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/ElasticLoadBalancingClient.swift index 9bab19ff331..ae8cf440dab 100644 --- a/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/ElasticLoadBalancingClient.swift +++ b/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/ElasticLoadBalancingClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -227,9 +226,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -299,9 +297,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ApplySecurityGroupsToLoadBalancerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -372,9 +369,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachLoadBalancerToSubnetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -442,9 +438,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConfigureHealthCheckInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -515,9 +510,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppCookieStickinessPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -588,9 +582,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLBCookieStickinessPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -669,9 +662,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLoadBalancerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -743,9 +735,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLoadBalancerListenersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -817,9 +808,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLoadBalancerPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -882,9 +872,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLoadBalancerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -952,9 +941,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLoadBalancerListenersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1023,9 +1011,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLoadBalancerPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1094,9 +1081,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterInstancesFromLoadBalancerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1159,9 +1145,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountLimitsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1230,9 +1215,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstanceHealthInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1301,9 +1285,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLoadBalancerAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1372,9 +1355,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLoadBalancerPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1442,9 +1424,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLoadBalancerPolicyTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1513,9 +1494,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLoadBalancersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1583,9 +1563,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1654,9 +1633,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachLoadBalancerFromSubnetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1725,9 +1703,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableAvailabilityZonesForLoadBalancerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1795,9 +1772,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableAvailabilityZonesForLoadBalancerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1875,9 +1851,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyLoadBalancerAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1946,9 +1921,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterInstancesWithLoadBalancerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2016,9 +1990,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2090,9 +2063,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetLoadBalancerListenerSSLCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2162,9 +2134,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetLoadBalancerPoliciesForBackendServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2235,9 +2206,8 @@ extension ElasticLoadBalancingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetLoadBalancerPoliciesOfListenerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/ElasticLoadBalancingv2Client.swift b/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/ElasticLoadBalancingv2Client.swift index db64d4dcc30..7f0edc5a1dc 100644 --- a/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/ElasticLoadBalancingv2Client.swift +++ b/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/ElasticLoadBalancingv2Client.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -227,9 +226,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddListenerCertificatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -303,9 +301,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -376,9 +373,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddTrustStoreRevocationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -474,9 +470,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateListenerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -565,9 +560,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLoadBalancerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -649,9 +643,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -731,9 +724,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTargetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -806,9 +798,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTrustStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -877,9 +868,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteListenerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -949,9 +939,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLoadBalancerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1020,9 +1009,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1092,9 +1080,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSharedTrustStoreAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1162,9 +1149,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTargetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1233,9 +1219,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTrustStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1313,9 +1298,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1384,9 +1368,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountLimitsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1454,9 +1437,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeListenerAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1524,9 +1506,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeListenerCertificatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1596,9 +1577,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeListenersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1672,9 +1652,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLoadBalancerAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1742,9 +1721,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLoadBalancersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1814,9 +1792,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1884,9 +1861,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSSLPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1958,9 +1934,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2034,9 +2009,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTargetGroupAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2105,9 +2079,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTargetGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2177,9 +2150,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTargetHealthInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2247,9 +2219,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTrustStoreAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2318,9 +2289,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTrustStoreRevocationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2388,9 +2358,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTrustStoresInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2458,9 +2427,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2528,9 +2496,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTrustStoreCaCertificatesBundleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2599,9 +2566,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTrustStoreRevocationContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2687,9 +2653,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyListenerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2758,9 +2723,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyListenerAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2829,9 +2793,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyLoadBalancerAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2909,9 +2872,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2980,9 +2942,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyTargetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3051,9 +3012,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyTargetGroupAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3123,9 +3083,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyTrustStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3196,9 +3155,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3267,9 +3225,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveListenerCertificatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3342,9 +3299,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3413,9 +3369,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTrustStoreRevocationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3485,9 +3440,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetIpAddressTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3557,9 +3511,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetRulePrioritiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3629,9 +3582,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetSecurityGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3704,9 +3656,8 @@ extension ElasticLoadBalancingv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetSubnetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/ElasticTranscoderClient.swift b/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/ElasticTranscoderClient.swift index 6797150bd38..ca16b0a6474 100644 --- a/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/ElasticTranscoderClient.swift +++ b/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/ElasticTranscoderClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension ElasticTranscoderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -303,9 +301,8 @@ extension ElasticTranscoderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -378,9 +375,8 @@ extension ElasticTranscoderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -452,9 +448,8 @@ extension ElasticTranscoderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePresetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -527,9 +522,8 @@ extension ElasticTranscoderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -598,9 +592,8 @@ extension ElasticTranscoderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePresetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -669,9 +662,8 @@ extension ElasticTranscoderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobsByPipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -741,9 +733,8 @@ extension ElasticTranscoderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobsByStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -812,9 +803,8 @@ extension ElasticTranscoderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPipelinesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -883,9 +873,8 @@ extension ElasticTranscoderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPresetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -955,9 +944,8 @@ extension ElasticTranscoderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReadJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1026,9 +1014,8 @@ extension ElasticTranscoderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReadPipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1097,9 +1084,8 @@ extension ElasticTranscoderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReadPresetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1169,9 +1155,8 @@ extension ElasticTranscoderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1244,9 +1229,8 @@ extension ElasticTranscoderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1319,9 +1303,8 @@ extension ElasticTranscoderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePipelineNotificationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1394,9 +1377,8 @@ extension ElasticTranscoderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePipelineStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/ElasticsearchClient.swift b/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/ElasticsearchClient.swift index edf02dbd879..89b8f1d2458 100644 --- a/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/ElasticsearchClient.swift +++ b/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/ElasticsearchClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptInboundCrossClusterSearchConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -298,9 +296,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -373,9 +370,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociatePackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -445,9 +441,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AuthorizeVpcEndpointAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -519,9 +514,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelDomainConfigChangeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -592,9 +586,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelElasticsearchServiceSoftwareUpdateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -668,9 +661,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateElasticsearchDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -741,9 +733,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateOutboundCrossClusterSearchConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -817,9 +808,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -892,9 +882,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVpcEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -965,9 +954,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteElasticsearchDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1034,9 +1022,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteElasticsearchServiceRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1102,9 +1089,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInboundCrossClusterSearchConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1170,9 +1156,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOutboundCrossClusterSearchConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1242,9 +1227,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1312,9 +1296,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVpcEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1382,9 +1365,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDomainAutoTunesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1455,9 +1437,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDomainChangeProgressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1526,9 +1507,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeElasticsearchDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1596,9 +1576,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeElasticsearchDomainConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1665,9 +1644,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeElasticsearchDomainsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1740,9 +1718,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeElasticsearchInstanceTypeLimitsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1809,9 +1786,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInboundCrossClusterSearchConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1880,9 +1856,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOutboundCrossClusterSearchConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1954,9 +1929,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePackagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2027,9 +2001,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReservedElasticsearchInstanceOfferingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2098,9 +2071,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReservedElasticsearchInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2169,9 +2141,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVpcEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2244,9 +2215,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DissociatePackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2315,9 +2285,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCompatibleElasticsearchVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2387,9 +2356,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPackageVersionHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2459,9 +2427,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUpgradeHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2531,9 +2498,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUpgradeStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2599,9 +2565,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDomainNamesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2671,9 +2636,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDomainsForPackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2742,9 +2706,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListElasticsearchInstanceTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2813,9 +2776,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListElasticsearchVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2885,9 +2847,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPackagesForDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2956,9 +2917,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3027,9 +2987,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVpcEndpointAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3097,9 +3056,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVpcEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3168,9 +3126,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVpcEndpointsForDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3241,9 +3198,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PurchaseReservedElasticsearchInstanceOfferingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3312,9 +3268,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectInboundCrossClusterSearchConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3381,9 +3336,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3455,9 +3409,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RevokeVpcEndpointAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3528,9 +3481,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartElasticsearchServiceSoftwareUpdateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3603,9 +3555,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateElasticsearchDomainConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3678,9 +3629,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3753,9 +3703,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVpcEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3828,9 +3777,8 @@ extension ElasticsearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpgradeElasticsearchDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/EntityResolutionClient.swift b/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/EntityResolutionClient.swift index ec866763cdf..57200237f9b 100644 --- a/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/EntityResolutionClient.swift +++ b/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/EntityResolutionClient.swift @@ -32,7 +32,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddPolicyStatementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteUniqueIdInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -379,9 +376,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIdMappingWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -454,9 +450,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIdNamespaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -529,9 +524,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMatchingWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -604,9 +598,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSchemaMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -678,9 +671,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIdMappingWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -748,9 +740,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIdNamespaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -819,9 +810,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMatchingWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -891,9 +881,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePolicyStatementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -962,9 +951,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSchemaMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1033,9 +1021,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIdMappingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1104,9 +1091,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIdMappingWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1175,9 +1161,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIdNamespaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1246,9 +1231,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMatchIdInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1320,9 +1304,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMatchingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1391,9 +1374,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMatchingWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1462,9 +1444,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1533,9 +1514,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProviderServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1604,9 +1584,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSchemaMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1675,9 +1654,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIdMappingJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1746,9 +1724,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIdMappingWorkflowsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1817,9 +1794,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIdNamespacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1889,9 +1865,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMatchingJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1960,9 +1935,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMatchingWorkflowsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2031,9 +2005,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProviderServicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2102,9 +2075,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSchemaMappingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2172,9 +2144,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2244,9 +2215,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2320,9 +2290,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartIdMappingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2396,9 +2365,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMatchingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2465,9 +2433,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2536,9 +2503,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2608,9 +2574,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIdMappingWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2682,9 +2647,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIdNamespaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2756,9 +2720,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMatchingWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2831,9 +2794,8 @@ extension EntityResolutionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSchemaMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift b/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift index 6a020156659..b37d1682e64 100644 --- a/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift +++ b/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ActivateEventSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -308,9 +306,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelReplayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -383,9 +380,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApiDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -469,9 +465,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateArchiveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -543,9 +538,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -617,9 +611,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -695,9 +688,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEventBusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -780,9 +772,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePartnerEventSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -856,9 +847,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeactivateEventSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -930,9 +920,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeauthorizeConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1004,9 +993,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApiDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1078,9 +1066,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteArchiveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1152,9 +1139,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1226,9 +1212,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1299,9 +1284,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEventBusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1373,9 +1357,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePartnerEventSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1448,9 +1431,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1521,9 +1503,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeApiDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1595,9 +1576,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeArchiveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1668,9 +1648,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1741,9 +1720,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1814,9 +1792,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventBusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1888,9 +1865,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1962,9 +1938,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePartnerEventSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2035,9 +2010,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReplayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2108,9 +2082,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2183,9 +2156,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2258,9 +2230,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2330,9 +2301,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApiDestinationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2403,9 +2373,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListArchivesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2475,9 +2444,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2547,9 +2515,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2619,9 +2586,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEventBusesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2692,9 +2658,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEventSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2766,9 +2731,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPartnerEventSourceAccountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2839,9 +2803,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPartnerEventSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2911,9 +2874,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReplaysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2984,9 +2946,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRuleNamesByTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3057,9 +3018,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3130,9 +3090,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3203,9 +3162,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTargetsByRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3275,9 +3233,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3348,9 +3305,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutPartnerEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3424,9 +3380,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutPermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3501,9 +3456,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3606,9 +3560,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3681,9 +3634,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemovePermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3756,9 +3708,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3832,9 +3783,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartReplayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3907,9 +3857,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3980,9 +3929,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestEventPatternInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4055,9 +4003,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4130,9 +4077,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApiDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4206,9 +4152,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateArchiveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4281,9 +4226,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4355,9 +4299,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4430,9 +4373,8 @@ extension EventBridgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEventBusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSEvidently/Sources/AWSEvidently/EvidentlyClient.swift b/Sources/Services/AWSEvidently/Sources/AWSEvidently/EvidentlyClient.swift index 69c751f9b5b..c4b764a7750 100644 --- a/Sources/Services/AWSEvidently/Sources/AWSEvidently/EvidentlyClient.swift +++ b/Sources/Services/AWSEvidently/Sources/AWSEvidently/EvidentlyClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchEvaluateFeatureInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "dataplane.")) @@ -304,9 +302,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateExperimentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -378,9 +375,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFeatureInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -452,9 +448,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLaunchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -525,9 +520,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -598,9 +592,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSegmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -673,9 +666,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteExperimentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -744,9 +736,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFeatureInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -815,9 +806,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLaunchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -886,9 +876,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -957,9 +946,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSegmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1027,9 +1015,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EvaluateFeatureInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "dataplane.")) @@ -1100,9 +1087,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetExperimentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1171,9 +1157,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetExperimentResultsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1244,9 +1229,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFeatureInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1314,9 +1298,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLaunchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1384,9 +1367,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1454,9 +1436,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSegmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1523,9 +1504,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExperimentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1594,9 +1574,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFeaturesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1664,9 +1643,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLaunchesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1734,9 +1712,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1805,9 +1782,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSegmentReferencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1875,9 +1851,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSegmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1945,9 +1920,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2015,9 +1989,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutProjectEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "dataplane.")) @@ -2090,9 +2063,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartExperimentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2165,9 +2137,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartLaunchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2237,9 +2208,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopExperimentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2310,9 +2280,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopLaunchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2382,9 +2351,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2454,9 +2422,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestSegmentPatternInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2526,9 +2493,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2597,9 +2563,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateExperimentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2671,9 +2636,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFeatureInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2744,9 +2708,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLaunchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2818,9 +2781,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2892,9 +2854,8 @@ extension EvidentlyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProjectDataDeliveryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSFMS/Sources/AWSFMS/FMSClient.swift b/Sources/Services/AWSFMS/Sources/AWSFMS/FMSClient.swift index d27247f02f1..802d9ce34bd 100644 --- a/Sources/Services/AWSFMS/Sources/AWSFMS/FMSClient.swift +++ b/Sources/Services/AWSFMS/Sources/AWSFMS/FMSClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateAdminAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateThirdPartyFirewallInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -380,9 +377,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchAssociateResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -454,9 +450,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDisassociateResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -527,9 +522,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppsListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -600,9 +594,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNotificationChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -675,9 +668,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -748,9 +740,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProtocolsListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -822,9 +813,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourceSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -895,9 +885,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateAdminAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -969,9 +958,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateThirdPartyFirewallInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1042,9 +1030,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAdminAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1117,9 +1104,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAdminScopeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1190,9 +1176,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAppsListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1264,9 +1249,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetComplianceDetailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1337,9 +1321,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetNotificationChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1411,9 +1394,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1484,9 +1466,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProtectionStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1557,9 +1538,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProtocolsListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1631,9 +1611,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourceSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1705,9 +1684,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetThirdPartyFirewallAssociationStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1778,9 +1756,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetViolationDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1852,9 +1829,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAdminAccountsForOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1925,9 +1901,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAdminsManagingAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1999,9 +1974,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppsListsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2071,9 +2045,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListComplianceStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2144,9 +2117,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDiscoveredResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2216,9 +2188,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMemberAccountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2290,9 +2261,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2363,9 +2333,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProtocolsListsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2437,9 +2406,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceSetResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2510,9 +2478,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2584,9 +2551,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2658,9 +2624,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListThirdPartyFirewallFirewallPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2732,9 +2697,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAdminAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2807,9 +2771,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAppsListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2880,9 +2843,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutNotificationChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2974,9 +2936,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3049,9 +3010,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutProtocolsListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3123,9 +3083,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourceSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3198,9 +3157,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3272,9 +3230,8 @@ extension FMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSFSx/Sources/AWSFSx/FSxClient.swift b/Sources/Services/AWSFSx/Sources/AWSFSx/FSxClient.swift index 923f5fa05da..425a06905ed 100644 --- a/Sources/Services/AWSFSx/Sources/AWSFSx/FSxClient.swift +++ b/Sources/Services/AWSFSx/Sources/AWSFSx/FSxClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateFileSystemAliasesInput.urlPathProvider(_:))) @@ -314,9 +312,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelDataRepositoryTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -395,9 +392,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyBackupInput.urlPathProvider(_:))) @@ -470,9 +466,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopySnapshotAndUpdateVolumeInput.urlPathProvider(_:))) @@ -574,9 +569,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBackupInput.urlPathProvider(_:))) @@ -651,9 +645,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataRepositoryAssociationInput.urlPathProvider(_:))) @@ -732,9 +725,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataRepositoryTaskInput.urlPathProvider(_:))) @@ -817,9 +809,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFileCacheInput.urlPathProvider(_:))) @@ -916,9 +907,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFileSystemInput.urlPathProvider(_:))) @@ -1003,9 +993,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFileSystemFromBackupInput.urlPathProvider(_:))) @@ -1085,9 +1074,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSnapshotInput.urlPathProvider(_:))) @@ -1163,9 +1151,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStorageVirtualMachineInput.urlPathProvider(_:))) @@ -1242,9 +1229,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVolumeInput.urlPathProvider(_:))) @@ -1321,9 +1307,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVolumeFromBackupInput.urlPathProvider(_:))) @@ -1399,9 +1384,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBackupInput.urlPathProvider(_:))) @@ -1475,9 +1459,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataRepositoryAssociationInput.urlPathProvider(_:))) @@ -1551,9 +1534,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFileCacheInput.urlPathProvider(_:))) @@ -1627,9 +1609,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFileSystemInput.urlPathProvider(_:))) @@ -1701,9 +1682,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSnapshotInput.urlPathProvider(_:))) @@ -1776,9 +1756,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStorageVirtualMachineInput.urlPathProvider(_:))) @@ -1852,9 +1831,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVolumeInput.urlPathProvider(_:))) @@ -1932,9 +1910,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBackupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2007,9 +1984,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDataRepositoryAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2081,9 +2057,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDataRepositoryTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2158,9 +2133,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFileCachesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2231,9 +2205,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFileSystemAliasesInput.urlPathProvider(_:))) @@ -2309,9 +2282,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFileSystemsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2381,9 +2353,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSharedVpcConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2458,9 +2429,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2531,9 +2501,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStorageVirtualMachinesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2604,9 +2573,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVolumesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2677,9 +2645,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateFileSystemAliasesInput.urlPathProvider(_:))) @@ -2757,9 +2724,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2832,9 +2798,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReleaseFileSystemNfsV3LocksInput.urlPathProvider(_:))) @@ -2906,9 +2871,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreVolumeFromSnapshotInput.urlPathProvider(_:))) @@ -2980,9 +2944,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMisconfiguredStateRecoveryInput.urlPathProvider(_:))) @@ -3056,9 +3019,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3131,9 +3093,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3206,9 +3167,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDataRepositoryAssociationInput.urlPathProvider(_:))) @@ -3284,9 +3244,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFileCacheInput.urlPathProvider(_:))) @@ -3452,9 +3411,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFileSystemInput.urlPathProvider(_:))) @@ -3526,9 +3484,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSharedVpcConfigurationInput.urlPathProvider(_:))) @@ -3600,9 +3557,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSnapshotInput.urlPathProvider(_:))) @@ -3676,9 +3632,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStorageVirtualMachineInput.urlPathProvider(_:))) @@ -3752,9 +3707,8 @@ extension FSxClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVolumeInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSFinspace/Sources/AWSFinspace/FinspaceClient.swift b/Sources/Services/AWSFinspace/Sources/AWSFinspace/FinspaceClient.swift index 098891494a0..bc24c2ca8f7 100644 --- a/Sources/Services/AWSFinspace/Sources/AWSFinspace/FinspaceClient.swift +++ b/Sources/Services/AWSFinspace/Sources/AWSFinspace/FinspaceClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -310,9 +308,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateKxChangesetInput.urlPathProvider(_:))) @@ -387,9 +384,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateKxClusterInput.urlPathProvider(_:))) @@ -465,9 +461,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateKxDatabaseInput.urlPathProvider(_:))) @@ -543,9 +538,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateKxDataviewInput.urlPathProvider(_:))) @@ -620,9 +614,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateKxEnvironmentInput.urlPathProvider(_:))) @@ -697,9 +690,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateKxScalingGroupInput.urlPathProvider(_:))) @@ -775,9 +767,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateKxUserInput.urlPathProvider(_:))) @@ -853,9 +844,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateKxVolumeInput.urlPathProvider(_:))) @@ -929,9 +919,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1002,9 +991,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteKxClusterInput.urlPathProvider(_:))) @@ -1075,9 +1063,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteKxClusterNodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1147,9 +1134,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteKxDatabaseInput.urlPathProvider(_:))) @@ -1221,9 +1207,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteKxDataviewInput.urlPathProvider(_:))) @@ -1295,9 +1280,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteKxEnvironmentInput.urlPathProvider(_:))) @@ -1370,9 +1354,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteKxScalingGroupInput.urlPathProvider(_:))) @@ -1444,9 +1427,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteKxUserInput.urlPathProvider(_:))) @@ -1519,9 +1501,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteKxVolumeInput.urlPathProvider(_:))) @@ -1592,9 +1573,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1663,9 +1643,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetKxChangesetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1736,9 +1715,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetKxClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1807,9 +1785,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetKxConnectionStringInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1879,9 +1856,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetKxDatabaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1950,9 +1926,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetKxDataviewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2021,9 +1996,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetKxEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2094,9 +2068,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetKxScalingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2165,9 +2138,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetKxUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2238,9 +2210,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetKxVolumeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2308,9 +2279,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnvironmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2380,9 +2350,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKxChangesetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2453,9 +2422,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKxClusterNodesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2527,9 +2495,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKxClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2599,9 +2566,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKxDatabasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2671,9 +2637,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKxDataviewsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2741,9 +2706,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKxEnvironmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2815,9 +2779,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKxScalingGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2887,9 +2850,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKxUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2961,9 +2923,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKxVolumesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3031,9 +2992,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3100,9 +3060,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3172,9 +3131,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3245,9 +3203,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3321,9 +3278,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateKxClusterCodeConfigurationInput.urlPathProvider(_:))) @@ -3398,9 +3354,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateKxClusterDatabasesInput.urlPathProvider(_:))) @@ -3474,9 +3429,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateKxDatabaseInput.urlPathProvider(_:))) @@ -3551,9 +3505,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateKxDataviewInput.urlPathProvider(_:))) @@ -3627,9 +3580,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateKxEnvironmentInput.urlPathProvider(_:))) @@ -3703,9 +3655,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateKxEnvironmentNetworkInput.urlPathProvider(_:))) @@ -3780,9 +3731,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateKxUserInput.urlPathProvider(_:))) @@ -3857,9 +3807,8 @@ extension FinspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateKxVolumeInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/FinspacedataClient.swift b/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/FinspacedataClient.swift index 1f4e2c8db0a..f4dbd521e13 100644 --- a/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/FinspacedataClient.swift +++ b/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/FinspacedataClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateUserToPermissionGroupInput.urlPathProvider(_:))) @@ -311,9 +309,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChangesetInput.urlPathProvider(_:))) @@ -388,9 +385,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataViewInput.urlPathProvider(_:))) @@ -466,9 +462,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDatasetInput.urlPathProvider(_:))) @@ -543,9 +538,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePermissionGroupInput.urlPathProvider(_:))) @@ -620,9 +614,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserInput.urlPathProvider(_:))) @@ -698,9 +691,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDatasetInput.urlPathProvider(_:))) @@ -774,9 +766,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePermissionGroupInput.urlPathProvider(_:))) @@ -849,9 +840,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableUserInput.urlPathProvider(_:))) @@ -926,9 +916,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateUserFromPermissionGroupInput.urlPathProvider(_:))) @@ -1002,9 +991,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableUserInput.urlPathProvider(_:))) @@ -1079,9 +1067,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetChangesetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1151,9 +1138,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataViewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1224,9 +1210,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1300,9 +1285,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetExternalDataViewAccessDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1372,9 +1356,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPermissionGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1443,9 +1426,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProgrammaticAccessCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1516,9 +1498,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1587,9 +1568,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkingLocationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1663,9 +1643,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChangesetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1736,9 +1715,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataViewsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1809,9 +1787,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatasetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1881,9 +1858,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPermissionGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1954,9 +1930,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPermissionGroupsByUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2026,9 +2001,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2099,9 +2073,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUsersByPermissionGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2173,9 +2146,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetUserPasswordInput.urlPathProvider(_:))) @@ -2250,9 +2222,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateChangesetInput.urlPathProvider(_:))) @@ -2327,9 +2298,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDatasetInput.urlPathProvider(_:))) @@ -2404,9 +2374,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePermissionGroupInput.urlPathProvider(_:))) @@ -2481,9 +2450,8 @@ extension FinspacedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSFirehose/Sources/AWSFirehose/FirehoseClient.swift b/Sources/Services/AWSFirehose/Sources/AWSFirehose/FirehoseClient.swift index 6aef9595a34..0a1322a5a0f 100644 --- a/Sources/Services/AWSFirehose/Sources/AWSFirehose/FirehoseClient.swift +++ b/Sources/Services/AWSFirehose/Sources/AWSFirehose/FirehoseClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -238,9 +237,8 @@ extension FirehoseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDeliveryStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -310,9 +308,8 @@ extension FirehoseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDeliveryStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -381,9 +378,8 @@ extension FirehoseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDeliveryStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -447,9 +443,8 @@ extension FirehoseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeliveryStreamsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -520,9 +515,8 @@ extension FirehoseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForDeliveryStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -595,9 +589,8 @@ extension FirehoseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRecordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -670,9 +663,8 @@ extension FirehoseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRecordBatchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -745,9 +737,8 @@ extension FirehoseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDeliveryStreamEncryptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -819,9 +810,8 @@ extension FirehoseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopDeliveryStreamEncryptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -893,9 +883,8 @@ extension FirehoseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagDeliveryStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -967,9 +956,8 @@ extension FirehoseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagDeliveryStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1041,9 +1029,8 @@ extension FirehoseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSFis/Sources/AWSFis/FisClient.swift b/Sources/Services/AWSFis/Sources/AWSFis/FisClient.swift index 12026c7234b..b6066f732db 100644 --- a/Sources/Services/AWSFis/Sources/AWSFis/FisClient.swift +++ b/Sources/Services/AWSFis/Sources/AWSFis/FisClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -239,9 +238,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateExperimentTemplateInput.urlPathProvider(_:))) @@ -313,9 +311,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTargetAccountConfigurationInput.urlPathProvider(_:))) @@ -385,9 +382,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteExperimentTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -453,9 +449,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTargetAccountConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -521,9 +516,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -589,9 +583,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetExperimentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -657,9 +650,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetExperimentTargetAccountConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -725,9 +717,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetExperimentTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -792,9 +783,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSafetyLeverInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -860,9 +850,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTargetAccountConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -928,9 +917,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTargetResourceTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -995,9 +983,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1064,9 +1051,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExperimentResolvedTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1133,9 +1119,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExperimentTargetAccountConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1201,9 +1186,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExperimentTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1269,9 +1253,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExperimentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1332,9 +1315,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1400,9 +1382,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTargetAccountConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1468,9 +1449,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTargetResourceTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1539,9 +1519,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartExperimentInput.urlPathProvider(_:))) @@ -1611,9 +1590,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopExperimentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1673,9 +1651,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1738,9 +1715,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1808,9 +1784,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateExperimentTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1880,9 +1855,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSafetyLeverStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1951,9 +1925,8 @@ extension FisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTargetAccountConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSForecast/Sources/AWSForecast/ForecastClient.swift b/Sources/Services/AWSForecast/Sources/AWSForecast/ForecastClient.swift index 6ed4abc0dd0..542b35e7dee 100644 --- a/Sources/Services/AWSForecast/Sources/AWSForecast/ForecastClient.swift +++ b/Sources/Services/AWSForecast/Sources/AWSForecast/ForecastClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -249,9 +248,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAutoPredictorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -331,9 +329,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -406,9 +403,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDatasetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -481,9 +477,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDatasetImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -600,9 +595,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateExplainabilityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -675,9 +669,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateExplainabilityExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -750,9 +743,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateForecastInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -825,9 +817,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateForecastExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -900,9 +891,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMonitorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -986,9 +976,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePredictorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1061,9 +1050,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePredictorBacktestExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1136,9 +1124,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWhatIfAnalysisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1211,9 +1198,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWhatIfForecastInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1286,9 +1272,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWhatIfForecastExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1359,9 +1344,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1432,9 +1416,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDatasetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1505,9 +1488,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDatasetImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1578,9 +1560,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteExplainabilityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1651,9 +1632,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteExplainabilityExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1724,9 +1704,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteForecastInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1797,9 +1776,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteForecastExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1870,9 +1848,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMonitorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1943,9 +1920,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePredictorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2016,9 +1992,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePredictorBacktestExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2100,9 +2075,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourceTreeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2173,9 +2147,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWhatIfAnalysisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2246,9 +2219,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWhatIfForecastInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2319,9 +2291,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWhatIfForecastExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2391,9 +2362,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAutoPredictorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2469,9 +2439,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2549,9 +2518,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDatasetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2633,9 +2601,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDatasetImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2705,9 +2672,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeExplainabilityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2777,9 +2743,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeExplainabilityExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2859,9 +2824,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeForecastInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2939,9 +2903,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeForecastExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3025,9 +2988,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMonitorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3109,9 +3071,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePredictorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3189,9 +3150,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePredictorBacktestExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3269,9 +3229,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWhatIfAnalysisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3349,9 +3308,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWhatIfForecastInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3429,9 +3387,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWhatIfForecastExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3502,9 +3459,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccuracyMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3573,9 +3529,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatasetGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3645,9 +3600,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatasetImportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3716,9 +3670,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatasetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3788,9 +3741,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExplainabilitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3860,9 +3812,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExplainabilityExportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3932,9 +3883,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListForecastExportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4004,9 +3954,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListForecastsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4077,9 +4026,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMonitorEvaluationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4149,9 +4097,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMonitorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4221,9 +4168,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPredictorBacktestExportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4293,9 +4239,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPredictorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4365,9 +4310,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4437,9 +4381,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWhatIfAnalysesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4509,9 +4452,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWhatIfForecastExportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4581,9 +4523,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWhatIfForecastsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4655,9 +4596,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResumeResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4742,9 +4682,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4815,9 +4754,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4887,9 +4825,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4960,9 +4897,8 @@ extension ForecastClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDatasetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/ForecastqueryClient.swift b/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/ForecastqueryClient.swift index 339aca81118..6bdc792f6ec 100644 --- a/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/ForecastqueryClient.swift +++ b/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/ForecastqueryClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension ForecastqueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(QueryForecastInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension ForecastqueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(QueryWhatIfForecastInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/FraudDetectorClient.swift b/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/FraudDetectorClient.swift index 16a06f4213a..dcfc30bc15d 100644 --- a/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/FraudDetectorClient.swift +++ b/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/FraudDetectorClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchCreateVariableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -303,9 +301,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetVariableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -378,9 +375,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelBatchImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -453,9 +449,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelBatchPredictionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -528,9 +523,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBatchImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -603,9 +597,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBatchPredictionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -678,9 +671,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDetectorVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -752,9 +744,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -826,9 +817,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -901,9 +891,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateModelVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -975,9 +964,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1049,9 +1037,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVariableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1123,9 +1110,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBatchImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1197,9 +1183,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBatchPredictionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1272,9 +1257,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDetectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1348,9 +1332,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDetectorVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1423,9 +1406,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEntityTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1497,9 +1479,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEventInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1572,9 +1553,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEventTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1648,9 +1628,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEventsByEventTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1723,9 +1702,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteExternalModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1797,9 +1775,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLabelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1872,9 +1849,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1947,9 +1923,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2022,9 +1997,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteModelVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2097,9 +2071,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOutcomeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2172,9 +2145,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2247,9 +2219,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVariableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2322,9 +2293,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDetectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2397,9 +2367,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeModelVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2472,9 +2441,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBatchImportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2547,9 +2515,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBatchPredictionJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2622,9 +2589,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeleteEventsByEventTypeStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2697,9 +2663,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDetectorVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2772,9 +2737,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDetectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2847,9 +2811,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEntityTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2922,9 +2885,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEventInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2999,9 +2961,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEventPredictionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3074,9 +3035,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEventPredictionMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3149,9 +3109,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEventTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3224,9 +3183,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetExternalModelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3298,9 +3256,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetKMSEncryptionKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3373,9 +3330,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLabelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3448,9 +3404,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetListElementsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3523,9 +3478,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetListsMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3598,9 +3552,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetModelVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3673,9 +3626,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetModelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3748,9 +3700,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOutcomesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3823,9 +3774,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3898,9 +3848,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVariablesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3972,9 +3921,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEventPredictionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4046,9 +3994,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4121,9 +4068,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDetectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4196,9 +4142,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutEntityTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4271,9 +4216,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutEventTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4346,9 +4290,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutExternalModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4422,9 +4365,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutKMSEncryptionKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4497,9 +4439,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutLabelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4572,9 +4513,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutOutcomeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4648,9 +4588,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendEventInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4722,9 +4661,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4796,9 +4734,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4872,9 +4809,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDetectorVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4947,9 +4883,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDetectorVersionMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5023,9 +4958,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDetectorVersionStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5099,9 +5033,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEventLabelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5175,9 +5108,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5251,9 +5183,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5327,9 +5258,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateModelVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5409,9 +5339,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateModelVersionStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5485,9 +5414,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRuleMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5561,9 +5489,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRuleVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5637,9 +5564,8 @@ extension FraudDetectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVariableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/FreeTierClient.swift b/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/FreeTierClient.swift index 04387d8b4a9..7bbc8050517 100644 --- a/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/FreeTierClient.swift +++ b/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/FreeTierClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension FreeTierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFreeTierUsageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSGameLift/Sources/AWSGameLift/GameLiftClient.swift b/Sources/Services/AWSGameLift/Sources/AWSGameLift/GameLiftClient.swift index d78050040bd..046523ec7c4 100644 --- a/Sources/Services/AWSGameLift/Sources/AWSGameLift/GameLiftClient.swift +++ b/Sources/Services/AWSGameLift/Sources/AWSGameLift/GameLiftClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -237,9 +236,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptMatchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -322,9 +320,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ClaimGameServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -398,9 +395,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -480,9 +476,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBuildInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -570,9 +565,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateContainerGroupDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -692,9 +686,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -771,9 +764,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFleetLocationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -853,9 +845,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGameServerGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -943,9 +934,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGameSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1019,9 +1009,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGameSessionQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1095,9 +1084,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLocationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1171,9 +1159,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMatchmakingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1252,9 +1239,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMatchmakingRuleSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1329,9 +1315,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePlayerSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1406,9 +1391,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePlayerSessionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1488,9 +1472,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateScriptInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1562,9 +1545,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVpcPeeringAuthorizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1636,9 +1618,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVpcPeeringConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1711,9 +1692,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1786,9 +1766,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBuildInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1864,9 +1843,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteContainerGroupDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1940,9 +1918,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2015,9 +1992,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFleetLocationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2098,9 +2074,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGameServerGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2173,9 +2148,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGameSessionQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2247,9 +2221,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLocationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2322,9 +2295,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMatchmakingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2399,9 +2371,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMatchmakingRuleSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2473,9 +2444,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteScalingPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2548,9 +2518,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteScriptInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2622,9 +2591,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVpcPeeringAuthorizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2696,9 +2664,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVpcPeeringConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2770,9 +2737,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterComputeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2844,9 +2810,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterGameServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2918,9 +2883,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2992,9 +2956,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBuildInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3072,9 +3035,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeComputeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3149,9 +3111,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeContainerGroupDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3239,9 +3200,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEC2InstanceLimitsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3320,9 +3280,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFleetAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3401,9 +3360,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFleetCapacityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3475,9 +3433,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFleetEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3557,9 +3514,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFleetLocationAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3632,9 +3588,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFleetLocationCapacityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3707,9 +3662,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFleetLocationUtilizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3789,9 +3743,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFleetPortSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3870,9 +3823,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFleetUtilizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3944,9 +3896,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGameServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4018,9 +3969,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGameServerGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4092,9 +4042,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGameServerInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4177,9 +4126,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGameSessionDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4251,9 +4199,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGameSessionPlacementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4325,9 +4272,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGameSessionQueuesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4410,9 +4356,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGameSessionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4494,9 +4439,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4567,9 +4511,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMatchmakingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4640,9 +4583,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMatchmakingConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4716,9 +4658,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMatchmakingRuleSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4799,9 +4740,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePlayerSessionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4873,9 +4813,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRuntimeConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4948,9 +4887,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeScalingPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5022,9 +4960,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeScriptInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5095,9 +5032,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVpcPeeringAuthorizationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5169,9 +5105,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVpcPeeringConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5247,9 +5182,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetComputeAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5334,9 +5268,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetComputeAuthTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5408,9 +5341,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGameSessionLogUrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5489,9 +5421,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInstanceAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5562,9 +5493,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAliasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5635,9 +5565,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBuildsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5714,9 +5643,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListComputeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5790,9 +5718,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListContainerGroupDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5875,9 +5802,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFleetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5948,9 +5874,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGameServerGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6021,9 +5946,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGameServersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6094,9 +6018,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLocationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6167,9 +6090,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListScriptsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6241,9 +6163,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6315,9 +6236,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutScalingPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6397,9 +6317,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterComputeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6472,9 +6391,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterGameServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6546,9 +6464,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RequestUploadCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6621,9 +6538,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResolveAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6695,9 +6611,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResumeGameServerGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6795,9 +6710,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchGameSessionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6877,9 +6791,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartFleetActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6962,9 +6875,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartGameSessionPlacementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7036,9 +6948,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMatchBackfillInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7110,9 +7021,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMatchmakingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7192,9 +7102,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopFleetActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7266,9 +7175,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopGameSessionPlacementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7340,9 +7248,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopMatchmakingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7419,9 +7326,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SuspendGameServerGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7493,9 +7399,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7567,9 +7472,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7641,9 +7545,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7715,9 +7618,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBuildInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7792,9 +7694,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFleetAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7877,9 +7778,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFleetCapacityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7954,9 +7854,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFleetPortSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8037,9 +7936,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGameServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8111,9 +8009,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGameServerGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8187,9 +8084,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGameSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8261,9 +8157,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGameSessionQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8335,9 +8230,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMatchmakingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8411,9 +8305,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRuntimeConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8485,9 +8378,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateScriptInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8560,9 +8452,8 @@ extension GameLiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ValidateMatchmakingRuleSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSGlacier/Sources/AWSGlacier/GlacierClient.swift b/Sources/Services/AWSGlacier/Sources/AWSGlacier/GlacierClient.swift index 9d397cd1a32..a9fa85de7c6 100644 --- a/Sources/Services/AWSGlacier/Sources/AWSGlacier/GlacierClient.swift +++ b/Sources/Services/AWSGlacier/Sources/AWSGlacier/GlacierClient.swift @@ -32,7 +32,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -236,9 +235,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -317,9 +315,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -399,9 +396,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -484,9 +480,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -566,9 +561,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -654,9 +648,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -742,9 +735,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -823,9 +815,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -904,9 +895,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -985,9 +975,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -1066,9 +1055,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -1147,9 +1135,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -1227,9 +1214,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -1308,9 +1294,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -1390,9 +1375,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -1482,9 +1466,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -1563,9 +1546,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -1646,9 +1628,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -1730,9 +1711,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -1821,9 +1801,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -1905,9 +1884,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -1987,9 +1965,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -2069,9 +2046,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -2150,9 +2126,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -2231,9 +2206,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -2312,9 +2286,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -2394,9 +2367,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -2475,9 +2447,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -2559,9 +2530,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -2643,9 +2613,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -2734,9 +2703,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -2819,9 +2787,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() @@ -2914,9 +2881,8 @@ extension GlacierClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.addModifyBeforeSerialization { context in let input = context.getInput() diff --git a/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift b/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift index 1d18373c806..bb4d1d83dff 100644 --- a/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift +++ b/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddCustomRoutingEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -316,9 +314,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -391,9 +388,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AdvertiseByoipCidrInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -464,9 +460,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AllowCustomRoutingTrafficInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -539,9 +534,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAcceleratorInput.urlPathProvider(_:))) @@ -615,9 +609,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCrossAccountAttachmentInput.urlPathProvider(_:))) @@ -691,9 +684,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCustomRoutingAcceleratorInput.urlPathProvider(_:))) @@ -770,9 +762,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCustomRoutingEndpointGroupInput.urlPathProvider(_:))) @@ -846,9 +837,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCustomRoutingListenerInput.urlPathProvider(_:))) @@ -924,9 +914,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEndpointGroupInput.urlPathProvider(_:))) @@ -1000,9 +989,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateListenerInput.urlPathProvider(_:))) @@ -1077,9 +1065,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAcceleratorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1152,9 +1139,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCrossAccountAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1228,9 +1214,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCustomRoutingAcceleratorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1301,9 +1286,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCustomRoutingEndpointGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1375,9 +1359,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCustomRoutingListenerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1448,9 +1431,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEndpointGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1522,9 +1504,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteListenerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1595,9 +1576,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DenyCustomRoutingTrafficInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1670,9 +1650,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeprovisionByoipCidrInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1743,9 +1722,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAcceleratorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1816,9 +1794,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAcceleratorAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1890,9 +1867,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCrossAccountAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1963,9 +1939,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCustomRoutingAcceleratorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2036,9 +2011,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCustomRoutingAcceleratorAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2109,9 +2083,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCustomRoutingEndpointGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2182,9 +2155,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCustomRoutingListenerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2255,9 +2227,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEndpointGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2328,9 +2299,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeListenerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2401,9 +2371,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAcceleratorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2475,9 +2444,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListByoipCidrsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2549,9 +2517,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCrossAccountAttachmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2621,9 +2588,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCrossAccountResourceAccountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2696,9 +2662,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCrossAccountResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2769,9 +2734,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCustomRoutingAcceleratorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2843,9 +2807,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCustomRoutingEndpointGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2917,9 +2880,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCustomRoutingListenersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2992,9 +2954,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCustomRoutingPortMappingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3066,9 +3027,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCustomRoutingPortMappingsByDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3140,9 +3100,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEndpointGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3214,9 +3173,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListListenersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3290,9 +3248,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3365,9 +3322,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ProvisionByoipCidrInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3441,9 +3397,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveCustomRoutingEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3520,9 +3475,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3593,9 +3547,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3666,9 +3619,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3753,9 +3705,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAcceleratorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3828,9 +3779,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAcceleratorAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3904,9 +3854,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCrossAccountAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3979,9 +3928,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCustomRoutingAcceleratorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4054,9 +4002,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCustomRoutingAcceleratorAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4129,9 +4076,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCustomRoutingListenerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4204,9 +4150,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEndpointGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4279,9 +4224,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateListenerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4354,9 +4298,8 @@ extension GlobalAcceleratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(WithdrawByoipCidrInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSGlue/Sources/AWSGlue/GlueClient.swift b/Sources/Services/AWSGlue/Sources/AWSGlue/GlueClient.swift index aa8b19a5af9..98427b90842 100644 --- a/Sources/Services/AWSGlue/Sources/AWSGlue/GlueClient.swift +++ b/Sources/Services/AWSGlue/Sources/AWSGlue/GlueClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchCreatePartitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -379,9 +376,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeletePartitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -455,9 +451,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -529,9 +524,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteTableVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -602,9 +596,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetBlueprintsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -674,9 +667,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetCrawlersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -747,9 +739,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetCustomEntityTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -820,9 +811,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetDataQualityResultInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -894,9 +884,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetDevEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -967,9 +956,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1045,9 +1033,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetPartitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1116,9 +1103,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetTableOptimizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1189,9 +1175,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetTriggersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1262,9 +1247,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetWorkflowsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1336,9 +1320,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchPutDataQualityStatisticAnnotationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1409,9 +1392,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchStopJobRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1484,9 +1466,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchUpdatePartitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1558,9 +1539,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelDataQualityRuleRecommendationRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1632,9 +1612,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelDataQualityRulesetEvaluationRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1706,9 +1685,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelMLTaskRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1782,9 +1760,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelStatementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1855,9 +1832,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CheckSchemaVersionValidityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1930,9 +1906,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBlueprintInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2003,9 +1978,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClassifierInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2078,9 +2052,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2152,9 +2125,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCrawlerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2229,9 +2201,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCustomEntityTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2304,9 +2275,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataQualityRulesetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2382,9 +2352,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDatabaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2460,9 +2429,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDevEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2537,9 +2505,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2614,9 +2581,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMLTransformInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2691,9 +2657,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePartitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2768,9 +2733,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePartitionIndexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2844,9 +2808,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRegistryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2921,9 +2884,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2994,9 +2956,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateScriptInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3069,9 +3030,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSecurityConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3147,9 +3107,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3226,9 +3185,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3301,9 +3259,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTableOptimizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3379,9 +3336,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTriggerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3455,9 +3411,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUsageProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3532,9 +3487,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserDefinedFunctionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3608,9 +3562,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3681,9 +3634,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBlueprintInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3753,9 +3705,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClassifierInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3828,9 +3779,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteColumnStatisticsForPartitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3903,9 +3853,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteColumnStatisticsForTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3975,9 +3924,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4049,9 +3997,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCrawlerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4124,9 +4071,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCustomEntityTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4198,9 +4144,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataQualityRulesetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4273,9 +4218,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDatabaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4347,9 +4291,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDevEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4420,9 +4363,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4494,9 +4436,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMLTransformInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4568,9 +4509,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePartitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4644,9 +4584,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePartitionIndexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4718,9 +4657,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRegistryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4793,9 +4731,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4867,9 +4804,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4941,9 +4877,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSchemaVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5015,9 +4950,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSecurityConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5091,9 +5025,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5167,9 +5100,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5241,9 +5173,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTableOptimizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5315,9 +5246,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTableVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5389,9 +5319,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTriggerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5463,9 +5392,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUsageProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5537,9 +5465,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserDefinedFunctionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5611,9 +5538,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5685,9 +5611,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBlueprintInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5758,9 +5683,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBlueprintRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5832,9 +5756,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBlueprintRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5904,9 +5827,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCatalogImportStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5976,9 +5898,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetClassifierInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6047,9 +5968,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetClassifiersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6122,9 +6042,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetColumnStatisticsForPartitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6197,9 +6116,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetColumnStatisticsForTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6270,9 +6188,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetColumnStatisticsTaskRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6341,9 +6258,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetColumnStatisticsTaskRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6415,9 +6331,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6489,9 +6404,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6561,9 +6475,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCrawlerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6632,9 +6545,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCrawlerMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6703,9 +6615,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCrawlersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6778,9 +6689,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCustomEntityTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6851,9 +6761,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataCatalogEncryptionSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6925,9 +6834,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataQualityModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6999,9 +6907,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataQualityModelResultInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7073,9 +6980,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataQualityResultInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7147,9 +7053,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataQualityRuleRecommendationRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7221,9 +7126,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataQualityRulesetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7295,9 +7199,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataQualityRulesetEvaluationRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7371,9 +7274,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDatabaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7445,9 +7347,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDatabasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7518,9 +7419,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataflowGraphInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7592,9 +7492,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDevEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7666,9 +7565,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDevEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7740,9 +7638,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7821,9 +7718,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJobBookmarkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7895,9 +7791,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJobRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7969,9 +7864,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJobRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8043,9 +7937,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8117,9 +8010,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMLTaskRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8191,9 +8083,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMLTaskRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8265,9 +8156,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMLTransformInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8339,9 +8229,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMLTransformsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8413,9 +8302,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8490,9 +8378,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPartitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8565,9 +8452,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPartitionIndexesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8644,9 +8530,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPartitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8717,9 +8602,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8791,9 +8675,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRegistryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8865,9 +8748,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcePoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8939,9 +8821,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9013,9 +8894,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9087,9 +8967,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSchemaByDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9161,9 +9040,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSchemaVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9235,9 +9113,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSchemaVersionsDiffInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9309,9 +9186,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSecurityConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9383,9 +9259,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSecurityConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9458,9 +9333,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9534,9 +9408,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStatementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9612,9 +9485,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9686,9 +9558,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTableOptimizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9761,9 +9632,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTableVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9836,9 +9706,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTableVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9913,9 +9782,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTablesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9987,9 +9855,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10061,9 +9928,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTriggerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10135,9 +10001,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTriggersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10213,9 +10078,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUnfilteredPartitionMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10291,9 +10155,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUnfilteredPartitionsMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10369,9 +10232,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUnfilteredTableMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10444,9 +10306,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUsageProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10519,9 +10380,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUserDefinedFunctionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10594,9 +10454,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUserDefinedFunctionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10668,9 +10527,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10742,9 +10600,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkflowRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10816,9 +10673,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkflowRunPropertiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10890,9 +10746,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkflowRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10962,9 +10817,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportCatalogToGlueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11035,9 +10889,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBlueprintsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11106,9 +10959,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListColumnStatisticsTaskRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11177,9 +11029,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCrawlersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11258,9 +11109,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCrawlsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11331,9 +11181,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCustomEntityTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11404,9 +11253,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataQualityResultsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11477,9 +11325,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataQualityRuleRecommendationRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11550,9 +11397,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataQualityRulesetEvaluationRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11624,9 +11470,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataQualityRulesetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11696,9 +11541,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataQualityStatisticAnnotationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11769,9 +11613,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataQualityStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11843,9 +11686,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDevEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11917,9 +11759,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11991,9 +11832,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMLTransformsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12064,9 +11904,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRegistriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12138,9 +11977,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSchemaVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12212,9 +12050,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSchemasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12286,9 +12123,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSessionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12362,9 +12198,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStatementsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12436,9 +12271,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTableOptimizerRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12510,9 +12344,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTriggersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12584,9 +12417,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUsageProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12657,9 +12489,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkflowsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12730,9 +12561,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDataCatalogEncryptionSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12803,9 +12633,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDataQualityProfileAnnotationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12878,9 +12707,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12953,9 +12781,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutSchemaVersionMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13030,9 +12857,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutWorkflowRunPropertiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13103,9 +12929,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(QuerySchemaVersionMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13179,9 +13004,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterSchemaVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13252,9 +13076,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveSchemaVersionMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13332,9 +13155,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetJobBookmarkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13408,9 +13230,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResumeWorkflowRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13486,9 +13307,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RunStatementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13559,9 +13379,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchTablesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13635,9 +13454,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartBlueprintRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13711,9 +13529,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartColumnStatisticsTaskRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13784,9 +13601,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartCrawlerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13859,9 +13675,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartCrawlerScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13933,9 +13748,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDataQualityRuleRecommendationRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14008,9 +13822,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDataQualityRulesetEvaluationRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14082,9 +13895,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartExportLabelsTaskRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14157,9 +13969,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartImportLabelsTaskRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14233,9 +14044,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartJobRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14309,9 +14119,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMLEvaluationTaskRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14384,9 +14193,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMLLabelingSetGenerationTaskRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14460,9 +14268,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartTriggerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14536,9 +14343,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartWorkflowRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14610,9 +14416,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopColumnStatisticsTaskRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14684,9 +14489,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopCrawlerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14758,9 +14562,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopCrawlerScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14834,9 +14637,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14909,9 +14711,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopTriggerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14984,9 +14785,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopWorkflowRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15058,9 +14858,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15132,9 +14931,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15208,9 +15006,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBlueprintInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15282,9 +15079,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateClassifierInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15357,9 +15153,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateColumnStatisticsForPartitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15432,9 +15227,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateColumnStatisticsForTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15506,9 +15300,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15581,9 +15374,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCrawlerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15656,9 +15448,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCrawlerScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15733,9 +15524,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDataQualityRulesetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15809,9 +15599,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDatabaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15884,9 +15673,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDevEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15959,9 +15747,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16036,9 +15823,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateJobFromSourceControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16111,9 +15897,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMLTransformInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16186,9 +15971,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePartitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16261,9 +16045,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRegistryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16336,9 +16119,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16413,9 +16195,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSourceControlFromJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16491,9 +16272,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16565,9 +16345,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTableOptimizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16640,9 +16419,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTriggerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16716,9 +16494,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUsageProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16791,9 +16568,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserDefinedFunctionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16866,9 +16642,8 @@ extension GlueClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSGrafana/Sources/AWSGrafana/GrafanaClient.swift b/Sources/Services/AWSGrafana/Sources/AWSGrafana/GrafanaClient.swift index 98f67e98073..4e329e245b4 100644 --- a/Sources/Services/AWSGrafana/Sources/AWSGrafana/GrafanaClient.swift +++ b/Sources/Services/AWSGrafana/Sources/AWSGrafana/GrafanaClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateLicenseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkspaceInput.urlPathProvider(_:))) @@ -382,9 +379,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkspaceApiKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -458,9 +454,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkspaceServiceAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -534,9 +529,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkspaceServiceAccountTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -609,9 +603,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkspaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -681,9 +674,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkspaceApiKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -753,9 +745,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkspaceServiceAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -825,9 +816,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkspaceServiceAccountTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -896,9 +886,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorkspaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -968,9 +957,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorkspaceAuthenticationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1038,9 +1026,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorkspaceConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1109,9 +1096,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateLicenseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1180,9 +1166,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1252,9 +1237,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1323,9 +1307,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1396,9 +1379,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkspaceServiceAccountTokensInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1469,9 +1451,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkspaceServiceAccountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1539,9 +1520,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkspacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1611,9 +1591,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1685,9 +1664,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1757,9 +1735,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1832,9 +1809,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorkspaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1907,9 +1883,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorkspaceAuthenticationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1982,9 +1957,8 @@ extension GrafanaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorkspaceConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/GreengrassClient.swift b/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/GreengrassClient.swift index 8cb651c745a..c56e9ba44e6 100644 --- a/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/GreengrassClient.swift +++ b/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/GreengrassClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateRoleToGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -299,9 +297,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateServiceRoleToAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -369,9 +366,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConnectorDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -440,9 +436,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConnectorDefinitionVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -511,9 +506,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCoreDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -582,9 +576,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCoreDefinitionVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -653,9 +646,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -724,9 +716,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDeviceDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -795,9 +786,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDeviceDefinitionVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -866,9 +856,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFunctionDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -937,9 +926,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFunctionDefinitionVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1008,9 +996,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1080,9 +1067,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGroupCertificateAuthorityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1148,9 +1134,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGroupVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1219,9 +1204,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLoggerDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1290,9 +1274,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLoggerDefinitionVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1361,9 +1344,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateResourceDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1432,9 +1414,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateResourceDefinitionVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1504,9 +1485,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSoftwareUpdateJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1575,9 +1555,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSubscriptionDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1646,9 +1625,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSubscriptionDefinitionVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1717,9 +1695,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConnectorDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1784,9 +1761,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCoreDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1851,9 +1827,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDeviceDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1918,9 +1893,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFunctionDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1985,9 +1959,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2052,9 +2025,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLoggerDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2119,9 +2091,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourceDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2186,9 +2157,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSubscriptionDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2254,9 +2224,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateRoleFromGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2321,9 +2290,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateServiceRoleFromAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2389,9 +2357,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssociatedRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2456,9 +2423,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBulkDeploymentStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2524,9 +2490,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConnectivityInfoInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2591,9 +2556,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConnectorDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2658,9 +2622,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConnectorDefinitionVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2726,9 +2689,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCoreDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2793,9 +2755,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCoreDefinitionVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2860,9 +2821,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeploymentStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2927,9 +2887,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeviceDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2994,9 +2953,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeviceDefinitionVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3062,9 +3020,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFunctionDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3129,9 +3086,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFunctionDefinitionVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3197,9 +3153,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3265,9 +3220,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGroupCertificateAuthorityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3333,9 +3287,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGroupCertificateConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3400,9 +3353,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGroupVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3467,9 +3419,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLoggerDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3534,9 +3485,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLoggerDefinitionVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3602,9 +3552,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourceDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3669,9 +3618,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourceDefinitionVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3736,9 +3684,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceRoleForAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3803,9 +3750,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSubscriptionDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3870,9 +3816,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSubscriptionDefinitionVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3939,9 +3884,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetThingRuntimeConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4006,9 +3950,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBulkDeploymentDetailedReportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4074,9 +4017,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBulkDeploymentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4142,9 +4084,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConnectorDefinitionVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4205,9 +4146,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConnectorDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4273,9 +4213,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCoreDefinitionVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4336,9 +4275,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCoreDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4404,9 +4342,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeploymentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4472,9 +4409,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeviceDefinitionVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4535,9 +4471,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeviceDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4603,9 +4538,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFunctionDefinitionVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4666,9 +4600,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFunctionDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4735,9 +4668,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGroupCertificateAuthoritiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4802,9 +4734,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGroupVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4865,9 +4796,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4933,9 +4863,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLoggerDefinitionVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4996,9 +4925,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLoggerDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5064,9 +4992,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceDefinitionVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5127,9 +5054,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5195,9 +5121,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSubscriptionDefinitionVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5258,9 +5183,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSubscriptionDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5326,9 +5250,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5393,9 +5316,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetDeploymentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5464,9 +5386,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartBulkDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5535,9 +5456,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopBulkDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5602,9 +5522,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5672,9 +5591,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5741,9 +5659,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConnectivityInfoInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5811,9 +5728,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConnectorDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5881,9 +5797,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCoreDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5951,9 +5866,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDeviceDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6021,9 +5935,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFunctionDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6091,9 +6004,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6162,9 +6074,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGroupCertificateConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6232,9 +6143,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLoggerDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6302,9 +6212,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResourceDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6372,9 +6281,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSubscriptionDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6443,9 +6351,8 @@ extension GreengrassClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateThingRuntimeConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/GreengrassV2Client.swift b/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/GreengrassV2Client.swift index 4dc19ba8cf1..d6e93a8744c 100644 --- a/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/GreengrassV2Client.swift +++ b/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/GreengrassV2Client.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateServiceRoleToAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -304,9 +302,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchAssociateClientDeviceWithCoreDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -378,9 +375,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDisassociateClientDeviceFromCoreDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -453,9 +449,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -530,9 +525,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateComponentVersionInput.urlPathProvider(_:))) @@ -607,9 +601,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDeploymentInput.urlPathProvider(_:))) @@ -683,9 +676,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -755,9 +747,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCoreDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -827,9 +818,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -898,9 +888,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -965,9 +954,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateServiceRoleFromAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1036,9 +1024,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1108,9 +1095,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetComponentVersionArtifactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1178,9 +1164,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConnectivityInfoInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1259,9 +1244,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCoreDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1330,9 +1314,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1397,9 +1380,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceRoleForAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1468,9 +1450,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListClientDevicesAssociatedWithCoreDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1540,9 +1521,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListComponentVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1612,9 +1592,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListComponentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1693,9 +1672,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCoreDevicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1764,9 +1742,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeploymentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1836,9 +1813,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEffectiveDeploymentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1918,9 +1894,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInstalledComponentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1988,9 +1963,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2060,9 +2034,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResolveComponentCandidatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2132,9 +2105,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2204,9 +2176,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2273,9 +2244,8 @@ extension GreengrassV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConnectivityInfoInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/GroundStationClient.swift b/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/GroundStationClient.swift index d22220a60f9..927214a13e5 100644 --- a/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/GroundStationClient.swift +++ b/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/GroundStationClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -299,9 +297,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -371,9 +368,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataflowEndpointGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -443,9 +439,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEphemerisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -515,9 +510,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMissionProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -587,9 +581,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -656,9 +649,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataflowEndpointGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -725,9 +717,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEphemerisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -794,9 +785,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMissionProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -863,9 +853,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -932,9 +921,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEphemerisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1001,9 +989,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAgentConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1070,9 +1057,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1139,9 +1125,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataflowEndpointGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1208,9 +1193,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMinuteUsageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1280,9 +1264,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMissionProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1349,9 +1332,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSatelliteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1418,9 +1400,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1488,9 +1469,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListContactsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1560,9 +1540,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataflowEndpointGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1630,9 +1609,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEphemeridesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1703,9 +1681,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGroundStationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1773,9 +1750,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMissionProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1843,9 +1819,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSatellitesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1913,9 +1888,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1982,9 +1956,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterAgentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2054,9 +2027,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReserveContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2126,9 +2098,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2198,9 +2169,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2268,9 +2238,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAgentStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2340,9 +2309,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2412,9 +2380,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEphemerisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2484,9 +2451,8 @@ extension GroundStationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMissionProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/GuardDutyClient.swift b/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/GuardDutyClient.swift index b003ce8157c..47b80ce5eef 100644 --- a/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/GuardDutyClient.swift +++ b/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/GuardDutyClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptAdministratorInvitationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -301,9 +299,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptInvitationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -372,9 +369,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ArchiveFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -450,9 +446,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDetectorInput.urlPathProvider(_:))) @@ -522,9 +517,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFilterInput.urlPathProvider(_:))) @@ -594,9 +588,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIPSetInput.urlPathProvider(_:))) @@ -668,9 +661,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMalwareProtectionPlanInput.urlPathProvider(_:))) @@ -740,9 +732,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -777,7 +768,7 @@ extension GuardDutyClient { /// Performs the `CreatePublishingDestination` operation on the `GuardDutyAPIService` service. /// - /// Creates a publishing destination to export findings to. The resource to export findings to must exist before you use this operation. + /// Creates a publishing destination where you can export your GuardDuty findings. Before you start exporting the findings, the destination resource must exist. /// /// - Parameter CreatePublishingDestinationInput : [no documentation found] /// @@ -811,9 +802,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePublishingDestinationInput.urlPathProvider(_:))) @@ -883,9 +873,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSampleFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -954,9 +943,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateThreatIntelSetInput.urlPathProvider(_:))) @@ -1026,9 +1014,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeclineInvitationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1097,9 +1084,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDetectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1165,9 +1151,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1233,9 +1218,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIPSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1301,9 +1285,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInvitationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1374,9 +1357,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMalwareProtectionPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1442,9 +1424,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1513,9 +1494,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePublishingDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1581,9 +1561,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteThreatIntelSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1649,9 +1628,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMalwareScansInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1720,9 +1698,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOrganizationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1789,9 +1766,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePublishingDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1857,9 +1833,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableOrganizationAdminAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1928,9 +1903,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateFromAdministratorAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1997,9 +1971,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateFromMasterAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2065,9 +2038,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2136,9 +2108,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableOrganizationAdminAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2207,9 +2178,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAdministratorAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2275,9 +2245,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCoverageStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2312,7 +2281,7 @@ extension GuardDutyClient { /// Performs the `GetDetector` operation on the `GuardDutyAPIService` service. /// - /// Retrieves an Amazon GuardDuty detector specified by the detectorId. There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see [Regions and endpoints](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html). + /// Retrieves a GuardDuty detector specified by the detectorId. There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see [Regions and endpoints](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html). /// /// - Parameter GetDetectorInput : [no documentation found] /// @@ -2346,9 +2315,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDetectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2414,9 +2382,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2482,9 +2449,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2519,7 +2485,7 @@ extension GuardDutyClient { /// Performs the `GetFindingsStatistics` operation on the `GuardDutyAPIService` service. /// - /// Lists Amazon GuardDuty findings statistics for the specified detector ID. There might be regional differences because some flags might not be available in all the Regions where GuardDuty is currently supported. For more information, see [Regions and endpoints](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html). + /// Lists GuardDuty findings statistics for the specified detector ID. You must provide either findingStatisticTypes or groupBy parameter, and not both. You can use the maxResults and orderBy parameters only when using groupBy. There might be regional differences because some flags might not be available in all the Regions where GuardDuty is currently supported. For more information, see [Regions and endpoints](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html). /// /// - Parameter GetFindingsStatisticsInput : [no documentation found] /// @@ -2553,9 +2519,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFindingsStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2624,9 +2589,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIPSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2692,9 +2656,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInvitationsCountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2762,9 +2725,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMalwareProtectionPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2830,9 +2792,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMalwareScanSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2899,9 +2860,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMasterAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2967,9 +2927,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMemberDetectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3038,9 +2997,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3109,9 +3067,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOrganizationStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3177,9 +3134,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRemainingFreeTrialDaysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3248,9 +3204,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetThreatIntelSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3316,9 +3271,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUsageStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3387,9 +3341,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InviteMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3458,9 +3411,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCoverageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3529,9 +3481,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDetectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3598,9 +3549,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFiltersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3667,9 +3617,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3738,9 +3687,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIPSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3807,9 +3755,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInvitationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3877,9 +3824,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMalwareProtectionPlansInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3946,9 +3892,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4015,9 +3960,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOrganizationAdminAccountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4084,9 +4028,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPublishingDestinationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4154,9 +4097,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4222,9 +4164,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListThreatIntelSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4292,9 +4233,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMalwareScanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4363,9 +4303,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMonitoringMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4434,9 +4373,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopMonitoringMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4506,9 +4444,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4577,9 +4514,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UnarchiveFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4649,9 +4585,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4718,9 +4653,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDetectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4789,9 +4723,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4860,9 +4793,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFindingsFeedbackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4931,9 +4863,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIPSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5004,9 +4935,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMalwareProtectionPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5075,9 +5005,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMalwareScanSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5146,9 +5075,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMemberDetectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5217,9 +5145,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateOrganizationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5288,9 +5215,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePublishingDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5359,9 +5285,8 @@ extension GuardDutyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateThreatIntelSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/Models.swift b/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/Models.swift index cc3b77caf86..ab628549e75 100644 --- a/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/Models.swift +++ b/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/Models.swift @@ -494,6 +494,30 @@ extension GuardDutyClientTypes { } +extension GuardDutyClientTypes { + /// Represents a list of map of accounts with the number of findings associated with each account. + public struct AccountStatistics { + /// The ID of the Amazon Web Services account. + public var accountId: Swift.String? + /// The timestamp at which the finding for this account was last generated. + public var lastGeneratedAt: Foundation.Date? + /// The total number of findings associated with an account. + public var totalFindings: Swift.Int? + + public init( + accountId: Swift.String? = nil, + lastGeneratedAt: Foundation.Date? = nil, + totalFindings: Swift.Int? = nil + ) + { + self.accountId = accountId + self.lastGeneratedAt = lastGeneratedAt + self.totalFindings = totalFindings + } + } + +} + extension GuardDutyClientTypes { /// Contains information about the domain. public struct DomainDetails { @@ -2715,7 +2739,7 @@ public struct CreateFilterInput { public var clientToken: Swift.String? /// The description of the filter. Valid characters include alphanumeric characters, and special characters such as hyphen, period, colon, underscore, parentheses ({ }, [ ], and ( )), forward slash, horizontal tab, vertical tab, newline, form feed, return, and whitespace. public var description: Swift.String? - /// The ID of the detector belonging to the GuardDuty account that you want to create a filter for. + /// The detector ID associated with the GuardDuty account for which you want to create a filter. /// This member is required. public var detectorId: Swift.String? /// Represents the criteria to be used in the filter for querying findings. You can only use the following attributes to query findings: @@ -3010,7 +3034,7 @@ public struct CreateIPSetInput { public var activate: Swift.Bool? /// The idempotency token for the create request. public var clientToken: Swift.String? - /// The unique ID of the detector of the GuardDuty account that you want to create an IPSet for. + /// The unique ID of the detector of the GuardDuty account for which you want to create an IPSet. /// This member is required. public var detectorId: Swift.String? /// The format of the file that contains the IPSet. @@ -3163,7 +3187,7 @@ public struct CreateMalwareProtectionPlanInput { /// Information about the protected resource that is associated with the created Malware Protection plan. Presently, S3Bucket is the only supported protected resource. /// This member is required. public var protectedResource: GuardDutyClientTypes.CreateProtectedResource? - /// IAM role with permissions required to scan and add tags to the associated protected resource. + /// Amazon Resource Name (ARN) of the IAM role that has the permissions to scan and add tags to the associated protected resource. /// This member is required. public var role: Swift.String? /// Tags added to the Malware Protection plan resource. @@ -3201,7 +3225,7 @@ public struct CreateMembersInput { /// A list of account ID and email address pairs of the accounts that you want to associate with the GuardDuty administrator account. /// This member is required. public var accountDetails: [GuardDutyClientTypes.AccountDetail]? - /// The unique ID of the detector of the GuardDuty account that you want to associate member accounts with. + /// The unique ID of the detector of the GuardDuty account for which you want to associate member accounts. /// This member is required. public var detectorId: Swift.String? @@ -3337,7 +3361,7 @@ public struct CreatePublishingDestinationOutput { } public struct CreateSampleFindingsInput { - /// The ID of the detector to create sample findings for. + /// The ID of the detector for which you need to create sample findings. /// This member is required. public var detectorId: Swift.String? /// The types of sample findings to generate. @@ -3405,7 +3429,7 @@ public struct CreateThreatIntelSetInput { public var activate: Swift.Bool? /// The idempotency token for the create request. public var clientToken: Swift.String? - /// The unique ID of the detector of the GuardDuty account that you want to create a threatIntelSet for. + /// The unique ID of the detector of the GuardDuty account for which you want to create a ThreatIntelSet. /// This member is required. public var detectorId: Swift.String? /// The format of the file that contains the ThreatIntelSet. @@ -3663,6 +3687,34 @@ extension GuardDutyClientTypes { } +extension GuardDutyClientTypes { + /// Represents list a map of dates with a count of total findings generated on each date. + public struct DateStatistics { + /// The timestamp when the total findings count is observed. For example, Date would look like "2024-09-05T17:00:00-07:00" whereas LastGeneratedAt would look like 2024-09-05T17:12:29-07:00". + public var date: Foundation.Date? + /// The timestamp at which the last finding in the findings count, was generated. + public var lastGeneratedAt: Foundation.Date? + /// The severity of the findings generated on each date. + public var severity: Swift.Double? + /// The total number of findings that were generated per severity level on each date. + public var totalFindings: Swift.Int? + + public init( + date: Foundation.Date? = nil, + lastGeneratedAt: Foundation.Date? = nil, + severity: Swift.Double? = nil, + totalFindings: Swift.Int? = nil + ) + { + self.date = date + self.lastGeneratedAt = lastGeneratedAt + self.severity = severity + self.totalFindings = totalFindings + } + } + +} + public struct DeclineInvitationsInput { /// A list of account IDs of the Amazon Web Services accounts that sent invitations to the current member account that you want to decline invitations from. /// This member is required. @@ -3728,7 +3780,7 @@ public struct DeleteDetectorOutput { } public struct DeleteFilterInput { - /// The unique ID of the detector that the filter is associated with. + /// The unique ID of the detector that is associated with the filter. /// This member is required. public var detectorId: Swift.String? /// The name of the filter that you want to delete. @@ -3896,7 +3948,7 @@ public struct DeletePublishingDestinationOutput { } public struct DeleteThreatIntelSetInput { - /// The unique ID of the detector that the threatIntelSet is associated with. + /// The unique ID of the detector that is associated with the threatIntelSet. /// This member is required. public var detectorId: Swift.String? /// The unique ID of the threatIntelSet that you want to delete. @@ -4217,7 +4269,7 @@ extension GuardDutyClientTypes { public struct Scan { /// The ID for the account that belongs to the scan. public var accountId: Swift.String? - /// The unique detector ID of the administrator account that the request is associated with. Note that this value will be the same as the one used for DetectorId if the account is an administrator. + /// The unique detector ID of the administrator account that the request is associated with. If the account is an administrator, the AdminDetectorId will be the same as the one used for DetectorId. public var adminDetectorId: Swift.String? /// List of volumes that were attached to the original instance to be scanned. public var attachedVolumes: [GuardDutyClientTypes.VolumeDetail]? @@ -4302,7 +4354,7 @@ public struct DescribeMalwareScansOutput { } public struct DescribeOrganizationConfigurationInput { - /// The ID of the detector to retrieve information about the delegated administrator from. + /// The detector ID of the delegated administrator for which you need to retrieve the information. /// This member is required. public var detectorId: Swift.String? /// You can use this parameter to indicate the maximum number of items that you want in the response. @@ -6689,17 +6741,138 @@ extension GuardDutyClientTypes { } +extension GuardDutyClientTypes { + /// Information about each finding type associated with the groupedByFindingType statistics. + public struct FindingTypeStatistics { + /// Name of the finding type. + public var findingType: Swift.String? + /// The timestamp at which this finding type was last generated in your environment. + public var lastGeneratedAt: Foundation.Date? + /// The total number of findings associated with generated for each distinct finding type. + public var totalFindings: Swift.Int? + + public init( + findingType: Swift.String? = nil, + lastGeneratedAt: Foundation.Date? = nil, + totalFindings: Swift.Int? = nil + ) + { + self.findingType = findingType + self.lastGeneratedAt = lastGeneratedAt + self.totalFindings = totalFindings + } + } + +} + +extension GuardDutyClientTypes { + /// Information about each resource type associated with the groupedByResource statistics. + public struct ResourceStatistics { + /// The ID of the Amazon Web Services account. + public var accountId: Swift.String? + /// The timestamp at which the statistics for this resource was last generated. + public var lastGeneratedAt: Foundation.Date? + /// ID associated with each resource. The following list provides the mapping of the resource type and resource ID. Mapping of resource and resource ID + /// + /// * AccessKey - resource.accessKeyDetails.accessKeyId + /// + /// * Container - resource.containerDetails.id + /// + /// * ECSCluster - resource.ecsClusterDetails.name + /// + /// * EKSCluster - resource.eksClusterDetails.name + /// + /// * Instance - resource.instanceDetails.instanceId + /// + /// * KubernetesCluster - resource.kubernetesDetails.kubernetesWorkloadDetails.name + /// + /// * Lambda - resource.lambdaDetails.functionName + /// + /// * RDSDBInstance - resource.rdsDbInstanceDetails.dbInstanceIdentifier + /// + /// * S3Bucket - resource.s3BucketDetails.name + /// + /// * S3Object - resource.s3BucketDetails.name + public var resourceId: Swift.String? + /// The type of resource. + public var resourceType: Swift.String? + /// The total number of findings associated with this resource. + public var totalFindings: Swift.Int? + + public init( + accountId: Swift.String? = nil, + lastGeneratedAt: Foundation.Date? = nil, + resourceId: Swift.String? = nil, + resourceType: Swift.String? = nil, + totalFindings: Swift.Int? = nil + ) + { + self.accountId = accountId + self.lastGeneratedAt = lastGeneratedAt + self.resourceId = resourceId + self.resourceType = resourceType + self.totalFindings = totalFindings + } + } + +} + +extension GuardDutyClientTypes { + /// Information about severity level for each finding type. + public struct SeverityStatistics { + /// The timestamp at which a finding type for a specific severity was last generated. + public var lastGeneratedAt: Foundation.Date? + /// The severity level associated with each finding type. + public var severity: Swift.Double? + /// The total number of findings associated with this severity. + public var totalFindings: Swift.Int? + + public init( + lastGeneratedAt: Foundation.Date? = nil, + severity: Swift.Double? = nil, + totalFindings: Swift.Int? = nil + ) + { + self.lastGeneratedAt = lastGeneratedAt + self.severity = severity + self.totalFindings = totalFindings + } + } + +} + extension GuardDutyClientTypes { /// Contains information about finding statistics. public struct FindingStatistics { - /// Represents a map of severity to count statistics for a set of findings. + /// Represents a list of map of severity to count statistics for a set of findings. + @available(*, deprecated, message: "This parameter is deprecated. Please set GroupBy to 'SEVERITY' to return GroupedBySeverity instead.") public var countBySeverity: [Swift.String: Swift.Int]? - - public init( - countBySeverity: [Swift.String: Swift.Int]? = nil + /// Represents a list of map of accounts with a findings count associated with each account. + public var groupedByAccount: [GuardDutyClientTypes.AccountStatistics]? + /// Represents a list of map of dates with a count of total findings generated on each date per severity level. + public var groupedByDate: [GuardDutyClientTypes.DateStatistics]? + /// Represents a list of map of finding types with a count of total findings generated for each type. Based on the orderBy parameter, this request returns either the most occurring finding types or the least occurring finding types. If the orderBy parameter is ASC, this will represent the least occurring finding types in your account; otherwise, this will represent the most occurring finding types. The default value of orderBy is DESC. + public var groupedByFindingType: [GuardDutyClientTypes.FindingTypeStatistics]? + /// Represents a list of map of top resources with a count of total findings. + public var groupedByResource: [GuardDutyClientTypes.ResourceStatistics]? + /// Represents a list of map of total findings for each severity level. + public var groupedBySeverity: [GuardDutyClientTypes.SeverityStatistics]? + + public init( + countBySeverity: [Swift.String: Swift.Int]? = nil, + groupedByAccount: [GuardDutyClientTypes.AccountStatistics]? = nil, + groupedByDate: [GuardDutyClientTypes.DateStatistics]? = nil, + groupedByFindingType: [GuardDutyClientTypes.FindingTypeStatistics]? = nil, + groupedByResource: [GuardDutyClientTypes.ResourceStatistics]? = nil, + groupedBySeverity: [GuardDutyClientTypes.SeverityStatistics]? = nil ) { self.countBySeverity = countBySeverity + self.groupedByAccount = groupedByAccount + self.groupedByDate = groupedByDate + self.groupedByFindingType = groupedByFindingType + self.groupedByResource = groupedByResource + self.groupedBySeverity = groupedBySeverity } } @@ -6758,10 +6931,10 @@ public struct GetAdministratorAccountOutput { } public struct GetCoverageStatisticsInput { - /// The unique ID of the GuardDuty detector associated to the coverage statistics. + /// The unique ID of the GuardDuty detector. /// This member is required. public var detectorId: Swift.String? - /// Represents the criteria used to filter the coverage statistics + /// Represents the criteria used to filter the coverage statistics. public var filterCriteria: GuardDutyClientTypes.CoverageFilterCriteria? /// Represents the statistics type used to aggregate the coverage details. /// This member is required. @@ -6848,7 +7021,7 @@ public struct GetDetectorOutput { } public struct GetFilterInput { - /// The unique ID of the detector that the filter is associated with. + /// The unique ID of the detector that is associated with this filter. /// This member is required. public var detectorId: Swift.String? /// The name of the filter you want to get. @@ -6935,25 +7108,75 @@ public struct GetFindingsOutput { } } +extension GuardDutyClientTypes { + + public enum GroupByType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case account + case date + case findingType + case resource + case severity + case sdkUnknown(Swift.String) + + public static var allCases: [GroupByType] { + return [ + .account, + .date, + .findingType, + .resource, + .severity + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .account: return "ACCOUNT" + case .date: return "DATE" + case .findingType: return "FINDING_TYPE" + case .resource: return "RESOURCE" + case .severity: return "SEVERITY" + case let .sdkUnknown(s): return s + } + } + } +} + public struct GetFindingsStatisticsInput { - /// The ID of the detector that specifies the GuardDuty service whose findings' statistics you want to retrieve. + /// The ID of the detector whose findings statistics you want to retrieve. /// This member is required. public var detectorId: Swift.String? /// Represents the criteria that is used for querying findings. public var findingCriteria: GuardDutyClientTypes.FindingCriteria? /// The types of finding statistics to retrieve. - /// This member is required. + @available(*, deprecated, message: "This parameter is deprecated, please use GroupBy instead") public var findingStatisticTypes: [GuardDutyClientTypes.FindingStatisticType]? + /// Displays the findings statistics grouped by one of the listed valid values. + public var groupBy: GuardDutyClientTypes.GroupByType? + /// The maximum number of results to be returned in the response. The default value is 25. You can use this parameter only with the groupBy parameter. + public var maxResults: Swift.Int? + /// Displays the sorted findings in the requested order. The default value of orderBy is DESC. You can use this parameter only with the groupBy parameter. + public var orderBy: GuardDutyClientTypes.OrderBy? public init( detectorId: Swift.String? = nil, findingCriteria: GuardDutyClientTypes.FindingCriteria? = nil, - findingStatisticTypes: [GuardDutyClientTypes.FindingStatisticType]? = nil + findingStatisticTypes: [GuardDutyClientTypes.FindingStatisticType]? = nil, + groupBy: GuardDutyClientTypes.GroupByType? = nil, + maxResults: Swift.Int? = nil, + orderBy: GuardDutyClientTypes.OrderBy? = nil ) { self.detectorId = detectorId self.findingCriteria = findingCriteria self.findingStatisticTypes = findingStatisticTypes + self.groupBy = groupBy + self.maxResults = maxResults + self.orderBy = orderBy } } @@ -6961,12 +7184,16 @@ public struct GetFindingsStatisticsOutput { /// The finding statistics object. /// This member is required. public var findingStatistics: GuardDutyClientTypes.FindingStatistics? + /// The pagination parameter to be used on the next list operation to retrieve more items. This parameter is currently not supported. + public var nextToken: Swift.String? public init( - findingStatistics: GuardDutyClientTypes.FindingStatistics? = nil + findingStatistics: GuardDutyClientTypes.FindingStatistics? = nil, + nextToken: Swift.String? = nil ) { self.findingStatistics = findingStatistics + self.nextToken = nextToken } } @@ -6988,7 +7215,7 @@ public struct GetInvitationsCountOutput { } public struct GetIPSetInput { - /// The unique ID of the detector that the IPSet is associated with. + /// The unique ID of the detector that is associated with the IPSet. /// This member is required. public var detectorId: Swift.String? /// The unique ID of the IPSet to retrieve. @@ -7155,7 +7382,7 @@ public struct GetMalwareProtectionPlanOutput { public var createdAt: Foundation.Date? /// Information about the protected resource that is associated with the created Malware Protection plan. Presently, S3Bucket is the only supported protected resource. public var protectedResource: GuardDutyClientTypes.CreateProtectedResource? - /// IAM role that includes the permissions required to scan and add tags to the associated protected resource. + /// Amazon Resource Name (ARN) of the IAM role that includes the permissions to scan and add tags to the associated protected resource. public var role: Swift.String? /// Malware Protection plan status. public var status: GuardDutyClientTypes.MalwareProtectionPlanStatus? @@ -7187,7 +7414,7 @@ public struct GetMalwareProtectionPlanOutput { } public struct GetMalwareScanSettingsInput { - /// The unique ID of the detector that the scan setting is associated with. + /// The unique ID of the detector that is associated with this scan. /// This member is required. public var detectorId: Swift.String? @@ -7357,7 +7584,7 @@ public struct GetMasterAccountOutput { } public struct GetMemberDetectorsInput { - /// The account ID of the member account. + /// A list of member account IDs. /// This member is required. public var accountIds: [Swift.String]? /// The detector ID for the administrator account. @@ -7702,7 +7929,7 @@ public struct GetRemainingFreeTrialDaysOutput { } public struct GetThreatIntelSetInput { - /// The unique ID of the detector that the threatIntelSet is associated with. + /// The unique ID of the detector that is associated with the threatIntelSet. /// This member is required. public var detectorId: Swift.String? /// The unique ID of the threatIntelSet that you want to get. @@ -8158,7 +8385,7 @@ public struct InviteMembersInput { /// A list of account IDs of the accounts that you want to invite to GuardDuty as members. /// This member is required. public var accountIds: [Swift.String]? - /// The unique ID of the detector of the GuardDuty account that you want to invite members with. + /// The unique ID of the detector of the GuardDuty account with which you want to invite members. /// This member is required. public var detectorId: Swift.String? /// A Boolean value that specifies whether you want to disable email notification to the accounts that you are inviting to GuardDuty as members. @@ -8273,7 +8500,7 @@ public struct ListDetectorsOutput { } public struct ListFiltersInput { - /// The unique ID of the detector that the filter is associated with. + /// The unique ID of the detector that is associated with the filter. /// This member is required. public var detectorId: Swift.String? /// You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50. @@ -8406,6 +8633,8 @@ public struct ListFindingsInput { /// /// * service.archived When this attribute is set to 'true', only archived findings are listed. When it's set to 'false', only unarchived findings are listed. When this attribute is not set, all existing findings are listed. /// + /// * service.ebsVolumeScanDetails.scanId + /// /// * service.resourceRole /// /// * severity @@ -8515,7 +8744,7 @@ public struct ListInvitationsOutput { } public struct ListIPSetsInput { - /// The unique ID of the detector that the IPSet is associated with. + /// The unique ID of the detector that is associated with IPSet. /// This member is required. public var detectorId: Swift.String? /// You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50. @@ -8597,7 +8826,7 @@ public struct ListMalwareProtectionPlansOutput { } public struct ListMembersInput { - /// The unique ID of the detector the member is associated with. + /// The unique ID of the detector that is associated with the member. /// This member is required. public var detectorId: Swift.String? /// You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50. @@ -8670,7 +8899,7 @@ public struct ListOrganizationAdminAccountsOutput { } public struct ListPublishingDestinationsInput { - /// The ID of the detector to retrieve publishing destinations for. + /// The detector ID for which you want to retrieve the publishing destination. /// This member is required. public var detectorId: Swift.String? /// The maximum number of results to return in the response. @@ -8733,7 +8962,7 @@ public struct ListTagsForResourceOutput { } public struct ListThreatIntelSetsInput { - /// The unique ID of the detector that the threatIntelSet is associated with. + /// The unique ID of the detector that is associated with the threatIntelSet. /// This member is required. public var detectorId: Swift.String? /// You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50. @@ -9011,7 +9240,7 @@ public struct UpdateFilterOutput { public struct UpdateFindingsFeedbackInput { /// Additional feedback about the GuardDuty findings. public var comments: Swift.String? - /// The ID of the detector associated with the findings to update feedback for. + /// The ID of the detector that is associated with the findings for which you want to update the feedback. /// This member is required. public var detectorId: Swift.String? /// The feedback for the finding. @@ -9115,7 +9344,7 @@ public struct UpdateMalwareProtectionPlanInput { public var malwareProtectionPlanId: Swift.String? /// Information about the protected resource that is associated with the created Malware Protection plan. Presently, S3Bucket is the only supported protected resource. public var protectedResource: GuardDutyClientTypes.UpdateProtectedResource? - /// IAM role with permissions required to scan and add tags to the associated protected resource. + /// Amazon Resource Name (ARN) of the IAM role with permissions to scan and add tags to the associated protected resource. public var role: Swift.String? public init( @@ -10638,6 +10867,9 @@ extension GetFindingsStatisticsInput { guard let value else { return } try writer["findingCriteria"].write(value.findingCriteria, with: GuardDutyClientTypes.FindingCriteria.write(value:to:)) try writer["findingStatisticTypes"].writeList(value.findingStatisticTypes, memberWritingClosure: SmithyReadWrite.WritingClosureBox().write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["groupBy"].write(value.groupBy) + try writer["maxResults"].write(value.maxResults) + try writer["orderBy"].write(value.orderBy) } } @@ -11206,6 +11438,7 @@ extension GetFindingsStatisticsOutput { let reader = responseReader var value = GetFindingsStatisticsOutput() value.findingStatistics = try reader["findingStatistics"].readIfPresent(with: GuardDutyClientTypes.FindingStatistics.read(from:)) + value.nextToken = try reader["nextToken"].readIfPresent() return value } } @@ -14415,6 +14648,74 @@ extension GuardDutyClientTypes.FindingStatistics { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } var value = GuardDutyClientTypes.FindingStatistics() value.countBySeverity = try reader["countBySeverity"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readInt(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + value.groupedByAccount = try reader["groupedByAccount"].readListIfPresent(memberReadingClosure: GuardDutyClientTypes.AccountStatistics.read(from:), memberNodeInfo: "member", isFlattened: false) + value.groupedByDate = try reader["groupedByDate"].readListIfPresent(memberReadingClosure: GuardDutyClientTypes.DateStatistics.read(from:), memberNodeInfo: "member", isFlattened: false) + value.groupedByFindingType = try reader["groupedByFindingType"].readListIfPresent(memberReadingClosure: GuardDutyClientTypes.FindingTypeStatistics.read(from:), memberNodeInfo: "member", isFlattened: false) + value.groupedByResource = try reader["groupedByResource"].readListIfPresent(memberReadingClosure: GuardDutyClientTypes.ResourceStatistics.read(from:), memberNodeInfo: "member", isFlattened: false) + value.groupedBySeverity = try reader["groupedBySeverity"].readListIfPresent(memberReadingClosure: GuardDutyClientTypes.SeverityStatistics.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension GuardDutyClientTypes.SeverityStatistics { + + static func read(from reader: SmithyJSON.Reader) throws -> GuardDutyClientTypes.SeverityStatistics { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = GuardDutyClientTypes.SeverityStatistics() + value.lastGeneratedAt = try reader["lastGeneratedAt"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) + value.severity = try reader["severity"].readIfPresent() + value.totalFindings = try reader["totalFindings"].readIfPresent() + return value + } +} + +extension GuardDutyClientTypes.ResourceStatistics { + + static func read(from reader: SmithyJSON.Reader) throws -> GuardDutyClientTypes.ResourceStatistics { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = GuardDutyClientTypes.ResourceStatistics() + value.accountId = try reader["accountId"].readIfPresent() + value.lastGeneratedAt = try reader["lastGeneratedAt"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) + value.resourceId = try reader["resourceId"].readIfPresent() + value.resourceType = try reader["resourceType"].readIfPresent() + value.totalFindings = try reader["totalFindings"].readIfPresent() + return value + } +} + +extension GuardDutyClientTypes.FindingTypeStatistics { + + static func read(from reader: SmithyJSON.Reader) throws -> GuardDutyClientTypes.FindingTypeStatistics { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = GuardDutyClientTypes.FindingTypeStatistics() + value.findingType = try reader["findingType"].readIfPresent() + value.lastGeneratedAt = try reader["lastGeneratedAt"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) + value.totalFindings = try reader["totalFindings"].readIfPresent() + return value + } +} + +extension GuardDutyClientTypes.DateStatistics { + + static func read(from reader: SmithyJSON.Reader) throws -> GuardDutyClientTypes.DateStatistics { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = GuardDutyClientTypes.DateStatistics() + value.date = try reader["date"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) + value.lastGeneratedAt = try reader["lastGeneratedAt"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) + value.severity = try reader["severity"].readIfPresent() + value.totalFindings = try reader["totalFindings"].readIfPresent() + return value + } +} + +extension GuardDutyClientTypes.AccountStatistics { + + static func read(from reader: SmithyJSON.Reader) throws -> GuardDutyClientTypes.AccountStatistics { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = GuardDutyClientTypes.AccountStatistics() + value.accountId = try reader["accountId"].readIfPresent() + value.lastGeneratedAt = try reader["lastGeneratedAt"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) + value.totalFindings = try reader["totalFindings"].readIfPresent() return value } } diff --git a/Sources/Services/AWSHealth/Sources/AWSHealth/HealthClient.swift b/Sources/Services/AWSHealth/Sources/AWSHealth/HealthClient.swift index cc8be1cabd2..a627a9786ca 100644 --- a/Sources/Services/AWSHealth/Sources/AWSHealth/HealthClient.swift +++ b/Sources/Services/AWSHealth/Sources/AWSHealth/HealthClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -226,9 +225,8 @@ extension HealthClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAffectedAccountsForOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -302,9 +300,8 @@ extension HealthClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAffectedEntitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -378,9 +375,8 @@ extension HealthClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAffectedEntitiesForOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -444,9 +440,8 @@ extension HealthClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEntityAggregatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -510,9 +505,8 @@ extension HealthClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEntityAggregatesForOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -581,9 +575,8 @@ extension HealthClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventAggregatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -652,9 +645,8 @@ extension HealthClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -730,9 +722,8 @@ extension HealthClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventDetailsForOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -802,9 +793,8 @@ extension HealthClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -878,9 +868,8 @@ extension HealthClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -959,9 +948,8 @@ extension HealthClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventsForOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1025,9 +1013,8 @@ extension HealthClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeHealthServiceStatusForOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1096,9 +1083,8 @@ extension HealthClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableHealthServiceAccessForOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1174,9 +1160,8 @@ extension HealthClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableHealthServiceAccessForOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/HealthLakeClient.swift b/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/HealthLakeClient.swift index bb3a4575a4e..f922e13bf50 100644 --- a/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/HealthLakeClient.swift +++ b/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/HealthLakeClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension HealthLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFHIRDatastoreInput.urlPathProvider(_:))) @@ -308,9 +306,8 @@ extension HealthLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFHIRDatastoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -382,9 +379,8 @@ extension HealthLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFHIRDatastoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -456,9 +452,8 @@ extension HealthLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFHIRExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -530,9 +525,8 @@ extension HealthLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFHIRImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -603,9 +597,8 @@ extension HealthLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFHIRDatastoresInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -678,9 +671,8 @@ extension HealthLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFHIRExportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -753,9 +745,8 @@ extension HealthLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFHIRImportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -825,9 +816,8 @@ extension HealthLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -900,9 +890,8 @@ extension HealthLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartFHIRExportJobInput.urlPathProvider(_:))) @@ -976,9 +965,8 @@ extension HealthLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartFHIRImportJobInput.urlPathProvider(_:))) @@ -1049,9 +1037,8 @@ extension HealthLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1121,9 +1108,8 @@ extension HealthLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSIAM/Sources/AWSIAM/IAMClient.swift b/Sources/Services/AWSIAM/Sources/AWSIAM/IAMClient.swift index 21cc10fe1b5..33a166c48e7 100644 --- a/Sources/Services/AWSIAM/Sources/AWSIAM/IAMClient.swift +++ b/Sources/Services/AWSIAM/Sources/AWSIAM/IAMClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddClientIDToOpenIDConnectProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -303,9 +301,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddRoleToInstanceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -375,9 +372,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddUserToGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -449,9 +445,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachGroupPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -524,9 +519,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachRolePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -598,9 +592,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachUserPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -673,9 +666,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ChangePasswordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -745,9 +737,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccessKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -818,9 +809,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccountAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -891,9 +881,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -965,9 +954,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInstanceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1039,9 +1027,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLoginProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1125,9 +1112,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateOpenIDConnectProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1200,9 +1186,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1274,9 +1259,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePolicyVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1349,9 +1333,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1423,9 +1406,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSAMLProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1496,9 +1478,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServiceLinkedRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1568,9 +1549,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServiceSpecificCredentialInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1643,9 +1623,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1717,9 +1696,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVirtualMFADeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1791,9 +1769,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeactivateMFADeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1863,9 +1840,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccessKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1936,9 +1912,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccountAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2008,9 +1983,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccountPasswordPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2081,9 +2055,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2153,9 +2126,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGroupPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2226,9 +2198,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInstanceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2299,9 +2270,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLoginProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2371,9 +2341,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOpenIDConnectProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2454,9 +2423,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2528,9 +2496,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePolicyVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2614,9 +2581,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2686,9 +2652,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRolePermissionsBoundaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2759,9 +2724,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRolePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2832,9 +2796,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSAMLProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2902,9 +2865,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSSHPublicKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2975,9 +2937,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServerCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3047,9 +3008,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServiceLinkedRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3117,9 +3077,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServiceSpecificCredentialInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3190,9 +3149,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSigningCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3282,9 +3240,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3353,9 +3310,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserPermissionsBoundaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3425,9 +3381,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3499,9 +3454,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVirtualMFADeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3572,9 +3526,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachGroupPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3646,9 +3599,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachRolePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3719,9 +3671,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachUserPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3795,9 +3746,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableMFADeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3866,9 +3816,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateCredentialReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3958,9 +3907,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateOrganizationsAccessReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4036,9 +3984,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateServiceLastAccessedDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4101,9 +4048,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccessKeyLastUsedInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4171,9 +4117,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountAuthorizationDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4242,9 +4187,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountPasswordPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4312,9 +4256,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4382,9 +4325,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContextKeysForCustomPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4453,9 +4395,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContextKeysForPrincipalPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4526,9 +4467,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCredentialReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4597,9 +4537,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4668,9 +4607,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGroupPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4739,9 +4677,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInstanceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4810,9 +4747,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLoginProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4881,9 +4817,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMFADeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4953,9 +4888,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOpenIDConnectProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5023,9 +4957,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOrganizationsAccessReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5095,9 +5028,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5167,9 +5099,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPolicyVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5238,9 +5169,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5309,9 +5239,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRolePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5381,9 +5310,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSAMLProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5452,9 +5380,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSSHPublicKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5523,9 +5450,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServerCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5605,9 +5531,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceLastAccessedDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5683,9 +5608,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceLastAccessedDetailsWithEntitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5755,9 +5679,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceLinkedRoleDeletionStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5826,9 +5749,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5897,9 +5819,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUserPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5968,9 +5889,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccessKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6038,9 +5958,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccountAliasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6110,9 +6029,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAttachedGroupPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6182,9 +6100,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAttachedRolePoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6254,9 +6171,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAttachedUserPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6326,9 +6242,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEntitiesForPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6397,9 +6312,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGroupPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6467,9 +6381,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6538,9 +6451,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGroupsForUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6609,9 +6521,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInstanceProfileTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6679,9 +6590,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInstanceProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6750,9 +6660,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInstanceProfilesForRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6822,9 +6731,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMFADeviceTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6893,9 +6801,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMFADevicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6965,9 +6872,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOpenIDConnectProviderTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7035,9 +6941,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOpenIDConnectProvidersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7105,9 +7010,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7185,9 +7089,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPoliciesGrantingServiceAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7257,9 +7160,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPolicyTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7329,9 +7231,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPolicyVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7400,9 +7301,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRolePoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7471,9 +7371,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRoleTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7550,9 +7449,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRolesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7622,9 +7520,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSAMLProviderTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7692,9 +7589,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSAMLProvidersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7762,9 +7658,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSSHPublicKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7833,9 +7728,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServerCertificateTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7903,9 +7797,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServerCertificatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7974,9 +7867,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServiceSpecificCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8045,9 +7937,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSigningCertificatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8116,9 +8007,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUserPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8187,9 +8077,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUserTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8264,9 +8153,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8329,9 +8217,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVirtualMFADevicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8402,9 +8289,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutGroupPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8476,9 +8362,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRolePermissionsBoundaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8550,9 +8435,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRolePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8623,9 +8507,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutUserPermissionsBoundaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8696,9 +8579,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutUserPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8768,9 +8650,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveClientIDFromOpenIDConnectProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8841,9 +8722,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveRoleFromInstanceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8913,9 +8793,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveUserFromGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8983,9 +8862,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetServiceSpecificCredentialInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9057,9 +8935,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResyncMFADeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9130,9 +9007,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetDefaultPolicyVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9200,9 +9076,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetSecurityTokenServicePreferencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9271,9 +9146,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SimulateCustomPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9343,9 +9217,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SimulatePrincipalPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9428,9 +9301,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagInstanceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9513,9 +9385,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagMFADeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9598,9 +9469,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagOpenIDConnectProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9683,9 +9553,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9773,9 +9642,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9858,9 +9726,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagSAMLProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9945,9 +9812,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagServerCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10035,9 +9901,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10108,9 +9973,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagInstanceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10181,9 +10045,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagMFADeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10254,9 +10117,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagOpenIDConnectProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10327,9 +10189,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10399,9 +10260,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10472,9 +10332,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagSAMLProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10545,9 +10404,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagServerCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10617,9 +10475,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10689,9 +10546,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccessKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10762,9 +10618,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccountPasswordPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10836,9 +10691,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAssumeRolePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10909,9 +10763,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10983,9 +10836,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLoginProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11055,9 +10907,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateOpenIDConnectProviderThumbprintInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11127,9 +10978,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11199,9 +11049,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRoleDescriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11272,9 +11121,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSAMLProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11342,9 +11190,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSSHPublicKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11415,9 +11262,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServerCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11485,9 +11331,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServiceSpecificCredentialInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11557,9 +11402,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSigningCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11632,9 +11476,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11706,9 +11549,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UploadSSHPublicKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11782,9 +11624,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UploadServerCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11859,9 +11700,8 @@ extension IAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UploadSigningCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift b/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift index b60e3c3dffa..479534fd3c3 100644 --- a/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift +++ b/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEncoderConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIngestConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -380,9 +377,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateParticipantTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -453,9 +449,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -529,9 +524,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStorageConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -604,9 +598,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEncoderConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -678,9 +671,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIngestConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -752,9 +744,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePublicKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -826,9 +817,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -901,9 +891,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStorageConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -974,9 +963,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisconnectParticipantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1049,9 +1037,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCompositionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1124,9 +1111,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEncoderConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1196,9 +1182,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIngestConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1268,9 +1253,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetParticipantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1340,9 +1324,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPublicKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1412,9 +1395,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1484,9 +1466,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStageSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1559,9 +1540,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStorageConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1633,9 +1613,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportPublicKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1707,9 +1686,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCompositionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1781,9 +1759,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEncoderConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1852,9 +1829,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIngestConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1923,9 +1899,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListParticipantEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1994,9 +1969,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListParticipantsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2065,9 +2039,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPublicKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2136,9 +2109,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStageSessionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2208,9 +2180,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2282,9 +2253,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStorageConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2354,9 +2324,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2437,9 +2406,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartCompositionInput.urlPathProvider(_:))) @@ -2513,9 +2481,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopCompositionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2585,9 +2552,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2657,9 +2623,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2729,9 +2694,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIngestConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2804,9 +2768,8 @@ extension IVSRealTimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/IdentitystoreClient.swift b/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/IdentitystoreClient.swift index 2373b8e0fd2..f84b0856ca4 100644 --- a/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/IdentitystoreClient.swift +++ b/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/IdentitystoreClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -236,9 +235,8 @@ extension IdentitystoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -317,9 +315,8 @@ extension IdentitystoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGroupMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -398,9 +395,8 @@ extension IdentitystoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -478,9 +474,8 @@ extension IdentitystoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -558,9 +553,8 @@ extension IdentitystoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGroupMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -638,9 +632,8 @@ extension IdentitystoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -713,9 +706,8 @@ extension IdentitystoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -788,9 +780,8 @@ extension IdentitystoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGroupMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -863,9 +854,8 @@ extension IdentitystoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -938,9 +928,8 @@ extension IdentitystoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGroupIdInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1013,9 +1002,8 @@ extension IdentitystoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGroupMembershipIdInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1088,9 +1076,8 @@ extension IdentitystoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUserIdInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1163,9 +1150,8 @@ extension IdentitystoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(IsMemberInGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1238,9 +1224,8 @@ extension IdentitystoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGroupMembershipsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1313,9 +1298,8 @@ extension IdentitystoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGroupMembershipsForMemberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1388,9 +1372,8 @@ extension IdentitystoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1463,9 +1446,8 @@ extension IdentitystoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1544,9 +1526,8 @@ extension IdentitystoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1625,9 +1606,8 @@ extension IdentitystoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/ImagebuilderClient.swift b/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/ImagebuilderClient.swift index b01f01e44da..49ab2bbe814 100644 --- a/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/ImagebuilderClient.swift +++ b/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/ImagebuilderClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -235,9 +234,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelImageCreationInput.urlPathProvider(_:))) @@ -313,9 +311,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelLifecycleExecutionInput.urlPathProvider(_:))) @@ -398,9 +395,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateComponentInput.urlPathProvider(_:))) @@ -479,9 +475,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateContainerRecipeInput.urlPathProvider(_:))) @@ -560,9 +555,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDistributionConfigurationInput.urlPathProvider(_:))) @@ -639,9 +633,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateImageInput.urlPathProvider(_:))) @@ -719,9 +712,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateImagePipelineInput.urlPathProvider(_:))) @@ -800,9 +792,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateImageRecipeInput.urlPathProvider(_:))) @@ -880,9 +871,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInfrastructureConfigurationInput.urlPathProvider(_:))) @@ -960,9 +950,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLifecyclePolicyInput.urlPathProvider(_:))) @@ -1041,9 +1030,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkflowInput.urlPathProvider(_:))) @@ -1118,9 +1106,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1192,9 +1179,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteContainerRecipeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1266,9 +1252,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDistributionConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1346,9 +1331,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1420,9 +1404,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteImagePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1494,9 +1477,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteImageRecipeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1568,9 +1550,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInfrastructureConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1642,9 +1623,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLifecyclePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1716,9 +1696,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1789,9 +1768,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1862,9 +1840,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetComponentPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1935,9 +1912,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContainerRecipeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2008,9 +1984,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContainerRecipePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2081,9 +2056,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDistributionConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2154,9 +2128,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2227,9 +2200,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetImagePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2300,9 +2272,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetImagePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2373,9 +2344,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetImageRecipeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2446,9 +2416,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetImageRecipePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2519,9 +2488,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInfrastructureConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2592,9 +2560,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLifecycleExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2665,9 +2632,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLifecyclePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2738,9 +2704,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2811,9 +2776,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkflowExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2884,9 +2848,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkflowStepExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2961,9 +2924,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportComponentInput.urlPathProvider(_:))) @@ -3034,9 +2996,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportVmImageInput.urlPathProvider(_:))) @@ -3111,9 +3072,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListComponentBuildVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3187,9 +3147,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListComponentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3263,9 +3222,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListContainerRecipesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3339,9 +3297,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDistributionConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3415,9 +3372,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImageBuildVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3492,9 +3448,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImagePackagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3569,9 +3524,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImagePipelineImagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3645,9 +3599,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImagePipelinesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3721,9 +3674,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImageRecipesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3805,9 +3757,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImageScanFindingAggregationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3881,9 +3832,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImageScanFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3957,9 +3907,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4033,9 +3982,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInfrastructureConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4109,9 +4057,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLifecycleExecutionResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4185,9 +4132,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLifecycleExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4261,9 +4207,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLifecyclePoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4333,9 +4278,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4406,9 +4350,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWaitingWorkflowStepsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4482,9 +4425,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkflowBuildVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4558,9 +4500,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkflowExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4634,9 +4575,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkflowStepExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4710,9 +4650,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkflowsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4787,9 +4726,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutComponentPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4864,9 +4802,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutContainerRecipePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4941,9 +4878,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutImagePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5018,9 +4954,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutImageRecipePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5097,9 +5032,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendWorkflowStepActionInput.urlPathProvider(_:))) @@ -5176,9 +5110,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartImagePipelineExecutionInput.urlPathProvider(_:))) @@ -5255,9 +5188,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartResourceStateUpdateInput.urlPathProvider(_:))) @@ -5328,9 +5260,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5400,9 +5331,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5476,9 +5406,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDistributionConfigurationInput.urlPathProvider(_:))) @@ -5554,9 +5483,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateImagePipelineInput.urlPathProvider(_:))) @@ -5632,9 +5560,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateInfrastructureConfigurationInput.urlPathProvider(_:))) @@ -5711,9 +5638,8 @@ extension ImagebuilderClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLifecyclePolicyInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSInspector/Sources/AWSInspector/InspectorClient.swift b/Sources/Services/AWSInspector/Sources/AWSInspector/InspectorClient.swift index c41a5b47409..f6084a7b9ca 100644 --- a/Sources/Services/AWSInspector/Sources/AWSInspector/InspectorClient.swift +++ b/Sources/Services/AWSInspector/Sources/AWSInspector/InspectorClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddAttributesToFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -308,9 +306,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAssessmentTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -384,9 +381,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAssessmentTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -460,9 +456,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateExclusionsPreviewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -535,9 +530,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateResourceGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -611,9 +605,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAssessmentRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -687,9 +680,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAssessmentTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -763,9 +755,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAssessmentTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -835,9 +826,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAssessmentRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -907,9 +897,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAssessmentTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -979,9 +968,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAssessmentTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1050,9 +1038,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCrossAccountAccessRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1122,9 +1109,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeExclusionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1194,9 +1180,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1266,9 +1251,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeResourceGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1338,9 +1322,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRulesPackagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1415,9 +1398,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssessmentReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1489,9 +1471,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetExclusionsPreviewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1563,9 +1544,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTelemetryMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1637,9 +1617,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssessmentRunAgentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1711,9 +1690,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssessmentRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1784,9 +1762,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssessmentTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1858,9 +1835,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssessmentTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1932,9 +1908,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEventSubscriptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2006,9 +1981,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExclusionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2080,9 +2054,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2153,9 +2126,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRulesPackagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2227,9 +2199,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2302,9 +2273,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PreviewAgentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2377,9 +2347,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterCrossAccountAccessRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2452,9 +2421,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveAttributesFromFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2527,9 +2495,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2605,9 +2572,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartAssessmentRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2680,9 +2646,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopAssessmentRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2756,9 +2721,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SubscribeToEventInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2831,9 +2795,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UnsubscribeFromEventInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2906,9 +2869,8 @@ extension InspectorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAssessmentTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSInspector2/Sources/AWSInspector2/Inspector2Client.swift b/Sources/Services/AWSInspector2/Sources/AWSInspector2/Inspector2Client.swift index a932a39e519..bc1f883d359 100644 --- a/Sources/Services/AWSInspector2/Sources/AWSInspector2/Inspector2Client.swift +++ b/Sources/Services/AWSInspector2/Sources/AWSInspector2/Inspector2Client.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateMemberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -304,9 +302,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetAccountStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -377,9 +374,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetCodeSnippetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -450,9 +446,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetFindingDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -523,9 +518,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetFreeTrialInfoInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -596,9 +590,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetMemberEc2DeepInspectionStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -669,9 +662,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchUpdateMemberEc2DeepInspectionStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -743,9 +735,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelFindingsReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -817,9 +808,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelSbomExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -890,9 +880,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCisScanConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -965,9 +954,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1039,9 +1027,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFindingsReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1113,9 +1100,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSbomExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1187,9 +1173,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCisScanConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1261,9 +1246,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1334,9 +1318,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOrganizationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1405,9 +1388,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1480,9 +1462,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableDelegatedAdminAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1553,9 +1534,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateMemberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1627,9 +1607,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableInput.urlPathProvider(_:))) @@ -1703,9 +1682,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableDelegatedAdminAccountInput.urlPathProvider(_:))) @@ -1778,9 +1756,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCisScanReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1851,9 +1828,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCisScanResultDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1923,9 +1899,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1994,9 +1969,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDelegatedAdminAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2064,9 +2038,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEc2DeepInspectionConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2135,9 +2108,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEncryptionKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2207,9 +2179,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFindingsReportStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2281,9 +2252,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMemberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2355,9 +2325,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSbomExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2428,9 +2397,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccountPermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2501,9 +2469,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCisScanConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2574,9 +2541,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCisScanResultsAggregatedByChecksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2647,9 +2613,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCisScanResultsAggregatedByTargetResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2720,9 +2685,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCisScansInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2792,9 +2756,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCoverageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2864,9 +2827,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCoverageStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2937,9 +2899,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDelegatedAdminAccountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3010,9 +2971,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFiltersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3082,9 +3042,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFindingAggregationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3154,9 +3113,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3227,9 +3185,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3300,9 +3257,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3370,9 +3326,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUsageTotalsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3444,9 +3399,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetEncryptionKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3517,9 +3471,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchVulnerabilitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3591,9 +3544,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendCisSessionHealthInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3665,9 +3617,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendCisSessionTelemetryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3739,9 +3690,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartCisSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3813,9 +3763,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopCisSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3887,9 +3836,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3960,9 +3908,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4032,9 +3979,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCisScanConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4105,9 +4051,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4178,9 +4123,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEc2DeepInspectionConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4252,9 +4196,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEncryptionKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4326,9 +4269,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4399,9 +4341,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateOrgEc2DeepInspectionConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4472,9 +4413,8 @@ extension Inspector2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateOrganizationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/InspectorScanClient.swift b/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/InspectorScanClient.swift index 55b35ed0a89..d2eb3b795ae 100644 --- a/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/InspectorScanClient.swift +++ b/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/InspectorScanClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension InspectorScanClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ScanSbomInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/InternetMonitorClient.swift b/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/InternetMonitorClient.swift index 377f498af52..4768e607c01 100644 --- a/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/InternetMonitorClient.swift +++ b/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/InternetMonitorClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension InternetMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMonitorInput.urlPathProvider(_:))) @@ -307,9 +305,8 @@ extension InternetMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMonitorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -377,9 +374,8 @@ extension InternetMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetHealthEventInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -448,9 +444,8 @@ extension InternetMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInternetEventInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -518,9 +513,8 @@ extension InternetMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMonitorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -590,9 +584,8 @@ extension InternetMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQueryResultsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -672,9 +665,8 @@ extension InternetMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQueryStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -742,9 +734,8 @@ extension InternetMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHealthEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -813,9 +804,8 @@ extension InternetMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInternetEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -884,9 +874,8 @@ extension InternetMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMonitorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -956,9 +945,8 @@ extension InternetMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1027,9 +1015,8 @@ extension InternetMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1101,9 +1088,8 @@ extension InternetMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1172,9 +1158,8 @@ extension InternetMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1246,9 +1231,8 @@ extension InternetMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1319,9 +1303,8 @@ extension InternetMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMonitorInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSIoT/Sources/AWSIoT/IoTClient.swift b/Sources/Services/AWSIoT/Sources/AWSIoT/IoTClient.swift index 8903b63c485..28db2db7dcb 100644 --- a/Sources/Services/AWSIoT/Sources/AWSIoT/IoTClient.swift +++ b/Sources/Services/AWSIoT/Sources/AWSIoT/IoTClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -236,9 +235,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptCertificateTransferInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddThingToBillingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -380,9 +377,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddThingToThingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -463,9 +459,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateTargetsWithJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -540,9 +535,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -617,9 +611,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachPrincipalPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -690,9 +683,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachSecurityProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -763,9 +755,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachThingPrincipalInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -834,9 +825,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelAuditMitigationActionsTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -904,9 +894,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelAuditTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -977,9 +966,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelCertificateTransferInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1047,9 +1035,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelDetectMitigationActionsTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1118,9 +1105,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1194,9 +1180,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelJobExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1270,9 +1255,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ClearDefaultAuthorizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1341,9 +1325,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConfirmTopicRuleDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1412,9 +1395,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAuditSuppressionInput.urlPathProvider(_:))) @@ -1489,9 +1471,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAuthorizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1562,9 +1543,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBillingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1636,9 +1616,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCertificateFromCsrInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1713,9 +1692,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCertificateProviderInput.urlPathProvider(_:))) @@ -1788,9 +1766,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCustomMetricInput.urlPathProvider(_:))) @@ -1863,9 +1840,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDimensionInput.urlPathProvider(_:))) @@ -1941,9 +1917,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDomainConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2017,9 +1992,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDynamicThingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2097,9 +2071,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFleetMetricInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2172,9 +2145,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2247,9 +2219,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateJobTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2321,9 +2292,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateKeysAndCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2393,9 +2363,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMitigationActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2470,9 +2439,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateOTAUpdateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2544,9 +2512,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePackageInput.urlPathProvider(_:))) @@ -2620,9 +2587,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePackageVersionInput.urlPathProvider(_:))) @@ -2698,9 +2664,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2775,9 +2740,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePolicyVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2851,9 +2815,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProvisioningClaimInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2923,9 +2886,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProvisioningTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2999,9 +2961,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProvisioningTemplateVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3076,9 +3037,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRoleAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3150,9 +3110,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateScheduledAuditInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3223,9 +3182,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSecurityProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3300,9 +3258,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3376,9 +3333,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateThingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3449,9 +3405,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateThingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3524,9 +3479,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateThingTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3599,9 +3553,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTopicRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3674,9 +3627,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTopicRuleDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3747,9 +3699,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccountAuditConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3817,9 +3768,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAuditSuppressionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3893,9 +3843,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAuthorizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3963,9 +3912,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBillingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4037,9 +3985,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCACertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4111,9 +4058,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4185,9 +4131,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCertificateProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4254,9 +4199,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCustomMetricInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4323,9 +4267,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDimensionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4395,9 +4338,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDomainConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4465,9 +4407,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDynamicThingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4538,9 +4479,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFleetMetricInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4611,9 +4551,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4683,9 +4622,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteJobExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4754,9 +4692,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteJobTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4823,9 +4760,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMitigationActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4896,9 +4832,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOTAUpdateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4966,9 +4901,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePackageInput.urlPathProvider(_:))) @@ -5037,9 +4971,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePackageVersionInput.urlPathProvider(_:))) @@ -5112,9 +5045,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5185,9 +5117,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePolicyVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5258,9 +5189,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProvisioningTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5331,9 +5261,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProvisioningTemplateVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5402,9 +5331,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRegistrationCodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5475,9 +5403,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRoleAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5545,9 +5472,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteScheduledAuditInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5615,9 +5541,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSecurityProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5689,9 +5614,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5762,9 +5686,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteThingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5833,9 +5756,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteThingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5906,9 +5828,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteThingTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5977,9 +5898,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTopicRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6048,9 +5968,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTopicRuleDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6117,9 +6036,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteV2LoggingLevelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6190,9 +6108,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeprecateThingTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6261,9 +6178,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountAuditConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6331,9 +6247,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAuditFindingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6401,9 +6316,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAuditMitigationActionsTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6471,9 +6385,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAuditSuppressionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6544,9 +6457,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAuditTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6616,9 +6528,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAuthorizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6686,9 +6597,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBillingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6758,9 +6668,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCACertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6830,9 +6739,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6902,9 +6810,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCertificateProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6972,9 +6879,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCustomMetricInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7044,9 +6950,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDefaultAuthorizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7114,9 +7019,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDetectMitigationActionsTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7184,9 +7088,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDimensionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7256,9 +7159,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDomainConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7326,9 +7228,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7395,9 +7296,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7467,9 +7367,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFleetMetricInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7539,9 +7438,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIndexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7609,9 +7507,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7679,9 +7576,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeJobExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7750,9 +7646,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeJobTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7820,9 +7715,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeManagedJobTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7891,9 +7785,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMitigationActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7962,9 +7855,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProvisioningTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8033,9 +7925,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProvisioningTemplateVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8105,9 +7996,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRoleAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8175,9 +8065,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeScheduledAuditInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8245,9 +8134,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSecurityProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8317,9 +8205,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8389,9 +8276,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeThingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8459,9 +8345,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeThingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8530,9 +8415,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeThingRegistrationTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8602,9 +8486,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeThingTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8674,9 +8557,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8750,9 +8632,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachPrincipalPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8821,9 +8702,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachSecurityProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8894,9 +8774,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachThingPrincipalInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8966,9 +8845,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableTopicRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9037,9 +8915,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableTopicRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9107,9 +8984,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBehaviorModelTrainingSummariesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9183,9 +9059,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketsAggregationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9261,9 +9136,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCardinalityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9337,9 +9211,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEffectivePoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9412,9 +9285,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIndexingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9482,9 +9354,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJobDocumentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9551,9 +9422,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLoggingOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9623,9 +9493,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOTAUpdateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9693,9 +9562,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9761,9 +9629,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPackageConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9831,9 +9698,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPackageVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9906,9 +9772,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPercentilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9981,9 +9846,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10053,9 +9917,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPolicyVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10124,9 +9987,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRegistrationCodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10199,9 +10061,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10272,9 +10133,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTopicRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10342,9 +10202,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTopicRuleDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10411,9 +10270,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetV2LoggingOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10481,9 +10339,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListActiveViolationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10555,9 +10412,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAttachedPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10625,9 +10481,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAuditFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10697,9 +10552,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAuditMitigationActionsExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10767,9 +10621,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAuditMitigationActionsTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10837,9 +10690,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAuditSuppressionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10909,9 +10761,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAuditTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10981,9 +10832,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAuthorizersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11052,9 +10902,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBillingGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11124,9 +10973,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCACertificatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11196,9 +11044,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCertificateProvidersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11268,9 +11115,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCertificatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11340,9 +11186,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCertificatesByCAInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11410,9 +11255,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCustomMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11480,9 +11324,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDetectMitigationActionsExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11550,9 +11393,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDetectMitigationActionsTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11620,9 +11462,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDimensionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11692,9 +11533,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDomainConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11764,9 +11604,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFleetMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11836,9 +11675,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIndicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11907,9 +11745,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobExecutionsForJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11978,9 +11815,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobExecutionsForThingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12048,9 +11884,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12119,9 +11954,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12190,9 +12024,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListManagedJobTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12261,9 +12094,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMetricValuesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12331,9 +12163,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMitigationActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12403,9 +12234,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOTAUpdatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12475,9 +12305,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOutgoingCertificatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12545,9 +12374,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPackageVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12615,9 +12443,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPackagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12687,9 +12514,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12761,9 +12587,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPolicyPrincipalsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12835,9 +12660,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPolicyVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12908,9 +12732,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPrincipalPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12982,9 +12805,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPrincipalThingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13055,9 +12877,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProvisioningTemplateVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13126,9 +12947,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProvisioningTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13218,9 +13038,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRelatedResourcesForAuditFindingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13290,9 +13109,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRoleAliasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13360,9 +13178,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListScheduledAuditsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13431,9 +13248,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSecurityProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13502,9 +13318,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSecurityProfilesForTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13574,9 +13389,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStreamsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13645,9 +13459,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13719,9 +13532,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTargetsForPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13790,9 +13602,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTargetsForSecurityProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13861,9 +13672,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListThingGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13932,9 +13742,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListThingGroupsForThingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14005,9 +13814,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListThingPrincipalsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14076,9 +13884,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListThingRegistrationTaskReportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14147,9 +13954,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListThingRegistrationTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14219,9 +14025,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListThingTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14291,9 +14096,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListThingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14362,9 +14166,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListThingsInBillingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14433,9 +14236,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListThingsInThingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14504,9 +14306,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTopicRuleDestinationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14574,9 +14375,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTopicRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14645,9 +14445,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListV2LoggingLevelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14715,9 +14514,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListViolationEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14785,9 +14583,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutVerificationStateOnViolationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14864,9 +14661,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterCACertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14943,9 +14739,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15021,9 +14816,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterCertificateWithoutCAInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15097,9 +14891,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterThingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15173,9 +14966,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectCertificateTransferInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15246,9 +15038,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveThingFromBillingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15319,9 +15110,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveThingFromThingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15394,9 +15184,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReplaceTopicRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15471,9 +15260,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchIndexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15547,9 +15335,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetDefaultAuthorizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15622,9 +15409,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetDefaultPolicyVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15691,9 +15477,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetLoggingOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15765,9 +15550,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetV2LoggingLevelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15837,9 +15621,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetV2LoggingOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15911,9 +15694,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartAuditMitigationActionsTaskInput.urlPathProvider(_:))) @@ -15986,9 +15768,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDetectMitigationActionsTaskInput.urlPathProvider(_:))) @@ -16060,9 +15841,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartOnDemandAuditTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16133,9 +15913,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartThingRegistrationTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16207,9 +15986,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopThingRegistrationTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16278,9 +16056,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16354,9 +16131,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestAuthorizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16431,9 +16207,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestInvokeAuthorizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16508,9 +16283,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TransferCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16582,9 +16356,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16654,9 +16427,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccountAuditConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16727,9 +16499,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAuditSuppressionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16803,9 +16574,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAuthorizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16877,9 +16647,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBillingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16952,9 +16721,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCACertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17029,9 +16797,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17102,9 +16869,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCertificateProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17175,9 +16941,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCustomMetricInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17248,9 +17013,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDimensionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17324,9 +17088,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDomainConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17399,9 +17162,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDynamicThingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17471,9 +17233,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEventConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17550,9 +17311,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFleetMetricInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17624,9 +17384,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIndexingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17697,9 +17456,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17771,9 +17529,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMitigationActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17845,9 +17602,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePackageInput.urlPathProvider(_:))) @@ -17920,9 +17676,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePackageConfigurationInput.urlPathProvider(_:))) @@ -17996,9 +17751,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePackageVersionInput.urlPathProvider(_:))) @@ -18072,9 +17826,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProvisioningTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18147,9 +17900,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRoleAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18220,9 +17972,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateScheduledAuditInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18294,9 +18045,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSecurityProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18370,9 +18120,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18446,9 +18195,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateThingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18520,9 +18268,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateThingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18593,9 +18340,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateThingGroupsForThingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18667,9 +18413,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTopicRuleDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18739,9 +18484,8 @@ extension IoTClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ValidateSecurityProfileBehaviorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSIoT1ClickDevicesService/Sources/AWSIoT1ClickDevicesService/IoT1ClickDevicesClient.swift b/Sources/Services/AWSIoT1ClickDevicesService/Sources/AWSIoT1ClickDevicesService/IoT1ClickDevicesClient.swift index 204e7af6335..b25eb2c660a 100644 --- a/Sources/Services/AWSIoT1ClickDevicesService/Sources/AWSIoT1ClickDevicesService/IoT1ClickDevicesClient.swift +++ b/Sources/Services/AWSIoT1ClickDevicesService/Sources/AWSIoT1ClickDevicesService/IoT1ClickDevicesClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension IoT1ClickDevicesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ClaimDevicesByClaimCodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -298,9 +296,8 @@ extension IoT1ClickDevicesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -369,9 +366,8 @@ extension IoT1ClickDevicesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(FinalizeDeviceClaimInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -441,9 +437,8 @@ extension IoT1ClickDevicesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeviceMethodsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -511,9 +506,8 @@ extension IoT1ClickDevicesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InitiateDeviceClaimInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -583,9 +577,8 @@ extension IoT1ClickDevicesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InvokeDeviceMethodInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -656,9 +649,8 @@ extension IoT1ClickDevicesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeviceEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -726,9 +718,8 @@ extension IoT1ClickDevicesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDevicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -795,9 +786,8 @@ extension IoT1ClickDevicesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -864,9 +854,8 @@ extension IoT1ClickDevicesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -936,9 +925,8 @@ extension IoT1ClickDevicesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UnclaimDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1005,9 +993,8 @@ extension IoT1ClickDevicesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1075,9 +1062,8 @@ extension IoT1ClickDevicesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDeviceStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSIoT1ClickProjects/Sources/AWSIoT1ClickProjects/IoT1ClickProjectsClient.swift b/Sources/Services/AWSIoT1ClickProjects/Sources/AWSIoT1ClickProjects/IoT1ClickProjectsClient.swift index a5bd01ab3be..9279e008297 100644 --- a/Sources/Services/AWSIoT1ClickProjects/Sources/AWSIoT1ClickProjects/IoT1ClickProjectsClient.swift +++ b/Sources/Services/AWSIoT1ClickProjects/Sources/AWSIoT1ClickProjects/IoT1ClickProjectsClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension IoT1ClickProjectsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateDeviceWithPlacementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -302,9 +300,8 @@ extension IoT1ClickProjectsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePlacementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -374,9 +371,8 @@ extension IoT1ClickProjectsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -447,9 +443,8 @@ extension IoT1ClickProjectsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePlacementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -517,9 +512,8 @@ extension IoT1ClickProjectsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -586,9 +580,8 @@ extension IoT1ClickProjectsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePlacementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -655,9 +648,8 @@ extension IoT1ClickProjectsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -725,9 +717,8 @@ extension IoT1ClickProjectsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateDeviceFromPlacementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -794,9 +785,8 @@ extension IoT1ClickProjectsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDevicesInPlacementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -863,9 +853,8 @@ extension IoT1ClickProjectsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPlacementsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -932,9 +921,8 @@ extension IoT1ClickProjectsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1002,9 +990,8 @@ extension IoT1ClickProjectsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1071,9 +1058,8 @@ extension IoT1ClickProjectsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1143,9 +1129,8 @@ extension IoT1ClickProjectsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1214,9 +1199,8 @@ extension IoT1ClickProjectsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePlacementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1287,9 +1271,8 @@ extension IoT1ClickProjectsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/IoTAnalyticsClient.swift b/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/IoTAnalyticsClient.swift index af90c286379..5fb2f848b57 100644 --- a/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/IoTAnalyticsClient.swift +++ b/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/IoTAnalyticsClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchPutMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelPipelineReprocessingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -377,9 +374,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -452,9 +448,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -526,9 +521,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDatasetContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -601,9 +595,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDatastoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -676,9 +669,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -750,9 +742,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -821,9 +812,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -892,9 +882,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDatasetContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -964,9 +953,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDatastoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1035,9 +1023,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1106,9 +1093,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1178,9 +1164,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1249,9 +1234,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDatastoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1321,9 +1305,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLoggingOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1392,9 +1375,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1463,9 +1445,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDatasetContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1534,9 +1515,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1606,9 +1586,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatasetContentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1677,9 +1656,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatasetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1748,9 +1726,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatastoresInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1819,9 +1796,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPipelinesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1892,9 +1868,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1963,9 +1938,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutLoggingOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2036,9 +2010,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RunPipelineActivityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2110,9 +2083,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SampleChannelDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2183,9 +2155,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartPipelineReprocessingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2258,9 +2229,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2334,9 +2304,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2406,9 +2375,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2480,9 +2448,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2554,9 +2521,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDatastoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2629,9 +2595,8 @@ extension IoTAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/IoTDataPlaneClient.swift b/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/IoTDataPlaneClient.swift index 184c8f4dc84..c5021078074 100644 --- a/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/IoTDataPlaneClient.swift +++ b/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/IoTDataPlaneClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension IoTDataPlaneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteThingShadowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -308,9 +306,8 @@ extension IoTDataPlaneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRetainedMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -382,9 +379,8 @@ extension IoTDataPlaneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetThingShadowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -456,9 +452,8 @@ extension IoTDataPlaneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNamedShadowsForThingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -529,9 +524,8 @@ extension IoTDataPlaneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRetainedMessagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -601,9 +595,8 @@ extension IoTDataPlaneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PublishInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -681,9 +674,8 @@ extension IoTDataPlaneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateThingShadowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/IoTEventsClient.swift b/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/IoTEventsClient.swift index 31dfc3baf5f..4bfc4ec7004 100644 --- a/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/IoTEventsClient.swift +++ b/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/IoTEventsClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAlarmModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -309,9 +307,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDetectorModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -383,9 +380,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -458,9 +454,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAlarmModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -530,9 +525,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDetectorModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -602,9 +596,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -673,9 +666,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAlarmModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -745,9 +737,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDetectorModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -817,9 +808,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDetectorModelAnalysisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -888,9 +878,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -960,9 +949,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLoggingOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1031,9 +1019,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDetectorModelAnalysisResultsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1103,9 +1090,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAlarmModelVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1174,9 +1160,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAlarmModelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1246,9 +1231,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDetectorModelVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1317,9 +1301,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDetectorModelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1389,9 +1372,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInputRoutingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1462,9 +1444,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInputsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1534,9 +1515,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1607,9 +1587,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutLoggingOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1681,9 +1660,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDetectorModelAnalysisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1756,9 +1734,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1831,9 +1808,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1904,9 +1880,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAlarmModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1979,9 +1954,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDetectorModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2054,9 +2028,8 @@ extension IoTEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateInputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/IoTEventsDataClient.swift b/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/IoTEventsDataClient.swift index 4ad495bf4dc..074aafe0a71 100644 --- a/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/IoTEventsDataClient.swift +++ b/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/IoTEventsDataClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension IoTEventsDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchAcknowledgeAlarmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -302,9 +300,8 @@ extension IoTEventsDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteDetectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -375,9 +372,8 @@ extension IoTEventsDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDisableAlarmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -448,9 +444,8 @@ extension IoTEventsDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchEnableAlarmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -521,9 +516,8 @@ extension IoTEventsDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchPutMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -594,9 +588,8 @@ extension IoTEventsDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchResetAlarmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -667,9 +660,8 @@ extension IoTEventsDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchSnoozeAlarmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -740,9 +732,8 @@ extension IoTEventsDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchUpdateDetectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -814,9 +805,8 @@ extension IoTEventsDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAlarmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -886,9 +876,8 @@ extension IoTEventsDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDetectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -958,9 +947,8 @@ extension IoTEventsDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAlarmsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1030,9 +1018,8 @@ extension IoTEventsDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDetectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/IoTFleetHubClient.swift b/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/IoTFleetHubClient.swift index ab6f171e30e..a43366c8030 100644 --- a/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/IoTFleetHubClient.swift +++ b/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/IoTFleetHubClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension IoTFleetHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationInput.urlPathProvider(_:))) @@ -304,9 +302,8 @@ extension IoTFleetHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationInput.urlPathProvider(_:))) @@ -376,9 +373,8 @@ extension IoTFleetHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -445,9 +441,8 @@ extension IoTFleetHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -515,9 +510,8 @@ extension IoTFleetHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -584,9 +578,8 @@ extension IoTFleetHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -656,9 +649,8 @@ extension IoTFleetHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -728,9 +720,8 @@ extension IoTFleetHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/IoTFleetWiseClient.swift b/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/IoTFleetWiseClient.swift index b885be53695..1f806db5099 100644 --- a/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/IoTFleetWiseClient.swift +++ b/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/IoTFleetWiseClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateVehicleFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -308,9 +306,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchCreateVehicleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -382,9 +379,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchUpdateVehicleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -459,9 +455,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCampaignInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -545,9 +540,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDecoderManifestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -622,9 +616,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -700,9 +693,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateModelManifestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -778,9 +770,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSignalCatalogInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -855,9 +846,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVehicleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -930,9 +920,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCampaignInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1005,9 +994,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDecoderManifestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1079,9 +1067,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1154,9 +1141,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteModelManifestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1229,9 +1215,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSignalCatalogInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1303,9 +1288,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVehicleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1378,9 +1362,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateVehicleFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1453,9 +1436,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCampaignInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1528,9 +1510,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDecoderManifestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1603,9 +1584,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEncryptionConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1678,9 +1658,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1751,9 +1730,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLoggingOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1826,9 +1804,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetModelManifestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1901,9 +1878,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRegisterAccountStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1976,9 +1952,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSignalCatalogInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2051,9 +2026,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVehicleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2126,9 +2100,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVehicleStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2205,9 +2178,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportDecoderManifestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2283,9 +2255,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportSignalCatalogInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2357,9 +2328,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCampaignsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2433,9 +2403,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDecoderManifestNetworkInterfacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2509,9 +2478,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDecoderManifestSignalsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2584,9 +2552,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDecoderManifestsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2660,9 +2627,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFleetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2736,9 +2702,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFleetsForVehicleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2813,9 +2778,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListModelManifestNodesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2888,9 +2852,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListModelManifestsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2965,9 +2928,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSignalCatalogNodesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3040,9 +3002,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSignalCatalogsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3116,9 +3077,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3191,9 +3151,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVehiclesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3267,9 +3226,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVehiclesInFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3344,9 +3302,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutEncryptionConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3420,9 +3377,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutLoggingOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3496,9 +3452,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3571,9 +3526,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3647,9 +3601,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3724,9 +3677,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCampaignInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3802,9 +3754,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDecoderManifestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3878,9 +3829,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3955,9 +3905,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateModelManifestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4034,9 +3983,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSignalCatalogInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4110,9 +4058,8 @@ extension IoTFleetWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVehicleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/IoTJobsDataPlaneClient.swift b/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/IoTJobsDataPlaneClient.swift index c1cc2a3af62..7f6ae81bd0d 100644 --- a/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/IoTJobsDataPlaneClient.swift +++ b/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/IoTJobsDataPlaneClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension IoTJobsDataPlaneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeJobExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -303,9 +301,8 @@ extension IoTJobsDataPlaneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPendingJobExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -374,9 +371,8 @@ extension IoTJobsDataPlaneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartNextPendingJobExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -449,9 +445,8 @@ extension IoTJobsDataPlaneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateJobExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/IoTSecureTunnelingClient.swift b/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/IoTSecureTunnelingClient.swift index ef9bf8747dc..f7e25071ad9 100644 --- a/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/IoTSecureTunnelingClient.swift +++ b/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/IoTSecureTunnelingClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -227,9 +226,8 @@ extension IoTSecureTunnelingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CloseTunnelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -299,9 +297,8 @@ extension IoTSecureTunnelingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTunnelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -370,9 +367,8 @@ extension IoTSecureTunnelingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -437,9 +433,8 @@ extension IoTSecureTunnelingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTunnelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -509,9 +504,8 @@ extension IoTSecureTunnelingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(OpenTunnelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -580,9 +574,8 @@ extension IoTSecureTunnelingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RotateTunnelAccessTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -651,9 +644,8 @@ extension IoTSecureTunnelingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -722,9 +714,8 @@ extension IoTSecureTunnelingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/IoTSiteWiseClient.swift b/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/IoTSiteWiseClient.swift index 4dce942b694..909f6a4bee5 100644 --- a/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/IoTSiteWiseClient.swift +++ b/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/IoTSiteWiseClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -235,9 +234,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateAssetsInput.urlPathProvider(_:))) @@ -310,9 +308,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateTimeSeriesToAssetPropertyInput.urlPathProvider(_:))) @@ -386,9 +383,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchAssociateProjectAssetsInput.urlPathProvider(_:))) @@ -460,9 +456,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDisassociateProjectAssetsInput.urlPathProvider(_:))) @@ -534,9 +529,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetAssetPropertyAggregatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "data.")) @@ -607,9 +601,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetAssetPropertyValueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "data.")) @@ -680,9 +673,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetAssetPropertyValueHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "data.")) @@ -763,9 +755,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchPutAssetPropertyValueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "data.")) @@ -837,9 +828,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccessPolicyInput.urlPathProvider(_:))) @@ -914,9 +904,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAssetInput.urlPathProvider(_:))) @@ -995,9 +984,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAssetModelInput.urlPathProvider(_:))) @@ -1073,9 +1061,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAssetModelCompositeModelInput.urlPathProvider(_:))) @@ -1151,9 +1138,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBulkImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "data.")) @@ -1225,9 +1211,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDashboardInput.urlPathProvider(_:))) @@ -1300,9 +1285,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -1374,9 +1358,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePortalInput.urlPathProvider(_:))) @@ -1449,9 +1432,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProjectInput.urlPathProvider(_:))) @@ -1523,9 +1505,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccessPolicyInput.urlPathProvider(_:))) @@ -1596,9 +1577,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAssetInput.urlPathProvider(_:))) @@ -1670,9 +1650,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAssetModelInput.urlPathProvider(_:))) @@ -1745,9 +1724,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAssetModelCompositeModelInput.urlPathProvider(_:))) @@ -1818,9 +1796,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDashboardInput.urlPathProvider(_:))) @@ -1891,9 +1868,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -1962,9 +1938,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePortalInput.urlPathProvider(_:))) @@ -2034,9 +2009,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProjectInput.urlPathProvider(_:))) @@ -2115,9 +2089,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTimeSeriesInput.urlPathProvider(_:))) @@ -2190,9 +2163,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccessPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "monitor.")) @@ -2260,9 +2232,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -2330,9 +2301,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAssetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -2401,9 +2371,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAssetCompositeModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -2471,9 +2440,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAssetModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -2542,9 +2510,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAssetModelCompositeModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -2613,9 +2580,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAssetPropertyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -2683,9 +2649,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBulkImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "data.")) @@ -2753,9 +2718,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDashboardInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "monitor.")) @@ -2822,9 +2786,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDefaultEncryptionConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -2892,9 +2855,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -2962,9 +2924,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGatewayCapabilityConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -3032,9 +2993,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLoggingOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -3102,9 +3062,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePortalInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "monitor.")) @@ -3172,9 +3131,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "monitor.")) @@ -3244,9 +3202,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStorageConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -3322,9 +3279,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTimeSeriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -3394,9 +3350,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateAssetsInput.urlPathProvider(_:))) @@ -3469,9 +3424,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateTimeSeriesFromAssetPropertyInput.urlPathProvider(_:))) @@ -3546,9 +3500,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExecuteActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -3622,9 +3575,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExecuteQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "data.")) @@ -3700,9 +3652,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssetPropertyAggregatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "data.")) @@ -3776,9 +3727,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssetPropertyValueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "data.")) @@ -3852,9 +3802,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssetPropertyValueHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "data.")) @@ -3928,9 +3877,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInterpolatedAssetPropertyValuesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "data.")) @@ -3998,9 +3946,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccessPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "monitor.")) @@ -4069,9 +4016,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -4140,9 +4086,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssetModelCompositeModelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -4211,9 +4156,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssetModelPropertiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -4281,9 +4225,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssetModelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -4352,9 +4295,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssetPropertiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -4423,9 +4365,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssetRelationshipsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -4501,9 +4442,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -4576,9 +4516,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssociatedAssetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -4647,9 +4586,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBulkImportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "data.")) @@ -4718,9 +4656,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCompositionRelationshipsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -4788,9 +4725,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDashboardsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "monitor.")) @@ -4858,9 +4794,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGatewaysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -4928,9 +4863,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPortalsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "monitor.")) @@ -4998,9 +4932,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProjectAssetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "monitor.")) @@ -5068,9 +5001,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "monitor.")) @@ -5142,9 +5074,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -5213,9 +5144,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTimeSeriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -5285,9 +5215,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDefaultEncryptionConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -5359,9 +5288,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutLoggingOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -5435,9 +5363,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutStorageConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -5512,9 +5439,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -5589,9 +5515,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -5660,9 +5585,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccessPolicyInput.urlPathProvider(_:))) @@ -5736,9 +5660,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAssetInput.urlPathProvider(_:))) @@ -5818,9 +5741,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAssetModelInput.urlPathProvider(_:))) @@ -5901,9 +5823,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAssetModelCompositeModelInput.urlPathProvider(_:))) @@ -5977,9 +5898,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAssetPropertyInput.urlPathProvider(_:))) @@ -6051,9 +5971,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDashboardInput.urlPathProvider(_:))) @@ -6126,9 +6045,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -6201,9 +6119,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGatewayCapabilityConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -6275,9 +6192,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePortalInput.urlPathProvider(_:))) @@ -6349,9 +6265,8 @@ extension IoTSiteWiseClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProjectInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/IoTThingsGraphClient.swift b/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/IoTThingsGraphClient.swift index ebe2abf3a05..89787d7cd6e 100644 --- a/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/IoTThingsGraphClient.swift +++ b/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/IoTThingsGraphClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateEntityToThingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFlowTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -383,9 +380,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSystemInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -458,9 +454,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSystemTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -533,9 +528,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFlowTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -606,9 +600,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNamespaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -681,9 +674,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSystemInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -756,9 +748,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSystemTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -832,9 +823,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeploySystemInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -907,9 +897,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeprecateFlowTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -982,9 +971,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeprecateSystemTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1057,9 +1045,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNamespaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1132,9 +1119,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DissociateEntityFromThingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1228,9 +1214,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEntitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1303,9 +1288,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFlowTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1378,9 +1362,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFlowTemplateRevisionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1452,9 +1435,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetNamespaceDeletionStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1527,9 +1509,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSystemInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1602,9 +1583,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSystemTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1677,9 +1657,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSystemTemplateRevisionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1752,9 +1731,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUploadStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1827,9 +1805,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFlowExecutionMessagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1902,9 +1879,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1976,9 +1952,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchEntitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2051,9 +2026,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchFlowExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2125,9 +2099,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchFlowTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2199,9 +2172,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchSystemInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2273,9 +2245,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchSystemTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2348,9 +2319,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchThingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2423,9 +2393,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2499,9 +2468,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UndeploySystemInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2574,9 +2542,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2649,9 +2616,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFlowTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2724,9 +2690,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSystemTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2798,9 +2763,8 @@ extension IoTThingsGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UploadEntityDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/IoTTwinMakerClient.swift b/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/IoTTwinMakerClient.swift index d0d8c720cdc..9ebe08f430c 100644 --- a/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/IoTTwinMakerClient.swift +++ b/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/IoTTwinMakerClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchPutPropertyValuesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "data.")) @@ -305,9 +303,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelMetadataTransferJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -377,9 +374,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateComponentTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -452,9 +448,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEntityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -528,9 +523,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMetadataTransferJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -603,9 +597,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSceneInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -678,9 +671,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSyncJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -753,9 +745,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkspaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -827,9 +818,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteComponentTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -898,9 +888,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEntityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -970,9 +959,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSceneInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -1042,9 +1030,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSyncJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -1113,9 +1100,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkspaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -1185,9 +1171,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExecuteQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -1259,9 +1244,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetComponentTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -1330,9 +1314,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEntityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -1401,9 +1384,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMetadataTransferJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -1471,9 +1453,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPricingPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -1544,9 +1525,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPropertyValueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "data.")) @@ -1620,9 +1600,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPropertyValueHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "data.")) @@ -1694,9 +1673,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSceneInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -1766,9 +1744,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSyncJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -1838,9 +1815,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkspaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -1908,9 +1884,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListComponentTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -1982,9 +1957,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListComponentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -2055,9 +2029,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEntitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -2128,9 +2101,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMetadataTransferJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -2202,9 +2174,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPropertiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -2275,9 +2246,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListScenesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -2349,9 +2319,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSyncJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -2423,9 +2392,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSyncResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -2494,9 +2462,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -2567,9 +2534,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkspacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -2639,9 +2605,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -2710,9 +2675,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -2783,9 +2747,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateComponentTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -2859,9 +2822,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEntityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -2932,9 +2894,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePricingPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -3006,9 +2967,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSceneInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -3081,9 +3041,8 @@ extension IoTTwinMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorkspaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) diff --git a/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/IoTWirelessClient.swift b/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/IoTWirelessClient.swift index d3b0966d226..b95af4b27b6 100644 --- a/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/IoTWirelessClient.swift +++ b/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/IoTWirelessClient.swift @@ -32,7 +32,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -235,9 +234,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateAwsAccountWithPartnerAccountInput.urlPathProvider(_:))) @@ -311,9 +309,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateMulticastGroupWithFuotaTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -386,9 +383,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateWirelessDeviceWithFuotaTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -461,9 +457,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateWirelessDeviceWithMulticastGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -536,9 +531,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateWirelessDeviceWithThingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -611,9 +605,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateWirelessGatewayWithCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -686,9 +679,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateWirelessGatewayWithThingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -761,9 +753,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelMulticastGroupSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -833,9 +824,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDestinationInput.urlPathProvider(_:))) @@ -908,9 +898,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDeviceProfileInput.urlPathProvider(_:))) @@ -984,9 +973,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFuotaTaskInput.urlPathProvider(_:))) @@ -1060,9 +1048,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMulticastGroupInput.urlPathProvider(_:))) @@ -1136,9 +1123,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNetworkAnalyzerConfigurationInput.urlPathProvider(_:))) @@ -1211,9 +1197,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServiceProfileInput.urlPathProvider(_:))) @@ -1287,9 +1272,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWirelessDeviceInput.urlPathProvider(_:))) @@ -1369,9 +1353,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWirelessGatewayInput.urlPathProvider(_:))) @@ -1445,9 +1428,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWirelessGatewayTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1520,9 +1502,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWirelessGatewayTaskDefinitionInput.urlPathProvider(_:))) @@ -1596,9 +1577,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1668,9 +1648,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDeviceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1739,9 +1718,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFuotaTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1811,9 +1789,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMulticastGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1883,9 +1860,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNetworkAnalyzerConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1954,9 +1930,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteQueuedMessagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2027,9 +2002,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServiceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2098,9 +2072,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWirelessDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2170,9 +2143,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWirelessDeviceImportTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2248,9 +2220,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWirelessGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2319,9 +2290,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWirelessGatewayTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2390,9 +2360,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWirelessGatewayTaskDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2460,9 +2429,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterWirelessDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2531,9 +2499,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateAwsAccountFromPartnerAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2603,9 +2570,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateMulticastGroupFromFuotaTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2675,9 +2641,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateWirelessDeviceFromFuotaTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2746,9 +2711,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateWirelessDeviceFromMulticastGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2818,9 +2782,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateWirelessDeviceFromThingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2889,9 +2852,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateWirelessGatewayFromCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2961,9 +2923,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateWirelessGatewayFromThingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3032,9 +2993,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3103,9 +3063,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeviceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3172,9 +3131,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEventConfigurationByResourceTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3243,9 +3201,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFuotaTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3314,9 +3271,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLogLevelsByResourceTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3386,9 +3342,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMetricConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3458,9 +3413,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3532,9 +3486,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMulticastGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3603,9 +3556,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMulticastGroupSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3674,9 +3626,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetNetworkAnalyzerConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3744,9 +3695,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPartnerAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3817,9 +3767,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPositionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3890,9 +3839,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPositionConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3962,9 +3910,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPositionEstimateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4036,9 +3983,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourceEventConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4108,9 +4054,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourceLogLevelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4180,9 +4125,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcePositionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4251,9 +4195,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4323,9 +4266,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4394,9 +4336,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWirelessDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4467,9 +4408,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWirelessDeviceImportTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4538,9 +4478,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWirelessDeviceStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4609,9 +4548,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWirelessGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4681,9 +4619,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWirelessGatewayCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4752,9 +4689,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWirelessGatewayFirmwareInformationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4823,9 +4759,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWirelessGatewayStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4894,9 +4829,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWirelessGatewayTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4965,9 +4899,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWirelessGatewayTaskDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5035,9 +4968,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDestinationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5106,9 +5038,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeviceProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5179,9 +5110,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDevicesForWirelessDeviceImportTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5250,9 +5180,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEventConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5321,9 +5250,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFuotaTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5392,9 +5320,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMulticastGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5464,9 +5391,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMulticastGroupsByFuotaTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5535,9 +5461,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNetworkAnalyzerConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5606,9 +5531,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPartnerAccountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5678,9 +5602,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPositionConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5750,9 +5673,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQueuedMessagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5821,9 +5743,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServiceProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5893,9 +5814,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5966,9 +5886,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWirelessDeviceImportTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6037,9 +5956,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWirelessDevicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6108,9 +6026,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWirelessGatewayTaskDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6179,9 +6096,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWirelessGatewaysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6252,9 +6168,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutPositionConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6327,9 +6242,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourceLogLevelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6402,9 +6316,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetAllResourceLogLevelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6473,9 +6386,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetResourceLogLevelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6546,9 +6458,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendDataToMulticastGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6619,9 +6530,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendDataToWirelessDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6693,9 +6603,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartBulkAssociateWirelessDeviceWithMulticastGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6767,9 +6676,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartBulkDisassociateWirelessDeviceFromMulticastGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6842,9 +6750,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartFuotaTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6917,9 +6824,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMulticastGroupSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6992,9 +6898,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSingleWirelessDeviceImportTaskInput.urlPathProvider(_:))) @@ -7068,9 +6973,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartWirelessDeviceImportTaskInput.urlPathProvider(_:))) @@ -7144,9 +7048,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7218,9 +7121,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestWirelessDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7289,9 +7191,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7361,9 +7262,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7434,9 +7334,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEventConfigurationByResourceTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7509,9 +7408,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFuotaTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7584,9 +7482,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLogLevelsByResourceTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7659,9 +7556,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMetricConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7734,9 +7630,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMulticastGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7808,9 +7703,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNetworkAnalyzerConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7881,9 +7775,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePartnerAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7957,9 +7850,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePositionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8033,9 +7925,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResourceEventConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8108,9 +7999,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResourcePositionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8183,9 +8073,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWirelessDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8258,9 +8147,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWirelessDeviceImportTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8332,9 +8220,8 @@ extension IoTWirelessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWirelessGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/IotDeviceAdvisorClient.swift b/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/IotDeviceAdvisorClient.swift index b2c460a3029..5f982b3d728 100644 --- a/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/IotDeviceAdvisorClient.swift +++ b/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/IotDeviceAdvisorClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension IotDeviceAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSuiteDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -299,9 +297,8 @@ extension IotDeviceAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSuiteDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -368,9 +365,8 @@ extension IotDeviceAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -438,9 +434,8 @@ extension IotDeviceAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSuiteDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -508,9 +503,8 @@ extension IotDeviceAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSuiteRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -577,9 +571,8 @@ extension IotDeviceAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSuiteRunReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -645,9 +638,8 @@ extension IotDeviceAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSuiteDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -714,9 +706,8 @@ extension IotDeviceAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSuiteRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -784,9 +775,8 @@ extension IotDeviceAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -853,9 +843,8 @@ extension IotDeviceAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSuiteRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -925,9 +914,8 @@ extension IotDeviceAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopSuiteRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -994,9 +982,8 @@ extension IotDeviceAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1066,9 +1053,8 @@ extension IotDeviceAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1135,9 +1121,8 @@ extension IotDeviceAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSuiteDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSIvs/Sources/AWSIvs/IvsClient.swift b/Sources/Services/AWSIvs/Sources/AWSIvs/IvsClient.swift index 09681962811..b7eb28ea101 100644 --- a/Sources/Services/AWSIvs/Sources/AWSIvs/IvsClient.swift +++ b/Sources/Services/AWSIvs/Sources/AWSIvs/IvsClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -221,9 +220,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -286,9 +284,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetStreamKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -359,9 +356,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchStartViewerSessionRevocationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -433,9 +429,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -507,9 +502,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePlaybackRestrictionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -582,9 +576,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRecordingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -656,9 +649,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStreamKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -730,9 +722,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -803,9 +794,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePlaybackKeyPairInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -877,9 +867,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePlaybackRestrictionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -951,9 +940,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRecordingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1024,9 +1012,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStreamKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1096,9 +1083,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1168,9 +1154,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPlaybackKeyPairInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1241,9 +1226,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPlaybackRestrictionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1314,9 +1298,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRecordingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1387,9 +1370,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1459,9 +1441,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStreamKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1531,9 +1512,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStreamSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1605,9 +1585,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportPlaybackKeyPairInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1677,9 +1656,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1748,9 +1726,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPlaybackKeyPairsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1821,9 +1798,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPlaybackRestrictionPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1893,9 +1869,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecordingConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1965,9 +1940,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStreamKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2037,9 +2011,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStreamSessionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2108,9 +2081,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStreamsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2180,9 +2152,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2251,9 +2222,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2326,9 +2296,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartViewerSessionRevocationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2400,9 +2369,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2472,9 +2440,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2544,9 +2511,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2616,9 +2582,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2690,9 +2655,8 @@ extension IvsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePlaybackRestrictionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSIvschat/Sources/AWSIvschat/IvschatClient.swift b/Sources/Services/AWSIvschat/Sources/AWSIvschat/IvschatClient.swift index c541bdfe0ba..1751f119dbf 100644 --- a/Sources/Services/AWSIvschat/Sources/AWSIvschat/IvschatClient.swift +++ b/Sources/Services/AWSIvschat/Sources/AWSIvschat/IvschatClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension IvschatClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChatTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension IvschatClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -380,9 +377,8 @@ extension IvschatClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRoomInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -454,9 +450,8 @@ extension IvschatClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -528,9 +523,8 @@ extension IvschatClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -601,9 +595,8 @@ extension IvschatClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRoomInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -675,9 +668,8 @@ extension IvschatClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisconnectUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -747,9 +739,8 @@ extension IvschatClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -819,9 +810,8 @@ extension IvschatClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRoomInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -890,9 +880,8 @@ extension IvschatClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLoggingConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -962,9 +951,8 @@ extension IvschatClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRoomsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1034,9 +1022,8 @@ extension IvschatClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1105,9 +1092,8 @@ extension IvschatClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendEventInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1177,9 +1163,8 @@ extension IvschatClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1249,9 +1234,8 @@ extension IvschatClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1321,9 +1305,8 @@ extension IvschatClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1394,9 +1377,8 @@ extension IvschatClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRoomInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSKMS/Sources/AWSKMS/KMSClient.swift b/Sources/Services/AWSKMS/Sources/AWSKMS/KMSClient.swift index 70bcf0593d7..4378cba1aa0 100644 --- a/Sources/Services/AWSKMS/Sources/AWSKMS/KMSClient.swift +++ b/Sources/Services/AWSKMS/Sources/AWSKMS/KMSClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -235,9 +234,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelKeyDeletionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -342,9 +340,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConnectCustomKeyStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -439,9 +436,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -555,9 +551,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCustomKeyStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -656,9 +651,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGrantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -767,9 +761,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -883,9 +876,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DecryptInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -977,9 +969,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1074,9 +1065,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCustomKeyStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1161,9 +1151,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteImportedKeyMaterialInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1273,9 +1262,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeriveSharedSecretInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1359,9 +1347,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCustomKeyStoresInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1461,9 +1448,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1540,9 +1526,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1632,9 +1617,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableKeyRotationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1728,9 +1712,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisconnectCustomKeyStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1808,9 +1791,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1900,9 +1882,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableKeyRotationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2038,9 +2019,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EncryptInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2157,9 +2137,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateDataKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2261,9 +2240,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateDataKeyPairInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2365,9 +2343,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateDataKeyPairWithoutPlaintextInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2468,9 +2445,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateDataKeyWithoutPlaintextInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2557,9 +2533,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateMacInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2642,9 +2617,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateRandomInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2721,9 +2695,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetKeyPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2819,9 +2792,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetKeyRotationStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2922,9 +2894,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetParametersForImportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3022,9 +2993,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPublicKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3135,9 +3105,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportKeyMaterialInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3219,9 +3188,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAliasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3311,9 +3279,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGrantsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3397,9 +3364,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKeyPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3488,9 +3454,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKeyRotationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3572,9 +3537,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3657,9 +3621,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3743,9 +3706,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRetirableGrantsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3825,9 +3787,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutKeyPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3944,9 +3905,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReEncryptInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4044,9 +4004,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReplicateKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4137,9 +4096,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RetireGrantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4229,9 +4187,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RevokeGrantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4323,9 +4280,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RotateKeyOnDemandInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4409,9 +4365,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ScheduleKeyDeletionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4508,9 +4463,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SignInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4599,9 +4553,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4689,9 +4642,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4786,9 +4738,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4905,9 +4856,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCustomKeyStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4991,9 +4941,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateKeyDescriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5085,9 +5034,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePrimaryRegionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5176,9 +5124,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(VerifyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5266,9 +5213,8 @@ extension KMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(VerifyMacInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSKafka/Sources/AWSKafka/KafkaClient.swift b/Sources/Services/AWSKafka/Sources/AWSKafka/KafkaClient.swift index 94cdb305660..e91cda4b1c2 100644 --- a/Sources/Services/AWSKafka/Sources/AWSKafka/KafkaClient.swift +++ b/Sources/Services/AWSKafka/Sources/AWSKafka/KafkaClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchAssociateScramSecretInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -309,9 +307,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDisassociateScramSecretInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -385,9 +382,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -461,9 +457,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClusterV2Input.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -537,9 +532,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -614,9 +608,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReplicatorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -689,9 +682,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVpcConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -762,9 +754,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -833,9 +824,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClusterPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -903,9 +893,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -976,9 +965,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReplicatorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1047,9 +1035,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVpcConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1118,9 +1105,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1189,9 +1175,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClusterOperationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1262,9 +1247,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClusterOperationV2Input.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1333,9 +1317,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClusterV2Input.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1405,9 +1388,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1477,9 +1459,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConfigurationRevisionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1550,9 +1531,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReplicatorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1622,9 +1602,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVpcConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1693,9 +1672,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBootstrapBrokersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1763,9 +1741,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetClusterPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1836,9 +1813,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCompatibleKafkaVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1908,9 +1884,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListClientVpcConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1979,9 +1954,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListClusterOperationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2053,9 +2027,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListClusterOperationsV2Input.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2124,9 +2097,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2195,9 +2167,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListClustersV2Input.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2268,9 +2239,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConfigurationRevisionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2340,9 +2310,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2411,9 +2380,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKafkaVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2482,9 +2450,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNodesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2556,9 +2523,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReplicatorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2630,9 +2596,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListScramSecretsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2700,9 +2665,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2771,9 +2735,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVpcConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2841,9 +2804,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutClusterPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2917,9 +2879,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RebootBrokerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2991,9 +2952,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectClientVpcConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3063,9 +3023,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3135,9 +3094,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3207,9 +3165,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBrokerCountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3281,9 +3238,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBrokerStorageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3357,9 +3313,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBrokerTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3432,9 +3387,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateClusterConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3508,9 +3462,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateClusterKafkaVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3583,9 +3536,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3658,9 +3610,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConnectivityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3732,9 +3683,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMonitoringInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3808,9 +3758,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateReplicationInfoInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3884,9 +3833,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSecurityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3960,9 +3908,8 @@ extension KafkaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStorageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/KafkaConnectClient.swift b/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/KafkaConnectClient.swift index c02acbfd90d..7ad5838bdb3 100644 --- a/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/KafkaConnectClient.swift +++ b/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/KafkaConnectClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension KafkaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -311,9 +309,8 @@ extension KafkaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCustomPluginInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -388,9 +385,8 @@ extension KafkaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkerConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -464,9 +460,8 @@ extension KafkaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -538,9 +533,8 @@ extension KafkaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCustomPluginInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -611,9 +605,8 @@ extension KafkaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkerConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -684,9 +677,8 @@ extension KafkaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -757,9 +749,8 @@ extension KafkaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCustomPluginInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -830,9 +821,8 @@ extension KafkaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorkerConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -903,9 +893,8 @@ extension KafkaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConnectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -977,9 +966,8 @@ extension KafkaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCustomPluginsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1051,9 +1039,8 @@ extension KafkaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1124,9 +1111,8 @@ extension KafkaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkerConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1199,9 +1185,8 @@ extension KafkaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1275,9 +1260,8 @@ extension KafkaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1349,9 +1333,8 @@ extension KafkaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSKendra/Sources/AWSKendra/KendraClient.swift b/Sources/Services/AWSKendra/Sources/AWSKendra/KendraClient.swift index 97490430395..66ba794c7ef 100644 --- a/Sources/Services/AWSKendra/Sources/AWSKendra/KendraClient.swift +++ b/Sources/Services/AWSKendra/Sources/AWSKendra/KendraClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateEntitiesToExperienceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -309,9 +307,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociatePersonasToEntitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -385,9 +382,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteDocumentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -460,9 +456,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteFeaturedResultsSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -536,9 +531,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetDocumentStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -613,9 +607,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchPutDocumentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -689,9 +682,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ClearQuerySuggestionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -766,9 +758,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccessControlConfigurationInput.urlPathProvider(_:))) @@ -845,9 +836,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataSourceInput.urlPathProvider(_:))) @@ -923,9 +913,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateExperienceInput.urlPathProvider(_:))) @@ -1001,9 +990,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFaqInput.urlPathProvider(_:))) @@ -1079,9 +1067,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFeaturedResultsSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1156,9 +1143,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIndexInput.urlPathProvider(_:))) @@ -1234,9 +1220,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateQuerySuggestionsBlockListInput.urlPathProvider(_:))) @@ -1312,9 +1297,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateThesaurusInput.urlPathProvider(_:))) @@ -1389,9 +1373,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccessControlConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1465,9 +1448,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1541,9 +1523,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteExperienceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1617,9 +1598,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFaqInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1693,9 +1673,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIndexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1769,9 +1748,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePrincipalMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1845,9 +1823,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteQuerySuggestionsBlockListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1921,9 +1898,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteThesaurusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1996,9 +1972,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccessControlConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2071,9 +2046,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2146,9 +2120,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeExperienceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2221,9 +2194,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFaqInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2296,9 +2268,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFeaturedResultsSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2371,9 +2342,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIndexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2446,9 +2416,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePrincipalMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2521,9 +2490,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeQuerySuggestionsBlockListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2596,9 +2564,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeQuerySuggestionsConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2671,9 +2638,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeThesaurusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2746,9 +2712,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateEntitiesFromExperienceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2821,9 +2786,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociatePersonasFromEntitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2898,9 +2862,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQuerySuggestionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2972,9 +2935,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3047,9 +3009,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccessControlConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3123,9 +3084,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataSourceSyncJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3198,9 +3158,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3273,9 +3232,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEntityPersonasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3348,9 +3306,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExperienceEntitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3423,9 +3380,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExperiencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3498,9 +3454,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFaqsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3573,9 +3528,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFeaturedResultsSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3649,9 +3603,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGroupsOlderThanOrderingIdInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3723,9 +3676,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIndicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3798,9 +3750,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQuerySuggestionsBlockListsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3873,9 +3824,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3948,9 +3898,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListThesauriInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4025,9 +3974,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutPrincipalMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4111,9 +4059,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(QueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4199,9 +4146,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RetrieveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4276,9 +4222,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDataSourceSyncJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4351,9 +4296,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopDataSourceSyncJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4427,9 +4371,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SubmitFeedbackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4502,9 +4445,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4577,9 +4519,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4654,9 +4595,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccessControlConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4730,9 +4670,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4806,9 +4745,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateExperienceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4882,9 +4820,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFeaturedResultsSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4959,9 +4896,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIndexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5035,9 +4971,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateQuerySuggestionsBlockListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5111,9 +5046,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateQuerySuggestionsConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5187,9 +5121,8 @@ extension KendraClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateThesaurusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/KendraRankingClient.swift b/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/KendraRankingClient.swift index df082b5ae4d..7bbbe879367 100644 --- a/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/KendraRankingClient.swift +++ b/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/KendraRankingClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension KendraRankingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRescoreExecutionPlanInput.urlPathProvider(_:))) @@ -311,9 +309,8 @@ extension KendraRankingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRescoreExecutionPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -386,9 +383,8 @@ extension KendraRankingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRescoreExecutionPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -460,9 +456,8 @@ extension KendraRankingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRescoreExecutionPlansInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -536,9 +531,8 @@ extension KendraRankingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -612,9 +606,8 @@ extension KendraRankingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RescoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -687,9 +680,8 @@ extension KendraRankingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -762,9 +754,8 @@ extension KendraRankingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -839,9 +830,8 @@ extension KendraRankingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRescoreExecutionPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/KeyspacesClient.swift b/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/KeyspacesClient.swift index df34e0c49dc..3b08c1b1e94 100644 --- a/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/KeyspacesClient.swift +++ b/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/KeyspacesClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension KeyspacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateKeyspaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension KeyspacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -383,9 +380,8 @@ extension KeyspacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteKeyspaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -459,9 +455,8 @@ extension KeyspacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -534,9 +529,8 @@ extension KeyspacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetKeyspaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -609,9 +603,8 @@ extension KeyspacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -688,9 +681,8 @@ extension KeyspacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTableAutoScalingSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -763,9 +755,8 @@ extension KeyspacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKeyspacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -838,9 +829,8 @@ extension KeyspacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTablesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -913,9 +903,8 @@ extension KeyspacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1006,9 +995,8 @@ extension KeyspacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1081,9 +1069,8 @@ extension KeyspacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1157,9 +1144,8 @@ extension KeyspacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1233,9 +1219,8 @@ extension KeyspacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift b/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift index 160de0bd07f..58c52499e70 100644 --- a/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift +++ b/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddTagsToStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -311,9 +309,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -386,9 +383,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DecreaseStreamRetentionPeriodInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -465,9 +461,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -540,9 +535,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -613,9 +607,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterStreamConsumerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -684,9 +677,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLimitsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -758,9 +750,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -831,9 +822,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStreamConsumerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -905,9 +895,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStreamSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -980,9 +969,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableEnhancedMonitoringInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1055,9 +1043,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableEnhancedMonitoringInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1136,9 +1123,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRecordsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1214,9 +1200,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1288,9 +1273,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetShardIteratorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1363,9 +1347,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(IncreaseStreamRetentionPeriodInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1439,9 +1422,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListShardsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1514,9 +1496,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStreamConsumersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1587,9 +1568,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStreamsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1661,9 +1641,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1737,9 +1716,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(MergeShardsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1817,9 +1795,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRecordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1897,9 +1874,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRecordsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1979,9 +1955,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2053,9 +2028,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterStreamConsumerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2128,9 +2102,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTagsFromStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2204,9 +2177,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SplitShardInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2285,9 +2257,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartStreamEncryptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2360,9 +2331,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopStreamEncryptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2435,9 +2405,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SubscribeToShardInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2528,9 +2497,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateShardCountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2602,9 +2570,8 @@ extension KinesisClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStreamModeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/KinesisAnalyticsClient.swift b/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/KinesisAnalyticsClient.swift index b8426ea0a79..b0db7f96abf 100644 --- a/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/KinesisAnalyticsClient.swift +++ b/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/KinesisAnalyticsClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension KinesisAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddApplicationCloudWatchLoggingOptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension KinesisAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddApplicationInputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -382,9 +379,8 @@ extension KinesisAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddApplicationInputProcessingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -457,9 +453,8 @@ extension KinesisAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddApplicationOutputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -532,9 +527,8 @@ extension KinesisAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddApplicationReferenceDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -608,9 +602,8 @@ extension KinesisAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -682,9 +675,8 @@ extension KinesisAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -757,9 +749,8 @@ extension KinesisAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationCloudWatchLoggingOptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -832,9 +823,8 @@ extension KinesisAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationInputProcessingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -907,9 +897,8 @@ extension KinesisAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationOutputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -982,9 +971,8 @@ extension KinesisAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationReferenceDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1054,9 +1042,8 @@ extension KinesisAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1131,9 +1118,8 @@ extension KinesisAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DiscoverInputSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1200,9 +1186,8 @@ extension KinesisAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1273,9 +1258,8 @@ extension KinesisAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1348,9 +1332,8 @@ extension KinesisAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1421,9 +1404,8 @@ extension KinesisAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1496,9 +1478,8 @@ extension KinesisAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1571,9 +1552,8 @@ extension KinesisAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1647,9 +1627,8 @@ extension KinesisAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift b/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift index fb9bfef01d4..2a0abf528b9 100644 --- a/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift +++ b/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddApplicationCloudWatchLoggingOptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -308,9 +306,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddApplicationInputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -383,9 +380,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddApplicationInputProcessingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -458,9 +454,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddApplicationOutputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -533,9 +528,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddApplicationReferenceDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -612,9 +606,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddApplicationVpcConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -690,9 +683,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -763,9 +755,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationPresignedUrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -840,9 +831,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -916,9 +906,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -992,9 +981,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationCloudWatchLoggingOptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1067,9 +1055,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationInputProcessingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1142,9 +1129,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationOutputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1217,9 +1203,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationReferenceDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1293,9 +1278,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1368,9 +1352,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationVpcConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1441,9 +1424,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1514,9 +1496,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeApplicationOperationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1587,9 +1568,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeApplicationSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1660,9 +1640,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeApplicationVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1736,9 +1715,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DiscoverInputSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1809,9 +1787,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationOperationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1881,9 +1858,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1954,9 +1930,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2025,9 +2000,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2098,9 +2072,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2174,9 +2147,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RollbackApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2249,9 +2221,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2325,9 +2296,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2400,9 +2370,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2475,9 +2444,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2553,9 +2521,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2628,9 +2595,8 @@ extension KinesisAnalyticsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationMaintenanceConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/KinesisVideoClient.swift b/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/KinesisVideoClient.swift index f5b7831f525..c88e8df9b70 100644 --- a/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/KinesisVideoClient.swift +++ b/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/KinesisVideoClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -237,9 +236,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSignalingChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -319,9 +317,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -393,9 +390,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEdgeConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -474,9 +470,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSignalingChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -555,9 +550,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -629,9 +623,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEdgeConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -702,9 +695,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeImageGenerationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -775,9 +767,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMappedResourceConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -848,9 +839,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMediaStorageConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -921,9 +911,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNotificationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -994,9 +983,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSignalingChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1067,9 +1055,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1140,9 +1127,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1220,9 +1206,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSignalingChannelEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1292,9 +1277,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEdgeAgentConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1364,9 +1348,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSignalingChannelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1435,9 +1418,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStreamsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1508,9 +1490,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1582,9 +1563,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1663,9 +1643,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartEdgeConfigurationUpdateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1737,9 +1716,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1812,9 +1790,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1885,9 +1862,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1959,9 +1935,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2044,9 +2019,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDataRetentionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2125,9 +2099,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateImageGenerationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2213,9 +2186,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMediaStorageConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2294,9 +2266,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNotificationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2375,9 +2346,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSignalingChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2456,9 +2426,8 @@ extension KinesisVideoClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/KinesisVideoArchivedMediaClient.swift b/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/KinesisVideoArchivedMediaClient.swift index bc77dd6eebb..0fe862fd0bb 100644 --- a/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/KinesisVideoArchivedMediaClient.swift +++ b/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/KinesisVideoArchivedMediaClient.swift @@ -32,7 +32,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -246,9 +245,8 @@ extension KinesisVideoArchivedMediaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetClipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -361,9 +359,8 @@ extension KinesisVideoArchivedMediaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDASHStreamingSessionURLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -480,9 +477,8 @@ extension KinesisVideoArchivedMediaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetHLSStreamingSessionURLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -554,9 +550,8 @@ extension KinesisVideoArchivedMediaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetImagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -634,9 +629,8 @@ extension KinesisVideoArchivedMediaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMediaForFragmentListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -714,9 +708,8 @@ extension KinesisVideoArchivedMediaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFragmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/KinesisVideoMediaClient.swift b/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/KinesisVideoMediaClient.swift index 7edf26ea891..98c6372ed44 100644 --- a/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/KinesisVideoMediaClient.swift +++ b/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/KinesisVideoMediaClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -245,9 +244,8 @@ extension KinesisVideoMediaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMediaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/KinesisVideoSignalingClient.swift b/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/KinesisVideoSignalingClient.swift index a81b21deeaf..4c1e257164a 100644 --- a/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/KinesisVideoSignalingClient.swift +++ b/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/KinesisVideoSignalingClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension KinesisVideoSignalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIceServerConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -303,9 +301,8 @@ extension KinesisVideoSignalingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendAlexaOfferToMasterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/KinesisVideoWebRTCStorageClient.swift b/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/KinesisVideoWebRTCStorageClient.swift index 6c19bfb669c..d381e429be5 100644 --- a/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/KinesisVideoWebRTCStorageClient.swift +++ b/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/KinesisVideoWebRTCStorageClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -241,9 +240,8 @@ extension KinesisVideoWebRTCStorageClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(JoinStorageSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -314,9 +312,8 @@ extension KinesisVideoWebRTCStorageClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(JoinStorageSessionAsViewerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/LakeFormationClient.swift b/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/LakeFormationClient.swift index 189dfad7c12..46a04c3eedd 100644 --- a/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/LakeFormationClient.swift +++ b/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/LakeFormationClient.swift @@ -32,7 +32,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddLFTagsToResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssumeDecoratedRoleWithSAMLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -377,9 +374,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGrantPermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -448,9 +444,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchRevokePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -524,9 +519,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelTransactionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -599,9 +593,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CommitTransactionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -675,9 +668,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataCellsFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -750,9 +742,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLFTagInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -825,9 +816,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLakeFormationIdentityCenterConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -900,9 +890,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLakeFormationOptInInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -974,9 +963,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataCellsFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1048,9 +1036,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLFTagInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1123,9 +1110,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLakeFormationIdentityCenterConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1198,9 +1184,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLakeFormationOptInInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1275,9 +1260,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteObjectsOnCancelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1348,9 +1332,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1422,9 +1405,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLakeFormationIdentityCenterConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1495,9 +1477,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1568,9 +1549,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTransactionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1644,9 +1624,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExtendTransactionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1718,9 +1697,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataCellsFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1790,9 +1768,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataLakePrincipalInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1859,9 +1836,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataLakeSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1932,9 +1908,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEffectivePermissionsForPathInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2006,9 +1981,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLFTagInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2078,9 +2052,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQueryStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "query-")) @@ -2153,9 +2126,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQueryStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "query-")) @@ -2228,9 +2200,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourceLFTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2304,9 +2275,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTableObjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2379,9 +2349,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTemporaryGluePartitionCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2454,9 +2423,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTemporaryGlueTableCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2528,9 +2496,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkUnitResultsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "data-")) @@ -2602,9 +2569,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkUnitsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "query-")) @@ -2674,9 +2640,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GrantPermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2747,9 +2712,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataCellsFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2821,9 +2785,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLFTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2894,9 +2857,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLakeFormationOptInsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2966,9 +2928,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3038,9 +2999,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3111,9 +3071,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTableStorageOptimizersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3183,9 +3142,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTransactionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3254,9 +3212,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDataLakeSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3330,9 +3287,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3406,9 +3362,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveLFTagsFromResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3478,9 +3433,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RevokePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3553,9 +3507,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchDatabasesByLFTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3628,9 +3581,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchTablesByLFTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3701,9 +3653,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartQueryPlanningInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "query-")) @@ -3772,9 +3723,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartTransactionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3847,9 +3797,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDataCellsFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3922,9 +3871,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLFTagInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3997,9 +3945,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLakeFormationIdentityCenterConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4070,9 +4017,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4148,9 +4094,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTableObjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4221,9 +4166,8 @@ extension LakeFormationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTableStorageOptimizerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSLambda/Sources/AWSLambda/LambdaClient.swift b/Sources/Services/AWSLambda/Sources/AWSLambda/LambdaClient.swift index f0ad0049de4..ecb41de7af9 100644 --- a/Sources/Services/AWSLambda/Sources/AWSLambda/LambdaClient.swift +++ b/Sources/Services/AWSLambda/Sources/AWSLambda/LambdaClient.swift @@ -33,7 +33,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -242,9 +241,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddLayerVersionPermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -323,9 +321,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddPermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -398,9 +395,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -469,9 +465,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCodeSigningConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -587,9 +582,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEventSourceMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -665,9 +659,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFunctionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -739,9 +732,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFunctionUrlConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -813,9 +805,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -883,9 +874,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCodeSigningConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -955,9 +945,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEventSourceMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1026,9 +1015,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFunctionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1099,9 +1087,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFunctionCodeSigningConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1170,9 +1157,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFunctionConcurrencyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1241,9 +1227,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFunctionEventInvokeConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1312,9 +1297,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFunctionUrlConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1381,9 +1365,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLayerVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1452,9 +1435,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProvisionedConcurrencyConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1521,9 +1503,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1591,9 +1572,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1660,9 +1640,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCodeSigningConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1730,9 +1709,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEventSourceMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1800,9 +1778,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFunctionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1871,9 +1848,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFunctionCodeSigningConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1941,9 +1917,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFunctionConcurrencyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2011,9 +1986,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFunctionConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2082,9 +2056,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFunctionEventInvokeConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2153,9 +2126,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFunctionRecursionConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2223,9 +2195,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFunctionUrlConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2294,9 +2265,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLayerVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2364,9 +2334,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLayerVersionByArnInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2435,9 +2404,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLayerVersionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2505,9 +2473,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2577,9 +2544,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProvisionedConcurrencyConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2648,9 +2614,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRuntimeManagementConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2745,9 +2710,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InvokeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2822,9 +2786,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InvokeAsyncInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2921,9 +2884,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InvokeWithResponseStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2996,9 +2958,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAliasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3065,9 +3026,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCodeSigningConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3136,9 +3096,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEventSourceMappingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3207,9 +3166,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFunctionEventInvokeConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3278,9 +3236,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFunctionUrlConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3348,9 +3305,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFunctionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3418,9 +3374,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFunctionsByCodeSigningConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3489,9 +3444,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLayerVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3559,9 +3513,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLayersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3630,9 +3583,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProvisionedConcurrencyConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3701,9 +3653,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3771,9 +3722,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVersionsByFunctionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3843,9 +3793,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PublishLayerVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3923,9 +3872,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PublishVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3998,9 +3946,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutFunctionCodeSigningConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4072,9 +4019,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutFunctionConcurrencyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4146,9 +4092,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutFunctionEventInvokeConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4221,9 +4166,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutFunctionRecursionConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4295,9 +4239,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutProvisionedConcurrencyConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4370,9 +4313,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRuntimeManagementConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4449,9 +4391,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveLayerVersionPermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4525,9 +4466,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemovePermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4597,9 +4537,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4671,9 +4610,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4748,9 +4686,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4820,9 +4757,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCodeSigningConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4939,9 +4875,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEventSourceMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5022,9 +4957,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFunctionCodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5104,9 +5038,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFunctionConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5178,9 +5111,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFunctionEventInvokeConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5253,9 +5185,8 @@ extension LambdaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFunctionUrlConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/LaunchWizardClient.swift b/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/LaunchWizardClient.swift index 89827cb898b..c6c0bc8d1c1 100644 --- a/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/LaunchWizardClient.swift +++ b/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/LaunchWizardClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension LaunchWizardClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -302,9 +300,8 @@ extension LaunchWizardClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -374,9 +371,8 @@ extension LaunchWizardClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -446,9 +442,8 @@ extension LaunchWizardClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkloadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -518,9 +513,8 @@ extension LaunchWizardClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkloadDeploymentPatternInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -590,9 +584,8 @@ extension LaunchWizardClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeploymentEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -661,9 +654,8 @@ extension LaunchWizardClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeploymentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -733,9 +725,8 @@ extension LaunchWizardClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -802,9 +793,8 @@ extension LaunchWizardClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkloadDeploymentPatternsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -873,9 +863,8 @@ extension LaunchWizardClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkloadsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -945,9 +934,8 @@ extension LaunchWizardClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1017,9 +1005,8 @@ extension LaunchWizardClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/LexModelBuildingClient.swift b/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/LexModelBuildingClient.swift index b14fc399cbf..ec9e2b07049 100644 --- a/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/LexModelBuildingClient.swift +++ b/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/LexModelBuildingClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBotVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIntentVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -382,9 +379,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSlotTypeVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -461,9 +457,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -537,9 +532,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBotAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -608,9 +602,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBotChannelAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -684,9 +677,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBotVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -760,9 +752,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIntentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -836,9 +827,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIntentVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -912,9 +902,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSlotTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -988,9 +977,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSlotTypeVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1058,9 +1046,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUtterancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1128,9 +1115,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1198,9 +1184,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBotAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1267,9 +1252,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBotAliasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1338,9 +1322,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBotChannelAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1407,9 +1390,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBotChannelAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1478,9 +1460,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBotVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1556,9 +1537,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1627,9 +1607,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBuiltinIntentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1696,9 +1675,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBuiltinIntentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1766,9 +1744,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBuiltinSlotTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1837,9 +1814,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1908,9 +1884,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetImportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1978,9 +1953,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIntentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2048,9 +2022,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIntentVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2126,9 +2099,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIntentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2197,9 +2169,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMigrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2266,9 +2237,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMigrationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2337,9 +2307,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSlotTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2407,9 +2376,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSlotTypeVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2485,9 +2453,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSlotTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2555,9 +2522,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUtterancesViewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2626,9 +2592,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2697,9 +2662,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2771,9 +2735,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBotAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2865,9 +2828,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutIntentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2939,9 +2901,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutSlotTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3011,9 +2972,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartImportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3085,9 +3045,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMigrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3159,9 +3118,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3233,9 +3191,8 @@ extension LexModelBuildingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/LexModelsV2Client.swift b/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/LexModelsV2Client.swift index 30eb19dd48a..180ecb012ea 100644 --- a/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/LexModelsV2Client.swift +++ b/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/LexModelsV2Client.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchCreateCustomVocabularyItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteCustomVocabularyItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -379,9 +376,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchUpdateCustomVocabularyItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -454,9 +450,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BuildBotLocaleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -526,9 +521,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -601,9 +595,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBotAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -676,9 +669,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBotLocaleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -751,9 +743,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBotReplicaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -826,9 +817,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBotVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -901,9 +891,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -988,9 +977,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIntentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1063,9 +1051,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1100,7 +1087,7 @@ extension LexModelsV2Client { /// Performs the `CreateResourcePolicyStatement` operation on the `LexModelBuildingServiceV2` service. /// - /// Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is added to the current resource policy. If a policy doesn't exist, a new policy is created. You can't create a resource policy statement that allows cross-account access. + /// Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is added to the current resource policy. If a policy doesn't exist, a new policy is created. You can't create a resource policy statement that allows cross-account access. You need to add the CreateResourcePolicy or UpdateResourcePolicy action to the bot role in order to call the API. /// /// - Parameter CreateResourcePolicyStatementInput : [no documentation found] /// @@ -1139,9 +1126,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateResourcePolicyStatementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1215,9 +1201,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSlotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1290,9 +1275,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSlotTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1365,9 +1349,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTestSetDiscrepancyReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1439,9 +1422,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUploadUrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1511,9 +1493,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1584,9 +1565,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBotAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1657,9 +1637,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBotLocaleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1729,9 +1708,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBotReplicaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1801,9 +1779,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBotVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1874,9 +1851,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCustomVocabularyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1945,9 +1921,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2016,9 +1991,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteImportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2088,9 +2062,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIntentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2158,9 +2131,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2193,7 +2165,7 @@ extension LexModelsV2Client { /// Performs the `DeleteResourcePolicyStatement` operation on the `LexModelBuildingServiceV2` service. /// - /// Deletes a policy statement from a resource policy. If you delete the last statement from a policy, the policy is deleted. If you specify a statement ID that doesn't exist in the policy, or if the bot or bot alias doesn't have a policy attached, Amazon Lex returns an exception. + /// Deletes a policy statement from a resource policy. If you delete the last statement from a policy, the policy is deleted. If you specify a statement ID that doesn't exist in the policy, or if the bot or bot alias doesn't have a policy attached, Amazon Lex returns an exception. You need to add the DeleteResourcePolicy or UpdateResourcePolicy action to the bot role in order to call the API. /// /// - Parameter DeleteResourcePolicyStatementInput : [no documentation found] /// @@ -2229,9 +2201,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyStatementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2302,9 +2273,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSlotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2374,9 +2344,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSlotTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2447,9 +2416,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTestSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2516,9 +2484,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUtterancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2588,9 +2555,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2659,9 +2625,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBotAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2730,9 +2695,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBotLocaleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2800,9 +2764,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBotRecommendationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2871,9 +2834,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBotReplicaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2941,9 +2903,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBotResourceGenerationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3012,9 +2973,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBotVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3083,9 +3043,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCustomVocabularyMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3153,9 +3112,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3223,9 +3181,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeImportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3294,9 +3251,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIntentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3363,9 +3319,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3434,9 +3389,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSlotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3505,9 +3459,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSlotTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3576,9 +3529,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTestExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3647,9 +3599,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTestSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3718,9 +3669,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTestSetDiscrepancyReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3789,9 +3739,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTestSetGenerationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3862,9 +3811,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateBotElementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3936,9 +3884,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTestExecutionArtifactsUrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4012,9 +3959,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAggregatedUtterancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4085,9 +4031,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBotAliasReplicasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4158,9 +4103,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBotAliasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4231,9 +4175,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBotLocalesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4304,9 +4247,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBotRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4377,9 +4319,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBotReplicasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4447,9 +4388,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBotResourceGenerationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4520,9 +4460,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBotVersionReplicasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4593,9 +4532,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBotVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4666,9 +4604,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4739,9 +4676,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBuiltInIntentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4812,9 +4748,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBuiltInSlotTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4886,9 +4821,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCustomVocabularyItemsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4958,9 +4892,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5030,9 +4963,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5118,9 +5050,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIntentMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5199,9 +5130,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIntentPathsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5287,9 +5217,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIntentStageMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5360,9 +5289,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIntentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5434,9 +5362,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecommendedIntentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5512,9 +5439,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSessionAnalyticsDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5600,9 +5526,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSessionMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5673,9 +5598,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSlotTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5746,9 +5670,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSlotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5819,9 +5742,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5890,9 +5812,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTestExecutionResultItemsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5963,9 +5884,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTestExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6037,9 +5957,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTestSetRecordsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6110,9 +6029,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTestSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6193,9 +6111,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUtteranceAnalyticsDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6281,9 +6198,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUtteranceMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6355,9 +6271,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchAssociatedTranscriptsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6431,9 +6346,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartBotRecommendationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6506,9 +6420,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartBotResourceGenerationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6581,9 +6494,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartImportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6656,9 +6568,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartTestExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6731,9 +6642,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartTestSetGenerationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6807,9 +6717,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopBotRecommendationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6877,9 +6786,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6950,9 +6858,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7023,9 +6930,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7098,9 +7004,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBotAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7173,9 +7078,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBotLocaleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7249,9 +7153,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBotRecommendationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7324,9 +7227,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7399,9 +7301,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIntentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7474,9 +7375,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7550,9 +7450,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSlotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7625,9 +7524,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSlotTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7700,9 +7598,8 @@ extension LexModelsV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTestSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/Models.swift b/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/Models.swift index 1005de8d81e..0652f9f8810 100644 --- a/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/Models.swift +++ b/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/Models.swift @@ -3036,35 +3036,122 @@ public struct BatchUpdateCustomVocabularyItemOutput { } } +extension LexModelsV2ClientTypes { + /// The details on the Bedrock guardrail configuration. + public struct BedrockGuardrailConfiguration { + /// The unique guardrail id for the Bedrock guardrail configuration. + /// This member is required. + public var identifier: Swift.String? + /// The guardrail version for the Bedrock guardrail configuration. + /// This member is required. + public var version: Swift.String? + + public init( + identifier: Swift.String? = nil, + version: Swift.String? = nil + ) + { + self.identifier = identifier + self.version = version + } + } + +} + +extension LexModelsV2ClientTypes { + /// The exact response fields given by the Bedrock knowledge store. + public struct BedrockKnowledgeStoreExactResponseFields { + /// The answer field used for an exact response from Bedrock Knowledge Store. + public var answerField: Swift.String? + + public init( + answerField: Swift.String? = nil + ) + { + self.answerField = answerField + } + } + +} + extension LexModelsV2ClientTypes { /// Contains details about the configuration of a Amazon Bedrock knowledge base. public struct BedrockKnowledgeStoreConfiguration { - /// The ARN of the knowledge base used. + /// The base ARN of the knowledge base used. /// This member is required. public var bedrockKnowledgeBaseArn: Swift.String? + /// Specifies whether to return an exact response, or to return an answer generated by the model, using the fields you specify from the database. + public var exactResponse: Swift.Bool + /// Contains the names of the fields used for an exact response to the user. + public var exactResponseFields: LexModelsV2ClientTypes.BedrockKnowledgeStoreExactResponseFields? public init( - bedrockKnowledgeBaseArn: Swift.String? = nil + bedrockKnowledgeBaseArn: Swift.String? = nil, + exactResponse: Swift.Bool = false, + exactResponseFields: LexModelsV2ClientTypes.BedrockKnowledgeStoreExactResponseFields? = nil ) { self.bedrockKnowledgeBaseArn = bedrockKnowledgeBaseArn + self.exactResponse = exactResponse + self.exactResponseFields = exactResponseFields } } } +extension LexModelsV2ClientTypes { + + public enum BedrockTraceStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case disabled + case enabled + case sdkUnknown(Swift.String) + + public static var allCases: [BedrockTraceStatus] { + return [ + .disabled, + .enabled + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .disabled: return "DISABLED" + case .enabled: return "ENABLED" + case let .sdkUnknown(s): return s + } + } + } +} + extension LexModelsV2ClientTypes { /// Contains information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building. public struct BedrockModelSpecification { + /// The custom prompt used in the Bedrock model specification details. + public var customPrompt: Swift.String? + /// The guardrail configuration in the Bedrock model specification details. + public var guardrail: LexModelsV2ClientTypes.BedrockGuardrailConfiguration? /// The ARN of the foundation model used in descriptive bot building. /// This member is required. public var modelArn: Swift.String? + /// The Bedrock trace status in the Bedrock model specification details. + public var traceStatus: LexModelsV2ClientTypes.BedrockTraceStatus? public init( - modelArn: Swift.String? = nil + customPrompt: Swift.String? = nil, + guardrail: LexModelsV2ClientTypes.BedrockGuardrailConfiguration? = nil, + modelArn: Swift.String? = nil, + traceStatus: LexModelsV2ClientTypes.BedrockTraceStatus? = nil ) { + self.customPrompt = customPrompt + self.guardrail = guardrail self.modelArn = modelArn + self.traceStatus = traceStatus } } @@ -3631,12 +3718,16 @@ extension LexModelsV2ClientTypes { extension LexModelsV2ClientTypes { public enum VoiceEngine: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case generative + case longform case neural case standard case sdkUnknown(Swift.String) public static var allCases: [VoiceEngine] { return [ + .generative, + .longform, .neural, .standard ] @@ -3649,6 +3740,8 @@ extension LexModelsV2ClientTypes { public var rawValue: Swift.String { switch self { + case .generative: return "generative" + case .longform: return "long-form" case .neural: return "neural" case .standard: return "standard" case let .sdkUnknown(s): return s @@ -3658,7 +3751,15 @@ extension LexModelsV2ClientTypes { } extension LexModelsV2ClientTypes { - /// Defines settings for using an Amazon Polly voice to communicate with a user. + /// Defines settings for using an Amazon Polly voice to communicate with a user. Valid values include: + /// + /// * standard + /// + /// * neural + /// + /// * long-form + /// + /// * generative public struct VoiceSettings { /// Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more information, see the [engine] parameter of the SynthesizeSpeech operation(https://docs.aws.amazon.com/polly/latest/dg/API_SynthesizeSpeech.html#polly-SynthesizeSpeech-request-Engine) in the Amazon Polly developer guide. If you do not specify a value, the default is standard. public var engine: LexModelsV2ClientTypes.VoiceEngine? @@ -3700,7 +3801,15 @@ extension LexModelsV2ClientTypes { /// /// * IntentC public var nluIntentConfidenceThreshold: Swift.Double? - /// Defines settings for using an Amazon Polly voice to communicate with a user. + /// Defines settings for using an Amazon Polly voice to communicate with a user. Valid values include: + /// + /// * standard + /// + /// * neural + /// + /// * long-form + /// + /// * generative public var voiceSettings: LexModelsV2ClientTypes.VoiceSettings? public init( @@ -22768,13 +22877,36 @@ extension LexModelsV2ClientTypes.BedrockModelSpecification { static func write(value: LexModelsV2ClientTypes.BedrockModelSpecification?, to writer: SmithyJSON.Writer) throws { guard let value else { return } + try writer["customPrompt"].write(value.customPrompt) + try writer["guardrail"].write(value.guardrail, with: LexModelsV2ClientTypes.BedrockGuardrailConfiguration.write(value:to:)) try writer["modelArn"].write(value.modelArn) + try writer["traceStatus"].write(value.traceStatus) } static func read(from reader: SmithyJSON.Reader) throws -> LexModelsV2ClientTypes.BedrockModelSpecification { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } var value = LexModelsV2ClientTypes.BedrockModelSpecification() value.modelArn = try reader["modelArn"].readIfPresent() ?? "" + value.guardrail = try reader["guardrail"].readIfPresent(with: LexModelsV2ClientTypes.BedrockGuardrailConfiguration.read(from:)) + value.traceStatus = try reader["traceStatus"].readIfPresent() + value.customPrompt = try reader["customPrompt"].readIfPresent() + return value + } +} + +extension LexModelsV2ClientTypes.BedrockGuardrailConfiguration { + + static func write(value: LexModelsV2ClientTypes.BedrockGuardrailConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["identifier"].write(value.identifier) + try writer["version"].write(value.version) + } + + static func read(from reader: SmithyJSON.Reader) throws -> LexModelsV2ClientTypes.BedrockGuardrailConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = LexModelsV2ClientTypes.BedrockGuardrailConfiguration() + value.identifier = try reader["identifier"].readIfPresent() ?? "" + value.version = try reader["version"].readIfPresent() ?? "" return value } } @@ -23751,12 +23883,31 @@ extension LexModelsV2ClientTypes.BedrockKnowledgeStoreConfiguration { static func write(value: LexModelsV2ClientTypes.BedrockKnowledgeStoreConfiguration?, to writer: SmithyJSON.Writer) throws { guard let value else { return } try writer["bedrockKnowledgeBaseArn"].write(value.bedrockKnowledgeBaseArn) + try writer["exactResponse"].write(value.exactResponse) + try writer["exactResponseFields"].write(value.exactResponseFields, with: LexModelsV2ClientTypes.BedrockKnowledgeStoreExactResponseFields.write(value:to:)) } static func read(from reader: SmithyJSON.Reader) throws -> LexModelsV2ClientTypes.BedrockKnowledgeStoreConfiguration { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } var value = LexModelsV2ClientTypes.BedrockKnowledgeStoreConfiguration() value.bedrockKnowledgeBaseArn = try reader["bedrockKnowledgeBaseArn"].readIfPresent() ?? "" + value.exactResponse = try reader["exactResponse"].readIfPresent() ?? false + value.exactResponseFields = try reader["exactResponseFields"].readIfPresent(with: LexModelsV2ClientTypes.BedrockKnowledgeStoreExactResponseFields.read(from:)) + return value + } +} + +extension LexModelsV2ClientTypes.BedrockKnowledgeStoreExactResponseFields { + + static func write(value: LexModelsV2ClientTypes.BedrockKnowledgeStoreExactResponseFields?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["answerField"].write(value.answerField) + } + + static func read(from reader: SmithyJSON.Reader) throws -> LexModelsV2ClientTypes.BedrockKnowledgeStoreExactResponseFields { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = LexModelsV2ClientTypes.BedrockKnowledgeStoreExactResponseFields() + value.answerField = try reader["answerField"].readIfPresent() return value } } diff --git a/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/LexRuntimeClient.swift b/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/LexRuntimeClient.swift index c7e41c6eee2..995c5bd8b7e 100644 --- a/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/LexRuntimeClient.swift +++ b/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/LexRuntimeClient.swift @@ -32,7 +32,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension LexRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -304,9 +302,8 @@ extension LexRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -417,9 +414,8 @@ extension LexRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PostContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -530,9 +526,8 @@ extension LexRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PostTextInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -613,9 +608,8 @@ extension LexRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/LexRuntimeV2Client.swift b/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/LexRuntimeV2Client.swift index 55959012eea..26efcc11d3b 100644 --- a/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/LexRuntimeV2Client.swift +++ b/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/LexRuntimeV2Client.swift @@ -33,7 +33,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -236,9 +235,8 @@ extension LexRuntimeV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension LexRuntimeV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -381,9 +378,8 @@ extension LexRuntimeV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -468,9 +464,8 @@ extension LexRuntimeV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RecognizeTextInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -574,9 +569,8 @@ extension LexRuntimeV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RecognizeUtteranceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -664,9 +658,8 @@ extension LexRuntimeV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartConversationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/LicenseManagerClient.swift b/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/LicenseManagerClient.swift index bc5c642b656..1388b6e1795 100644 --- a/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/LicenseManagerClient.swift +++ b/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/LicenseManagerClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptGrantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -311,9 +309,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CheckInLicenseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -392,9 +389,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CheckoutBorrowLicenseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -472,9 +468,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CheckoutLicenseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -549,9 +544,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGrantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -626,9 +620,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGrantVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -703,9 +696,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLicenseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -779,9 +771,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLicenseConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -855,9 +846,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLicenseConversionTaskForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -933,9 +923,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLicenseManagerReportGeneratorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1011,9 +1000,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLicenseVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1089,9 +1077,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1166,9 +1153,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGrantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1244,9 +1230,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLicenseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1319,9 +1304,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLicenseConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1397,9 +1381,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLicenseManagerReportGeneratorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1474,9 +1457,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1551,9 +1533,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExtendLicenseConsumptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1626,9 +1607,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccessTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1703,9 +1683,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGrantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1779,9 +1758,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLicenseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1854,9 +1832,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLicenseConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1929,9 +1906,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLicenseConversionTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2007,9 +1983,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLicenseManagerReportGeneratorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2083,9 +2058,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLicenseUsageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2157,9 +2131,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2233,9 +2206,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssociationsForLicenseConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2310,9 +2282,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDistributedGrantsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2385,9 +2356,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFailuresForLicenseConfigurationOperationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2461,9 +2431,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLicenseConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2536,9 +2505,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLicenseConversionTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2614,9 +2582,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLicenseManagerReportGeneratorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2689,9 +2656,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLicenseSpecificationsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2764,9 +2730,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLicenseVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2840,9 +2805,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLicensesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2917,9 +2881,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReceivedGrantsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2994,9 +2957,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReceivedGrantsForOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3071,9 +3033,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReceivedLicensesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3148,9 +3109,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReceivedLicensesForOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3225,9 +3185,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceInventoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3300,9 +3259,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3375,9 +3333,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTokensInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3451,9 +3408,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUsageForLicenseConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3528,9 +3484,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectGrantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3603,9 +3558,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3678,9 +3632,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3754,9 +3707,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLicenseConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3832,9 +3784,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLicenseManagerReportGeneratorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3909,9 +3860,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLicenseSpecificationsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3984,9 +3934,8 @@ extension LicenseManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServiceSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift b/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift index b36051fffe5..94968c5b1b4 100644 --- a/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift +++ b/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension LicenseManagerLinuxSubscriptionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterSubscriptionProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -302,9 +300,8 @@ extension LicenseManagerLinuxSubscriptionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRegisteredSubscriptionProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -374,9 +371,8 @@ extension LicenseManagerLinuxSubscriptionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -443,9 +439,8 @@ extension LicenseManagerLinuxSubscriptionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLinuxSubscriptionInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -515,9 +510,8 @@ extension LicenseManagerLinuxSubscriptionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLinuxSubscriptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -587,9 +581,8 @@ extension LicenseManagerLinuxSubscriptionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRegisteredSubscriptionProvidersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -659,9 +652,8 @@ extension LicenseManagerLinuxSubscriptionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -728,9 +720,8 @@ extension LicenseManagerLinuxSubscriptionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterSubscriptionProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -800,9 +791,8 @@ extension LicenseManagerLinuxSubscriptionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -871,9 +861,8 @@ extension LicenseManagerLinuxSubscriptionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -941,9 +930,8 @@ extension LicenseManagerLinuxSubscriptionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServiceSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/LicenseManagerUserSubscriptionsClient.swift b/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/LicenseManagerUserSubscriptionsClient.swift index 63d1c1d2b74..0f8b98f6b8e 100644 --- a/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/LicenseManagerUserSubscriptionsClient.swift +++ b/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/LicenseManagerUserSubscriptionsClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension LicenseManagerUserSubscriptionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension LicenseManagerUserSubscriptionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterIdentityProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -383,9 +380,8 @@ extension LicenseManagerUserSubscriptionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -459,9 +455,8 @@ extension LicenseManagerUserSubscriptionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIdentityProvidersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -535,9 +530,8 @@ extension LicenseManagerUserSubscriptionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -611,9 +605,8 @@ extension LicenseManagerUserSubscriptionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProductSubscriptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -687,9 +680,8 @@ extension LicenseManagerUserSubscriptionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUserAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -763,9 +755,8 @@ extension LicenseManagerUserSubscriptionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterIdentityProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -839,9 +830,8 @@ extension LicenseManagerUserSubscriptionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartProductSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -915,9 +905,8 @@ extension LicenseManagerUserSubscriptionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopProductSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -988,9 +977,8 @@ extension LicenseManagerUserSubscriptionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIdentityProviderSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSLightsail/Sources/AWSLightsail/LightsailClient.swift b/Sources/Services/AWSLightsail/Sources/AWSLightsail/LightsailClient.swift index 0574a0b4a63..53e8e990ad4 100644 --- a/Sources/Services/AWSLightsail/Sources/AWSLightsail/LightsailClient.swift +++ b/Sources/Services/AWSLightsail/Sources/AWSLightsail/LightsailClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AllocateStaticIpInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -310,9 +308,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachCertificateToDistributionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -387,9 +384,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachDiskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -464,9 +460,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachInstancesToLoadBalancerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -541,9 +536,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachLoadBalancerTlsCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -618,9 +612,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachStaticIpInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -695,9 +688,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CloseInstancePublicPortsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -772,9 +764,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopySnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -846,9 +837,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBucketInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -921,9 +911,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBucketAccessKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -996,9 +985,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1073,9 +1061,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCloudFormationStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1149,9 +1136,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateContactMethodInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1224,9 +1210,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateContainerServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1299,9 +1284,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateContainerServiceDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1374,9 +1358,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateContainerServiceRegistryLoginInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1451,9 +1434,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDiskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1528,9 +1510,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDiskFromSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1605,9 +1586,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDiskSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1681,9 +1661,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDistributionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1758,9 +1737,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1835,9 +1813,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDomainEntryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1910,9 +1887,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGUISessionAccessDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1987,9 +1963,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInstanceSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2064,9 +2039,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2141,9 +2115,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInstancesFromSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2218,9 +2191,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateKeyPairInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2295,9 +2267,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLoadBalancerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2372,9 +2343,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLoadBalancerTlsCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2449,9 +2419,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRelationalDatabaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2526,9 +2495,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRelationalDatabaseFromSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2603,9 +2571,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRelationalDatabaseSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2679,9 +2646,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAlarmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2755,9 +2721,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAutoSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2830,9 +2795,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBucketInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2905,9 +2869,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBucketAccessKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2980,9 +2943,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3056,9 +3018,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteContactMethodInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3131,9 +3092,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteContainerImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3206,9 +3166,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteContainerServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3283,9 +3242,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDiskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3360,9 +3318,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDiskSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3436,9 +3393,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDistributionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3513,9 +3469,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3590,9 +3545,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDomainEntryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3667,9 +3621,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3744,9 +3697,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInstanceSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3821,9 +3773,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteKeyPairInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3898,9 +3849,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteKnownHostKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3975,9 +3925,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLoadBalancerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4052,9 +4001,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLoadBalancerTlsCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4129,9 +4077,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRelationalDatabaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4206,9 +4153,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRelationalDatabaseSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4282,9 +4228,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachCertificateFromDistributionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4359,9 +4304,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachDiskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4436,9 +4380,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachInstancesFromLoadBalancerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4513,9 +4456,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachStaticIpInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4589,9 +4531,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableAddOnInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4666,9 +4607,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DownloadDefaultKeyPairInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4742,9 +4682,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableAddOnInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4819,9 +4758,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4896,9 +4834,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetActiveNamesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4972,9 +4909,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAlarmsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5048,9 +4984,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAutoSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5125,9 +5060,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBlueprintsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5200,9 +5134,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketAccessKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5274,9 +5207,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketBundlesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5349,9 +5281,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketMetricDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5424,9 +5355,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5501,9 +5431,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBundlesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5576,9 +5505,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCertificatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5653,9 +5581,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCloudFormationStackRecordsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5729,9 +5656,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContactMethodsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5802,9 +5728,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContainerAPIMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5877,9 +5802,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContainerImagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5952,9 +5876,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContainerLogInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6028,9 +5951,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContainerServiceDeploymentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6103,9 +6025,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContainerServiceMetricDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6179,9 +6100,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContainerServicePowersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6254,9 +6174,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContainerServicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6330,9 +6249,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCostEstimateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6407,9 +6325,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDiskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6484,9 +6401,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDiskSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6561,9 +6477,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDiskSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6638,9 +6553,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDisksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6714,9 +6628,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDistributionBundlesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6790,9 +6703,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDistributionLatestCacheResetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6866,9 +6778,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDistributionMetricDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6942,9 +6853,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDistributionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7019,9 +6929,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7096,9 +7005,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDomainsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7173,9 +7081,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetExportSnapshotRecordsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7250,9 +7157,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7327,9 +7233,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInstanceAccessDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7404,9 +7309,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInstanceMetricDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7481,9 +7385,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInstancePortStatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7558,9 +7461,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInstanceSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7635,9 +7537,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInstanceSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7712,9 +7613,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInstanceStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7789,9 +7689,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7866,9 +7765,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetKeyPairInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7943,9 +7841,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetKeyPairsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8020,9 +7917,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLoadBalancerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8097,9 +7993,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLoadBalancerMetricDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8174,9 +8069,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLoadBalancerTlsCertificatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8249,9 +8143,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLoadBalancerTlsPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8326,9 +8219,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLoadBalancersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8403,9 +8295,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOperationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8480,9 +8371,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOperationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8557,9 +8447,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOperationsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8634,9 +8523,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRegionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8711,9 +8599,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRelationalDatabaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8788,9 +8675,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRelationalDatabaseBlueprintsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8865,9 +8751,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRelationalDatabaseBundlesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8942,9 +8827,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRelationalDatabaseEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9019,9 +8903,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRelationalDatabaseLogEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9096,9 +8979,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRelationalDatabaseLogStreamsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9173,9 +9055,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRelationalDatabaseMasterUserPasswordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9250,9 +9131,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRelationalDatabaseMetricDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9327,9 +9207,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRelationalDatabaseParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9404,9 +9283,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRelationalDatabaseSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9481,9 +9359,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRelationalDatabaseSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9558,9 +9435,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRelationalDatabasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9633,9 +9509,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSetupHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9710,9 +9585,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStaticIpInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9787,9 +9661,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStaticIpsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9864,9 +9737,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportKeyPairInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9941,9 +9813,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(IsVpcPeeredInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10018,9 +9889,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(OpenInstancePublicPortsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10095,9 +9965,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PeerVpcInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10171,9 +10040,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAlarmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10248,9 +10116,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutInstancePublicPortsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10325,9 +10192,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RebootInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10402,9 +10268,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RebootRelationalDatabaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10477,9 +10342,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterContainerImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10554,9 +10418,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReleaseStaticIpInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10630,9 +10493,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetDistributionCacheInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10706,9 +10568,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendContactMethodVerificationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10783,9 +10644,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetIpAddressTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10858,9 +10718,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetResourceAccessForBucketInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10933,9 +10792,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetupInstanceHttpsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11008,9 +10866,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartGUISessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11085,9 +10942,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11162,9 +11018,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartRelationalDatabaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11237,9 +11092,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopGUISessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11314,9 +11168,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11391,9 +11244,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopRelationalDatabaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11468,9 +11320,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11544,9 +11395,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestAlarmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11621,9 +11471,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UnpeerVpcInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11698,9 +11547,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11773,9 +11621,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBucketInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11848,9 +11695,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBucketBundleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11923,9 +11769,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContainerServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11999,9 +11844,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDistributionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12075,9 +11919,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDistributionBundleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12152,9 +11995,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDomainEntryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12229,9 +12071,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateInstanceMetadataOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12306,9 +12147,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLoadBalancerAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12383,9 +12223,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRelationalDatabaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12460,9 +12299,8 @@ extension LightsailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRelationalDatabaseParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSLocation/Sources/AWSLocation/LocationClient.swift b/Sources/Services/AWSLocation/Sources/AWSLocation/LocationClient.swift index ce061525b6d..dfdf28c182d 100644 --- a/Sources/Services/AWSLocation/Sources/AWSLocation/LocationClient.swift +++ b/Sources/Services/AWSLocation/Sources/AWSLocation/LocationClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateTrackerConsumerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.tracking.")) @@ -307,9 +305,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteDevicePositionHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "tracking.")) @@ -381,9 +378,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteGeofenceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "geofencing.")) @@ -462,9 +458,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchEvaluateGeofencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "geofencing.")) @@ -536,9 +531,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetDevicePositionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "tracking.")) @@ -610,9 +604,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchPutGeofenceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "geofencing.")) @@ -684,9 +677,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchUpdateDevicePositionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "tracking.")) @@ -762,9 +754,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CalculateRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "routes.")) @@ -841,9 +832,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CalculateRouteMatrixInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "routes.")) @@ -917,9 +907,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGeofenceCollectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.geofencing.")) @@ -992,9 +981,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.metadata.")) @@ -1067,9 +1055,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMapInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.maps.")) @@ -1142,9 +1129,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePlaceIndexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.places.")) @@ -1217,9 +1203,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRouteCalculatorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.routes.")) @@ -1292,9 +1277,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTrackerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.tracking.")) @@ -1366,9 +1350,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGeofenceCollectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.geofencing.")) @@ -1437,9 +1420,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.metadata.")) @@ -1509,9 +1491,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMapInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.maps.")) @@ -1580,9 +1561,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePlaceIndexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.places.")) @@ -1651,9 +1631,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRouteCalculatorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.routes.")) @@ -1722,9 +1701,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTrackerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.tracking.")) @@ -1793,9 +1771,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGeofenceCollectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.geofencing.")) @@ -1864,9 +1841,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.metadata.")) @@ -1935,9 +1911,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMapInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.maps.")) @@ -2006,9 +1981,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePlaceIndexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.places.")) @@ -2077,9 +2051,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRouteCalculatorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.routes.")) @@ -2148,9 +2121,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTrackerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.tracking.")) @@ -2219,9 +2191,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateTrackerConsumerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.tracking.")) @@ -2290,9 +2261,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ForecastGeofenceEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "geofencing.")) @@ -2364,9 +2334,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDevicePositionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "tracking.")) @@ -2435,9 +2404,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDevicePositionHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "tracking.")) @@ -2509,9 +2477,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGeofenceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "geofencing.")) @@ -2580,9 +2547,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMapGlyphsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "maps.")) @@ -2652,9 +2618,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMapSpritesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "maps.")) @@ -2724,9 +2689,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMapStyleDescriptorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "maps.")) @@ -2796,9 +2760,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMapTileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "maps.")) @@ -2874,9 +2837,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPlaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "places.")) @@ -2945,9 +2907,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDevicePositionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "tracking.")) @@ -3018,9 +2979,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGeofenceCollectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.geofencing.")) @@ -3092,9 +3052,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGeofencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "geofencing.")) @@ -3165,9 +3124,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.metadata.")) @@ -3238,9 +3196,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMapsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.maps.")) @@ -3311,9 +3268,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPlaceIndexesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.places.")) @@ -3384,9 +3340,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRouteCalculatorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.routes.")) @@ -3458,9 +3413,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.metadata.")) @@ -3529,9 +3483,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTrackerConsumersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.tracking.")) @@ -3602,9 +3555,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTrackersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.tracking.")) @@ -3677,9 +3629,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutGeofenceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "geofencing.")) @@ -3751,9 +3702,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchPlaceIndexForPositionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "places.")) @@ -3826,9 +3776,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchPlaceIndexForSuggestionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "places.")) @@ -3901,9 +3850,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchPlaceIndexForTextInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "places.")) @@ -3976,9 +3924,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.metadata.")) @@ -4050,9 +3997,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.metadata.")) @@ -4122,9 +4068,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGeofenceCollectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.geofencing.")) @@ -4196,9 +4141,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.metadata.")) @@ -4270,9 +4214,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMapInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.maps.")) @@ -4344,9 +4287,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePlaceIndexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.places.")) @@ -4418,9 +4360,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRouteCalculatorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.routes.")) @@ -4492,9 +4433,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTrackerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "cp.tracking.")) @@ -4566,9 +4506,8 @@ extension LocationClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(VerifyDevicePositionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "tracking.")) diff --git a/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/LookoutEquipmentClient.swift b/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/LookoutEquipmentClient.swift index 28febfccee9..71646a225cf 100644 --- a/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/LookoutEquipmentClient.swift +++ b/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/LookoutEquipmentClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDatasetInput.urlPathProvider(_:))) @@ -311,9 +309,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInferenceSchedulerInput.urlPathProvider(_:))) @@ -389,9 +386,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLabelInput.urlPathProvider(_:))) @@ -466,9 +462,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLabelGroupInput.urlPathProvider(_:))) @@ -544,9 +539,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateModelInput.urlPathProvider(_:))) @@ -621,9 +615,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRetrainingSchedulerInput.urlPathProvider(_:))) @@ -698,9 +691,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -774,9 +766,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInferenceSchedulerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -850,9 +841,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLabelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -926,9 +916,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLabelGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1002,9 +991,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1078,9 +1066,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1154,9 +1141,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRetrainingSchedulerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1229,9 +1215,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDataIngestionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1304,9 +1289,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1379,9 +1363,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInferenceSchedulerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1454,9 +1437,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLabelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1529,9 +1511,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLabelGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1604,9 +1585,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1679,9 +1659,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeModelVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1754,9 +1733,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1829,9 +1807,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRetrainingSchedulerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1906,9 +1883,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportDatasetInput.urlPathProvider(_:))) @@ -1984,9 +1960,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportModelVersionInput.urlPathProvider(_:))) @@ -2059,9 +2034,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataIngestionJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2133,9 +2107,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatasetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2208,9 +2181,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInferenceEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2283,9 +2255,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInferenceExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2357,9 +2328,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInferenceSchedulersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2431,9 +2401,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLabelGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2505,9 +2474,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLabelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2580,9 +2548,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListModelVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2654,9 +2621,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListModelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2728,9 +2694,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRetrainingSchedulersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2803,9 +2768,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSensorStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2878,9 +2842,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2955,9 +2918,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) @@ -3033,9 +2995,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDataIngestionJobInput.urlPathProvider(_:))) @@ -3110,9 +3071,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartInferenceSchedulerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3186,9 +3146,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartRetrainingSchedulerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3262,9 +3221,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopInferenceSchedulerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3338,9 +3296,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopRetrainingSchedulerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3414,9 +3371,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3489,9 +3445,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3565,9 +3520,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateActiveModelVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3641,9 +3595,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateInferenceSchedulerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3717,9 +3670,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLabelGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3793,9 +3745,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3869,9 +3820,8 @@ extension LookoutEquipmentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRetrainingSchedulerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/LookoutMetricsClient.swift b/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/LookoutMetricsClient.swift index d490be8dc62..0d9b4cdbb1a 100644 --- a/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/LookoutMetricsClient.swift +++ b/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/LookoutMetricsClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ActivateAnomalyDetectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BackTestAnomalyDetectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -382,9 +379,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAlertInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -457,9 +453,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAnomalyDetectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -533,9 +528,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMetricSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -608,9 +602,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeactivateAnomalyDetectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -682,9 +675,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAlertInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -757,9 +749,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAnomalyDetectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -831,9 +822,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAlertInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -905,9 +895,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAnomalyDetectionExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -979,9 +968,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAnomalyDetectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1053,9 +1041,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMetricSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1127,9 +1114,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectMetricSetConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1201,9 +1187,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAnomalyGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1275,9 +1260,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataQualityMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1349,9 +1333,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFeedbackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1423,9 +1406,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSampleDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1497,9 +1479,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAlertsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1571,9 +1552,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAnomalyDetectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1645,9 +1625,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAnomalyGroupRelatedMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1719,9 +1698,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAnomalyGroupSummariesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1793,9 +1771,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAnomalyGroupTimeSeriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1867,9 +1844,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMetricSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1939,9 +1915,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2010,9 +1985,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutFeedbackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2082,9 +2056,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2154,9 +2127,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2226,9 +2198,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAlertInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2300,9 +2271,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAnomalyDetectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2375,9 +2345,8 @@ extension LookoutMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMetricSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/LookoutVisionClient.swift b/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/LookoutVisionClient.swift index d9eb21a51fc..04fc23626a6 100644 --- a/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/LookoutVisionClient.swift +++ b/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/LookoutVisionClient.swift @@ -33,7 +33,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -238,9 +237,8 @@ extension LookoutVisionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDatasetInput.urlPathProvider(_:))) @@ -316,9 +314,8 @@ extension LookoutVisionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateModelInput.urlPathProvider(_:))) @@ -394,9 +391,8 @@ extension LookoutVisionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProjectInput.urlPathProvider(_:))) @@ -478,9 +474,8 @@ extension LookoutVisionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDatasetInput.urlPathProvider(_:))) @@ -552,9 +547,8 @@ extension LookoutVisionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteModelInput.urlPathProvider(_:))) @@ -626,9 +620,8 @@ extension LookoutVisionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProjectInput.urlPathProvider(_:))) @@ -700,9 +693,8 @@ extension LookoutVisionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -772,9 +764,8 @@ extension LookoutVisionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -843,9 +834,8 @@ extension LookoutVisionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeModelPackagingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -915,9 +905,8 @@ extension LookoutVisionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -987,9 +976,8 @@ extension LookoutVisionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectAnomaliesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1063,9 +1051,8 @@ extension LookoutVisionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatasetEntriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1135,9 +1122,8 @@ extension LookoutVisionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListModelPackagingJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1208,9 +1194,8 @@ extension LookoutVisionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListModelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1281,9 +1266,8 @@ extension LookoutVisionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1354,9 +1338,8 @@ extension LookoutVisionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1427,9 +1410,8 @@ extension LookoutVisionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartModelInput.urlPathProvider(_:))) @@ -1522,9 +1504,8 @@ extension LookoutVisionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartModelPackagingJobInput.urlPathProvider(_:))) @@ -1599,9 +1580,8 @@ extension LookoutVisionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopModelInput.urlPathProvider(_:))) @@ -1674,9 +1654,8 @@ extension LookoutVisionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1749,9 +1728,8 @@ extension LookoutVisionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1822,9 +1800,8 @@ extension LookoutVisionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDatasetEntriesInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSM2/Sources/AWSM2/M2Client.swift b/Sources/Services/AWSM2/Sources/AWSM2/M2Client.swift index 939e0dba173..a7e9d0ccf90 100644 --- a/Sources/Services/AWSM2/Sources/AWSM2/M2Client.swift +++ b/Sources/Services/AWSM2/Sources/AWSM2/M2Client.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelBatchJobExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationInput.urlPathProvider(_:))) @@ -382,9 +379,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataSetImportTaskInput.urlPathProvider(_:))) @@ -459,9 +455,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDeploymentInput.urlPathProvider(_:))) @@ -535,9 +530,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEnvironmentInput.urlPathProvider(_:))) @@ -610,9 +604,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -682,9 +675,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationFromEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -753,9 +745,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -824,9 +815,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -895,9 +885,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApplicationVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -966,9 +955,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBatchJobExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1040,9 +1028,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataSetDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1111,9 +1098,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataSetImportTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1182,9 +1168,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1253,9 +1238,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1322,9 +1306,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSignedBluinsightsUrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1393,9 +1376,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1464,9 +1446,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1536,9 +1517,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBatchJobDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1608,9 +1588,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBatchJobExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1681,9 +1660,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBatchJobRestartPointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1752,9 +1730,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataSetImportHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1827,9 +1804,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1899,9 +1875,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeploymentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1970,9 +1945,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEngineVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2041,9 +2015,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnvironmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2113,9 +2086,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2185,9 +2157,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2257,9 +2228,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartBatchJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2332,9 +2302,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2407,9 +2376,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2481,9 +2449,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2554,9 +2521,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2630,9 +2596,8 @@ extension M2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMTurk/Sources/AWSMTurk/MTurkClient.swift b/Sources/Services/AWSMTurk/Sources/AWSMTurk/MTurkClient.swift index 695fbdfdb36..6025fcb1738 100644 --- a/Sources/Services/AWSMTurk/Sources/AWSMTurk/MTurkClient.swift +++ b/Sources/Services/AWSMTurk/Sources/AWSMTurk/MTurkClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptQualificationRequestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ApproveAssignmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -379,9 +376,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateQualificationWithWorkerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -455,9 +451,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAdditionalAssignmentsForHITInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -527,9 +522,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateHITInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -599,9 +593,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateHITTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -671,9 +664,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateHITWithHITTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -743,9 +735,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateQualificationTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -815,9 +806,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkerBlockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -895,9 +885,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteHITInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -967,9 +956,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteQualificationTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1039,9 +1027,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkerBlockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1111,9 +1098,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateQualificationFromWorkerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1183,9 +1169,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountBalanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1255,9 +1240,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssignmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1330,9 +1314,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFileUploadURLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1402,9 +1385,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetHITInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1474,9 +1456,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQualificationScoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1546,9 +1527,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQualificationTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1618,9 +1598,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssignmentsForHITInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1690,9 +1669,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBonusPaymentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1762,9 +1740,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHITsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1834,9 +1811,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHITsForQualificationTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1906,9 +1882,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQualificationRequestsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1978,9 +1953,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQualificationTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2050,9 +2024,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReviewPolicyResultsForHITInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2122,9 +2095,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReviewableHITsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2194,9 +2166,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkerBlocksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2266,9 +2237,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkersWithQualificationTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2338,9 +2308,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(NotifyWorkersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2410,9 +2379,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectAssignmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2482,9 +2450,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectQualificationRequestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2554,9 +2521,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendBonusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2626,9 +2592,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendTestEventNotificationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2698,9 +2663,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateExpirationForHITInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2770,9 +2734,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateHITReviewStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2842,9 +2805,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateHITTypeOfHITInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2914,9 +2876,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNotificationSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2986,9 +2947,8 @@ extension MTurkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateQualificationTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMWAA/Sources/AWSMWAA/MWAAClient.swift b/Sources/Services/AWSMWAA/Sources/AWSMWAA/MWAAClient.swift index 6dfe9a997bb..347e24c7009 100644 --- a/Sources/Services/AWSMWAA/Sources/AWSMWAA/MWAAClient.swift +++ b/Sources/Services/AWSMWAA/Sources/AWSMWAA/MWAAClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -226,9 +225,8 @@ extension MWAAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCliTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "env.")) @@ -294,9 +292,8 @@ extension MWAAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -367,9 +364,8 @@ extension MWAAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWebLoginTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "env.")) @@ -436,9 +432,8 @@ extension MWAAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -505,9 +500,8 @@ extension MWAAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -573,9 +567,8 @@ extension MWAAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnvironmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -643,9 +636,8 @@ extension MWAAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -712,9 +704,8 @@ extension MWAAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PublishMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "ops.")) @@ -784,9 +775,8 @@ extension MWAAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -856,9 +846,8 @@ extension MWAAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -926,9 +915,8 @@ extension MWAAClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) diff --git a/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/MachineLearningClient.swift b/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/MachineLearningClient.swift index 89e3944065f..e39b8b8284f 100644 --- a/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/MachineLearningClient.swift +++ b/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/MachineLearningClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -304,9 +302,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBatchPredictionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -377,9 +374,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataSourceFromRDSInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -450,9 +446,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataSourceFromRedshiftInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -523,9 +518,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataSourceFromS3Input.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -596,9 +590,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEvaluationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -669,9 +662,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMLModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -742,9 +734,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRealtimeEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -818,9 +809,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBatchPredictionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -891,9 +881,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -964,9 +953,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEvaluationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1037,9 +1025,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMLModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1110,9 +1097,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRealtimeEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1184,9 +1170,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1256,9 +1241,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBatchPredictionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1328,9 +1312,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDataSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1400,9 +1383,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEvaluationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1472,9 +1454,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMLModelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1545,9 +1526,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1618,9 +1598,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBatchPredictionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1691,9 +1670,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1764,9 +1742,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEvaluationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1837,9 +1814,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMLModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1912,9 +1888,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PredictInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) @@ -1985,9 +1960,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBatchPredictionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2058,9 +2032,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2131,9 +2104,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEvaluationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2204,9 +2176,8 @@ extension MachineLearningClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMLModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMacie2/Sources/AWSMacie2/Macie2Client.swift b/Sources/Services/AWSMacie2/Sources/AWSMacie2/Macie2Client.swift index 38cbed6f3ac..be765f4253c 100644 --- a/Sources/Services/AWSMacie2/Sources/AWSMacie2/Macie2Client.swift +++ b/Sources/Services/AWSMacie2/Sources/AWSMacie2/Macie2Client.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptInvitationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -310,9 +308,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetCustomDataIdentifiersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -384,9 +381,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchUpdateAutomatedDiscoveryAccountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -460,9 +456,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAllowListInput.urlPathProvider(_:))) @@ -537,9 +532,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClassificationJobInput.urlPathProvider(_:))) @@ -614,9 +608,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCustomDataIdentifierInput.urlPathProvider(_:))) @@ -691,9 +684,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFindingsFilterInput.urlPathProvider(_:))) @@ -768,9 +760,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInvitationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -844,9 +835,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMemberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -920,9 +910,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSampleFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -996,9 +985,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeclineInvitationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1070,9 +1058,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAllowListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1144,9 +1131,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCustomDataIdentifierInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1217,9 +1203,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFindingsFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1290,9 +1275,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInvitationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1366,9 +1350,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMemberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1439,9 +1422,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBucketsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1515,9 +1497,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClassificationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1588,9 +1569,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOrganizationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1661,9 +1641,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableMacieInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1734,9 +1713,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableOrganizationAdminAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1808,9 +1786,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateFromAdministratorAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1881,9 +1858,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateFromMasterAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1954,9 +1930,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateMemberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2027,9 +2002,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableMacieInput.urlPathProvider(_:))) @@ -2104,9 +2078,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableOrganizationAdminAccountInput.urlPathProvider(_:))) @@ -2181,9 +2154,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAdministratorAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2252,9 +2224,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAllowListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2322,9 +2293,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAutomatedDiscoveryConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2395,9 +2365,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2471,9 +2440,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetClassificationExportConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2542,9 +2510,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetClassificationScopeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2615,9 +2582,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCustomDataIdentifierInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2688,9 +2654,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFindingStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2764,9 +2729,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2840,9 +2804,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFindingsFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2913,9 +2876,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFindingsPublicationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2986,9 +2948,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInvitationsCountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3059,9 +3020,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMacieSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3132,9 +3092,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMasterAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3205,9 +3164,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMemberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3277,9 +3235,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3348,9 +3305,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRevealConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3420,9 +3376,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSensitiveDataOccurrencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3490,9 +3445,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSensitiveDataOccurrencesAvailabilityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3561,9 +3515,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSensitivityInspectionTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3634,9 +3587,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUsageStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3710,9 +3662,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUsageTotalsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3781,9 +3732,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAllowListsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3853,9 +3803,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAutomatedDiscoveryAccountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3927,9 +3876,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListClassificationJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4000,9 +3948,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListClassificationScopesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4074,9 +4021,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCustomDataIdentifiersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4150,9 +4096,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4226,9 +4171,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFindingsFiltersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4300,9 +4244,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInvitationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4363,9 +4306,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListManagedDataIdentifiersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4439,9 +4381,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4513,9 +4454,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOrganizationAdminAccountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4585,9 +4525,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceProfileArtifactsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4658,9 +4597,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceProfileDetectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4730,9 +4668,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSensitivityInspectionTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4793,9 +4730,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4866,9 +4802,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutClassificationExportConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4942,9 +4877,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutFindingsPublicationConfigurationInput.urlPathProvider(_:))) @@ -5019,9 +4953,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5084,9 +5017,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5160,9 +5092,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestCustomDataIdentifierInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5225,9 +5156,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5297,9 +5227,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAllowListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5370,9 +5299,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAutomatedDiscoveryConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5446,9 +5374,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateClassificationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5520,9 +5447,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateClassificationScopeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5596,9 +5522,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFindingsFilterInput.urlPathProvider(_:))) @@ -5673,9 +5598,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMacieSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5749,9 +5673,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMemberSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5825,9 +5748,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateOrganizationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5900,9 +5822,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResourceProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5976,9 +5897,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResourceProfileDetectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6050,9 +5970,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRevealConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6124,9 +6043,8 @@ extension Macie2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSensitivityInspectionTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMailManager/Sources/AWSMailManager/MailManagerClient.swift b/Sources/Services/AWSMailManager/Sources/AWSMailManager/MailManagerClient.swift index 63285d6edfb..c194ffe8012 100644 --- a/Sources/Services/AWSMailManager/Sources/AWSMailManager/MailManagerClient.swift +++ b/Sources/Services/AWSMailManager/Sources/AWSMailManager/MailManagerClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAddonInstanceInput.urlPathProvider(_:))) @@ -305,9 +303,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAddonSubscriptionInput.urlPathProvider(_:))) @@ -381,9 +378,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateArchiveInput.urlPathProvider(_:))) @@ -455,9 +451,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIngressPointInput.urlPathProvider(_:))) @@ -529,9 +524,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRelayInput.urlPathProvider(_:))) @@ -603,9 +597,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRuleSetInput.urlPathProvider(_:))) @@ -677,9 +670,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTrafficPolicyInput.urlPathProvider(_:))) @@ -750,9 +742,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAddonInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -822,9 +813,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAddonSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -896,9 +886,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteArchiveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -969,9 +958,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIngressPointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1042,9 +1030,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRelayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1114,9 +1101,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRuleSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1187,9 +1173,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTrafficPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1259,9 +1244,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAddonInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1331,9 +1315,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAddonSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1405,9 +1388,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetArchiveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1478,9 +1460,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetArchiveExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1551,9 +1532,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetArchiveMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1624,9 +1604,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetArchiveMessageContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1697,9 +1676,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetArchiveSearchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1771,9 +1749,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetArchiveSearchResultsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1843,9 +1820,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIngressPointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1915,9 +1891,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRelayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1987,9 +1962,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRuleSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2059,9 +2033,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTrafficPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2130,9 +2103,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAddonInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2201,9 +2173,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAddonSubscriptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2275,9 +2246,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListArchiveExportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2349,9 +2319,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListArchiveSearchesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2422,9 +2391,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListArchivesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2493,9 +2461,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIngressPointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2564,9 +2531,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRelaysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2635,9 +2601,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRuleSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2707,9 +2672,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2778,9 +2742,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTrafficPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2853,9 +2816,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartArchiveExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2929,9 +2891,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartArchiveSearchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3002,9 +2963,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopArchiveExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3075,9 +3035,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopArchiveSearchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3149,9 +3108,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3222,9 +3180,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3298,9 +3255,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateArchiveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3371,9 +3327,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIngressPointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3444,9 +3399,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRelayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3517,9 +3471,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRuleSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3590,9 +3543,8 @@ extension MailManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTrafficPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/ManagedBlockchainClient.swift b/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/ManagedBlockchainClient.swift index f53fb066e8b..fd422611081 100644 --- a/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/ManagedBlockchainClient.swift +++ b/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/ManagedBlockchainClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccessorInput.urlPathProvider(_:))) @@ -312,9 +310,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMemberInput.urlPathProvider(_:))) @@ -389,9 +386,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNetworkInput.urlPathProvider(_:))) @@ -468,9 +464,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNodeInput.urlPathProvider(_:))) @@ -545,9 +540,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProposalInput.urlPathProvider(_:))) @@ -620,9 +614,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccessorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -692,9 +685,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMemberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -764,9 +756,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -836,9 +827,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccessorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -907,9 +897,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMemberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -978,9 +967,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetNetworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1049,9 +1037,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetNodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1121,9 +1108,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProposalInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1191,9 +1177,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccessorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1264,9 +1249,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInvitationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1335,9 +1319,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1406,9 +1389,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNetworksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1477,9 +1459,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNodesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1548,9 +1529,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProposalVotesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1620,9 +1600,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProposalsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1691,9 +1670,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1763,9 +1741,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectInvitationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1834,9 +1811,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1907,9 +1883,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1979,9 +1954,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMemberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2053,9 +2027,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2128,9 +2101,8 @@ extension ManagedBlockchainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(VoteOnProposalInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/ManagedBlockchainQueryClient.swift b/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/ManagedBlockchainQueryClient.swift index a9683c87102..4d8f5904a8c 100644 --- a/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/ManagedBlockchainQueryClient.swift +++ b/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/ManagedBlockchainQueryClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension ManagedBlockchainQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetTokenBalanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -309,9 +307,8 @@ extension ManagedBlockchainQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssetContractInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -384,9 +381,8 @@ extension ManagedBlockchainQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTokenBalanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -459,9 +455,8 @@ extension ManagedBlockchainQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTransactionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -533,9 +528,8 @@ extension ManagedBlockchainQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssetContractsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -607,9 +601,8 @@ extension ManagedBlockchainQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFilteredTransactionEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -690,9 +683,8 @@ extension ManagedBlockchainQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTokenBalancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -764,9 +756,8 @@ extension ManagedBlockchainQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTransactionEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -838,9 +829,8 @@ extension ManagedBlockchainQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTransactionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/MarketplaceAgreementClient.swift b/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/MarketplaceAgreementClient.swift index f2f25be1bf5..e266090ce73 100644 --- a/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/MarketplaceAgreementClient.swift +++ b/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/MarketplaceAgreementClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension MarketplaceAgreementClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAgreementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -317,9 +315,8 @@ extension MarketplaceAgreementClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAgreementTermsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -419,9 +416,8 @@ extension MarketplaceAgreementClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchAgreementsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/MarketplaceCatalogClient.swift b/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/MarketplaceCatalogClient.swift index 77b3de7cdc6..7a3abbfae43 100644 --- a/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/MarketplaceCatalogClient.swift +++ b/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/MarketplaceCatalogClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension MarketplaceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDescribeEntitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension MarketplaceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelChangeSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -378,9 +375,8 @@ extension MarketplaceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -450,9 +446,8 @@ extension MarketplaceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChangeSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -523,9 +518,8 @@ extension MarketplaceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEntityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -595,9 +589,8 @@ extension MarketplaceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -666,9 +659,8 @@ extension MarketplaceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChangeSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -740,9 +732,8 @@ extension MarketplaceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEntitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -814,9 +805,8 @@ extension MarketplaceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -888,9 +878,8 @@ extension MarketplaceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -964,9 +953,8 @@ extension MarketplaceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartChangeSetInput.urlPathProvider(_:))) @@ -1039,9 +1027,8 @@ extension MarketplaceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1113,9 +1100,8 @@ extension MarketplaceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.swift b/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.swift index 569c03bcb13..c48a708ce92 100644 --- a/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.swift +++ b/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -227,9 +226,8 @@ extension MarketplaceCommerceAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateDataSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -299,9 +297,8 @@ extension MarketplaceCommerceAnalyticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSupportDataExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/MarketplaceDeploymentClient.swift b/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/MarketplaceDeploymentClient.swift index 4d00f98d60c..6ff133349cd 100644 --- a/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/MarketplaceDeploymentClient.swift +++ b/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/MarketplaceDeploymentClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension MarketplaceDeploymentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension MarketplaceDeploymentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDeploymentParameterInput.urlPathProvider(_:))) @@ -381,9 +378,8 @@ extension MarketplaceDeploymentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -456,9 +452,8 @@ extension MarketplaceDeploymentClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/MarketplaceEntitlementClient.swift b/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/MarketplaceEntitlementClient.swift index cec9b699405..e7267506d5c 100644 --- a/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/MarketplaceEntitlementClient.swift +++ b/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/MarketplaceEntitlementClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension MarketplaceEntitlementClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEntitlementsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/MarketplaceMeteringClient.swift b/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/MarketplaceMeteringClient.swift index 208eadd3606..6f8f8a04577 100644 --- a/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/MarketplaceMeteringClient.swift +++ b/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/MarketplaceMeteringClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -235,9 +234,8 @@ extension MarketplaceMeteringClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchMeterUsageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -315,9 +313,8 @@ extension MarketplaceMeteringClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(MeterUsageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -397,9 +394,8 @@ extension MarketplaceMeteringClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterUsageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -472,9 +468,8 @@ extension MarketplaceMeteringClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResolveCustomerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/MediaConnectClient.swift b/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/MediaConnectClient.swift index 21fe7c6172b..a35b33de46f 100644 --- a/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/MediaConnectClient.swift +++ b/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/MediaConnectClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddBridgeOutputsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -309,9 +307,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddBridgeSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -384,9 +381,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddFlowMediaStreamsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -460,9 +456,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddFlowOutputsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -535,9 +530,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddFlowSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -610,9 +604,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddFlowVpcInterfacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -686,9 +679,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBridgeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -761,9 +753,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -837,9 +828,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -913,9 +903,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBridgeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -985,9 +974,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1058,9 +1046,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1131,9 +1118,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterGatewayInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1205,9 +1191,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBridgeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1277,9 +1262,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1349,9 +1333,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFlowSourceMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1421,9 +1404,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFlowSourceThumbnailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1494,9 +1476,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1567,9 +1548,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGatewayInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1638,9 +1618,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOfferingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1709,9 +1688,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReservationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1782,9 +1760,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GrantFlowEntitlementsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1856,9 +1833,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBridgesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1927,9 +1903,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEntitlementsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1998,9 +1973,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFlowsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2070,9 +2044,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGatewayInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2142,9 +2115,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGatewaysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2213,9 +2185,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOfferingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2284,9 +2255,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReservationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2354,9 +2324,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2426,9 +2395,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PurchaseOfferingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2502,9 +2470,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveBridgeOutputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2575,9 +2542,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveBridgeSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2647,9 +2613,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveFlowMediaStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2719,9 +2684,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveFlowOutputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2791,9 +2755,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveFlowSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2863,9 +2826,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveFlowVpcInterfaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2935,9 +2897,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RevokeFlowEntitlementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3007,9 +2968,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3079,9 +3039,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3148,9 +3107,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3220,9 +3178,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3294,9 +3251,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBridgeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3370,9 +3326,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBridgeOutputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3446,9 +3401,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBridgeSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3522,9 +3476,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBridgeStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3597,9 +3550,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFlowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3672,9 +3624,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFlowEntitlementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3747,9 +3698,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFlowMediaStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3822,9 +3772,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFlowOutputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3897,9 +3846,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFlowSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3973,9 +3921,8 @@ extension MediaConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGatewayInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift b/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift index dd90602f85a..a48edc74029 100644 --- a/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift +++ b/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -379,9 +376,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateJobInput.urlPathProvider(_:))) @@ -455,9 +451,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateJobTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -530,9 +525,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePresetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -605,9 +599,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -680,9 +673,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteJobTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -752,9 +744,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -824,9 +815,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePresetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -896,9 +886,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -969,9 +958,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1044,9 +1032,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1116,9 +1103,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1188,9 +1174,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJobTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1260,9 +1245,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1332,9 +1316,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPresetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1404,9 +1387,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1476,9 +1458,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1549,9 +1530,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1622,9 +1602,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPresetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1695,9 +1674,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQueuesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1768,9 +1746,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1840,9 +1817,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1915,9 +1891,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1988,9 +1963,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2063,9 +2037,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2138,9 +2111,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateJobTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2213,9 +2185,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePresetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2288,9 +2259,8 @@ extension MediaConvertClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/MediaLiveClient.swift b/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/MediaLiveClient.swift index 1df53e7c645..b39474ba643 100644 --- a/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/MediaLiveClient.swift +++ b/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/MediaLiveClient.swift @@ -32,7 +32,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -238,9 +237,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptInputDeviceTransferInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -312,9 +310,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -389,9 +386,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchStartInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -466,9 +462,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchStopInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -543,9 +538,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchUpdateScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -621,9 +615,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelInputDeviceTransferInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -695,9 +688,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ClaimDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -772,9 +764,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.requestId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChannelInput.urlPathProvider(_:))) @@ -808,6 +799,82 @@ extension MediaLiveClient { return try await op.execute(input: input) } + /// Performs the `CreateChannelPlacementGroup` operation on the `MediaLive` service. + /// + /// Create a ChannelPlacementGroup in the specified Cluster. As part of the create operation, you specify the Nodes to attach the group to.After you create a ChannelPlacementGroup, you add Channels to the group (you do this by modifying the Channels to add them to a specific group). You now have an association of Channels to ChannelPlacementGroup, and ChannelPlacementGroup to Nodes. This association means that all the Channels in the group are able to run on any of the Nodes associated with the group. + /// + /// - Parameter CreateChannelPlacementGroupInput : A request to create a channel placement group. + /// + /// - Returns: `CreateChannelPlacementGroupOutput` : Placeholder documentation for CreateChannelPlacementGroupResponse + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `BadGatewayException` : Placeholder documentation for BadGatewayException + /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException + /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException + /// - `UnprocessableEntityException` : Placeholder documentation for UnprocessableEntityException + public func createChannelPlacementGroup(input: CreateChannelPlacementGroupInput) async throws -> CreateChannelPlacementGroupOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "createChannelPlacementGroup") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "medialive") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.requestId)) + builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChannelPlacementGroupInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreateChannelPlacementGroupInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(CreateChannelPlacementGroupOutput.httpOutput(from:), CreateChannelPlacementGroupOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "CreateChannelPlacementGroup") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + /// Performs the `CreateCloudWatchAlarmTemplate` operation on the `MediaLive` service. /// /// Creates a cloudwatch alarm template to dynamically generate cloudwatch metric alarms on targeted resource types. @@ -848,9 +915,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCloudWatchAlarmTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -923,9 +989,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCloudWatchAlarmTemplateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -958,6 +1023,82 @@ extension MediaLiveClient { return try await op.execute(input: input) } + /// Performs the `CreateCluster` operation on the `MediaLive` service. + /// + /// Create a new Cluster. + /// + /// - Parameter CreateClusterInput : Create as many Clusters as you want, but create at least one. Each Cluster groups together Nodes that you want to treat as a collection. Within the Cluster, you will set up some Nodes as active Nodes, and some as backup Nodes, for Node failover purposes. Each Node can belong to only one Cluster. + /// + /// - Returns: `CreateClusterOutput` : Placeholder documentation for CreateClusterResponse + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `BadGatewayException` : Placeholder documentation for BadGatewayException + /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ConflictException` : Placeholder documentation for ConflictException + /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException + /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException + public func createCluster(input: CreateClusterInput) async throws -> CreateClusterOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "createCluster") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "medialive") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.requestId)) + builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClusterInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreateClusterInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(CreateClusterOutput.httpOutput(from:), CreateClusterOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "CreateCluster") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + /// Performs the `CreateEventBridgeRuleTemplate` operation on the `MediaLive` service. /// /// Creates an eventbridge rule template to monitor events and send notifications to your targeted resources. @@ -998,9 +1139,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEventBridgeRuleTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1073,9 +1213,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEventBridgeRuleTemplateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1148,9 +1287,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.requestId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInputInput.urlPathProvider(_:))) @@ -1224,9 +1362,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInputSecurityGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1301,9 +1438,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.requestId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMultiplexInput.urlPathProvider(_:))) @@ -1379,9 +1515,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.requestId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMultiplexProgramInput.urlPathProvider(_:))) @@ -1415,28 +1550,29 @@ extension MediaLiveClient { return try await op.execute(input: input) } - /// Performs the `CreatePartnerInput` operation on the `MediaLive` service. + /// Performs the `CreateNetwork` operation on the `MediaLive` service. /// - /// Create a partner input + /// Create as many Networks as you need. You will associate one or more Clusters with each Network.Each Network provides MediaLive Anywhere with required information about the network in your organization that you are using for video encoding using MediaLive. /// - /// - Parameter CreatePartnerInputInput : A request to create a partner input + /// - Parameter CreateNetworkInput : A request to create a Network. /// - /// - Returns: `CreatePartnerInputOutput` : Placeholder documentation for CreatePartnerInputResponse + /// - Returns: `CreateNetworkOutput` : Placeholder documentation for CreateNetworkResponse /// /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ /// - `BadGatewayException` : Placeholder documentation for BadGatewayException /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ConflictException` : Placeholder documentation for ConflictException /// - `ForbiddenException` : Placeholder documentation for ForbiddenException /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException - public func createPartnerInput(input: CreatePartnerInputInput) async throws -> CreatePartnerInputOutput { + public func createNetwork(input: CreateNetworkInput) async throws -> CreateNetworkOutput { let context = Smithy.ContextBuilder() .withMethod(value: .post) .withServiceName(value: serviceName) - .withOperation(value: "createPartnerInput") + .withOperation(value: "createNetwork") .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) .withLogger(value: config.logger) .withPartitionID(value: config.partitionID) @@ -1451,34 +1587,33 @@ extension MediaLiveClient { .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.requestId)) - builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePartnerInputInput.urlPathProvider(_:))) - builder.interceptors.add(ClientRuntime.URLHostMiddleware()) - builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) - builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreatePartnerInputInput.write(value:to:))) - builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) - builder.deserialize(ClientRuntime.DeserializeMiddleware(CreatePartnerInputOutput.httpOutput(from:), CreatePartnerInputOutputError.httpError(from:))) - builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.requestId)) + builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNetworkInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreateNetworkInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(CreateNetworkOutput.httpOutput(from:), CreateNetworkOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) - builder.applySigner(ClientRuntime.SignerMiddleware()) + builder.applySigner(ClientRuntime.SignerMiddleware()) let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) - builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) - builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) - builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) - builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) - builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) var metricsAttributes = Smithy.Attributes() metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") - metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "CreatePartnerInput") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "CreateNetwork") let op = builder.attributes(context) .telemetry(ClientRuntime.OrchestratorTelemetry( telemetryProvider: config.telemetryProvider, @@ -1491,28 +1626,29 @@ extension MediaLiveClient { return try await op.execute(input: input) } - /// Performs the `CreateSignalMap` operation on the `MediaLive` service. + /// Performs the `CreateNode` operation on the `MediaLive` service. /// - /// Initiates the creation of a new signal map. Will discover a new mediaResourceMap based on the provided discoveryEntryPointArn. + /// Create a Node in the specified Cluster. You can also create Nodes using the CreateNodeRegistrationScript. Note that you can't move a Node to another Cluster. /// - /// - Parameter CreateSignalMapInput : Placeholder documentation for CreateSignalMapRequest + /// - Parameter CreateNodeInput : A request to create a node /// - /// - Returns: `CreateSignalMapOutput` : Placeholder documentation for CreateSignalMapResponse + /// - Returns: `CreateNodeOutput` : Placeholder documentation for CreateNodeResponse /// /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ + /// - `BadGatewayException` : Placeholder documentation for BadGatewayException /// - `BadRequestException` : Placeholder documentation for BadRequestException - /// - `ConflictException` : Placeholder documentation for ConflictException /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException - /// - `NotFoundException` : Placeholder documentation for NotFoundException /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException - public func createSignalMap(input: CreateSignalMapInput) async throws -> CreateSignalMapOutput { + /// - `UnprocessableEntityException` : Placeholder documentation for UnprocessableEntityException + public func createNode(input: CreateNodeInput) async throws -> CreateNodeOutput { let context = Smithy.ContextBuilder() .withMethod(value: .post) .withServiceName(value: serviceName) - .withOperation(value: "createSignalMap") + .withOperation(value: "createNode") .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) .withLogger(value: config.logger) .withPartitionID(value: config.partitionID) @@ -1527,33 +1663,33 @@ extension MediaLiveClient { .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSignalMapInput.urlPathProvider(_:))) - builder.interceptors.add(ClientRuntime.URLHostMiddleware()) - builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) - builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreateSignalMapInput.write(value:to:))) - builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) - builder.deserialize(ClientRuntime.DeserializeMiddleware(CreateSignalMapOutput.httpOutput(from:), CreateSignalMapOutputError.httpError(from:))) - builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.requestId)) + builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNodeInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreateNodeInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(CreateNodeOutput.httpOutput(from:), CreateNodeOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) - builder.applySigner(ClientRuntime.SignerMiddleware()) + builder.applySigner(ClientRuntime.SignerMiddleware()) let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) - builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) - builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) - builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) - builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) - builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) var metricsAttributes = Smithy.Attributes() metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") - metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "CreateSignalMap") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "CreateNode") let op = builder.attributes(context) .telemetry(ClientRuntime.OrchestratorTelemetry( telemetryProvider: config.telemetryProvider, @@ -1566,26 +1702,29 @@ extension MediaLiveClient { return try await op.execute(input: input) } - /// Performs the `CreateTags` operation on the `MediaLive` service. + /// Performs the `CreateNodeRegistrationScript` operation on the `MediaLive` service. /// - /// Create tags for a resource + /// Create the Register Node script for all the nodes intended for a specific Cluster. You will then run the script on each hardware unit that is intended for that Cluster. The script creates a Node in the specified Cluster. It then binds the Node to this hardware unit, and activates the node hardware for use with MediaLive Anywhere. /// - /// - Parameter CreateTagsInput : Placeholder documentation for CreateTagsRequest + /// - Parameter CreateNodeRegistrationScriptInput : A request to create a new node registration script. /// - /// - Returns: `CreateTagsOutput` : [no documentation found] + /// - Returns: `CreateNodeRegistrationScriptOutput` : Placeholder documentation for CreateNodeRegistrationScriptResponse /// /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ + /// - `BadGatewayException` : Placeholder documentation for BadGatewayException /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ConflictException` : Placeholder documentation for ConflictException /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException - /// - `NotFoundException` : Placeholder documentation for NotFoundException - public func createTags(input: CreateTagsInput) async throws -> CreateTagsOutput { + /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException + public func createNodeRegistrationScript(input: CreateNodeRegistrationScriptInput) async throws -> CreateNodeRegistrationScriptOutput { let context = Smithy.ContextBuilder() .withMethod(value: .post) .withServiceName(value: serviceName) - .withOperation(value: "createTags") + .withOperation(value: "createNodeRegistrationScript") .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) .withLogger(value: config.logger) .withPartitionID(value: config.partitionID) @@ -1600,33 +1739,33 @@ extension MediaLiveClient { .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTagsInput.urlPathProvider(_:))) - builder.interceptors.add(ClientRuntime.URLHostMiddleware()) - builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) - builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreateTagsInput.write(value:to:))) - builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) - builder.deserialize(ClientRuntime.DeserializeMiddleware(CreateTagsOutput.httpOutput(from:), CreateTagsOutputError.httpError(from:))) - builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.requestId)) + builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNodeRegistrationScriptInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreateNodeRegistrationScriptInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(CreateNodeRegistrationScriptOutput.httpOutput(from:), CreateNodeRegistrationScriptOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) - builder.applySigner(ClientRuntime.SignerMiddleware()) + builder.applySigner(ClientRuntime.SignerMiddleware()) let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) - builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) - builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) - builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) - builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) - builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) var metricsAttributes = Smithy.Attributes() metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") - metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "CreateTags") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "CreateNodeRegistrationScript") let op = builder.attributes(context) .telemetry(ClientRuntime.OrchestratorTelemetry( telemetryProvider: config.telemetryProvider, @@ -1639,30 +1778,28 @@ extension MediaLiveClient { return try await op.execute(input: input) } - /// Performs the `DeleteChannel` operation on the `MediaLive` service. + /// Performs the `CreatePartnerInput` operation on the `MediaLive` service. /// - /// Starts deletion of channel. The associated outputs are also deleted. + /// Create a partner input /// - /// - Parameter DeleteChannelInput : Placeholder documentation for DeleteChannelRequest + /// - Parameter CreatePartnerInputInput : A request to create a partner input /// - /// - Returns: `DeleteChannelOutput` : Placeholder documentation for DeleteChannelResponse + /// - Returns: `CreatePartnerInputOutput` : Placeholder documentation for CreatePartnerInputResponse /// /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ /// - `BadGatewayException` : Placeholder documentation for BadGatewayException /// - `BadRequestException` : Placeholder documentation for BadRequestException - /// - `ConflictException` : Placeholder documentation for ConflictException /// - `ForbiddenException` : Placeholder documentation for ForbiddenException /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException - /// - `NotFoundException` : Placeholder documentation for NotFoundException /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException - public func deleteChannel(input: DeleteChannelInput) async throws -> DeleteChannelOutput { + public func createPartnerInput(input: CreatePartnerInputInput) async throws -> CreatePartnerInputOutput { let context = Smithy.ContextBuilder() - .withMethod(value: .delete) + .withMethod(value: .post) .withServiceName(value: serviceName) - .withOperation(value: "deleteChannel") + .withOperation(value: "createPartnerInput") .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) .withLogger(value: config.logger) .withPartitionID(value: config.partitionID) @@ -1677,30 +1814,33 @@ extension MediaLiveClient { .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelInput.urlPathProvider(_:))) - builder.interceptors.add(ClientRuntime.URLHostMiddleware()) - builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteChannelOutput.httpOutput(from:), DeleteChannelOutputError.httpError(from:))) - builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.requestId)) + builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePartnerInputInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreatePartnerInputInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(CreatePartnerInputOutput.httpOutput(from:), CreatePartnerInputOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) - builder.applySigner(ClientRuntime.SignerMiddleware()) + builder.applySigner(ClientRuntime.SignerMiddleware()) let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) - builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) - builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) - builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) - builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) - builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) var metricsAttributes = Smithy.Attributes() metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") - metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteChannel") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "CreatePartnerInput") let op = builder.attributes(context) .telemetry(ClientRuntime.OrchestratorTelemetry( telemetryProvider: config.telemetryProvider, @@ -1713,13 +1853,13 @@ extension MediaLiveClient { return try await op.execute(input: input) } - /// Performs the `DeleteCloudWatchAlarmTemplate` operation on the `MediaLive` service. + /// Performs the `CreateSignalMap` operation on the `MediaLive` service. /// - /// Deletes a cloudwatch alarm template. + /// Initiates the creation of a new signal map. Will discover a new mediaResourceMap based on the provided discoveryEntryPointArn. /// - /// - Parameter DeleteCloudWatchAlarmTemplateInput : Placeholder documentation for DeleteCloudWatchAlarmTemplateRequest + /// - Parameter CreateSignalMapInput : Placeholder documentation for CreateSignalMapRequest /// - /// - Returns: `DeleteCloudWatchAlarmTemplateOutput` : [no documentation found] + /// - Returns: `CreateSignalMapOutput` : Placeholder documentation for CreateSignalMapResponse /// /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// @@ -1730,9 +1870,301 @@ extension MediaLiveClient { /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException /// - `NotFoundException` : Placeholder documentation for NotFoundException /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException - public func deleteCloudWatchAlarmTemplate(input: DeleteCloudWatchAlarmTemplateInput) async throws -> DeleteCloudWatchAlarmTemplateOutput { + public func createSignalMap(input: CreateSignalMapInput) async throws -> CreateSignalMapOutput { let context = Smithy.ContextBuilder() - .withMethod(value: .delete) + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "createSignalMap") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "medialive") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSignalMapInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreateSignalMapInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(CreateSignalMapOutput.httpOutput(from:), CreateSignalMapOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "CreateSignalMap") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `CreateTags` operation on the `MediaLive` service. + /// + /// Create tags for a resource + /// + /// - Parameter CreateTagsInput : Placeholder documentation for CreateTagsRequest + /// + /// - Returns: `CreateTagsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `NotFoundException` : Placeholder documentation for NotFoundException + public func createTags(input: CreateTagsInput) async throws -> CreateTagsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "createTags") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "medialive") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTagsInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreateTagsInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(CreateTagsOutput.httpOutput(from:), CreateTagsOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "CreateTags") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `DeleteChannel` operation on the `MediaLive` service. + /// + /// Starts deletion of channel. The associated outputs are also deleted. + /// + /// - Parameter DeleteChannelInput : Placeholder documentation for DeleteChannelRequest + /// + /// - Returns: `DeleteChannelOutput` : Placeholder documentation for DeleteChannelResponse + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `BadGatewayException` : Placeholder documentation for BadGatewayException + /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ConflictException` : Placeholder documentation for ConflictException + /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException + /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `NotFoundException` : Placeholder documentation for NotFoundException + /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException + public func deleteChannel(input: DeleteChannelInput) async throws -> DeleteChannelOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteChannel") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "medialive") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteChannelOutput.httpOutput(from:), DeleteChannelOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteChannel") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `DeleteChannelPlacementGroup` operation on the `MediaLive` service. + /// + /// Delete the specified ChannelPlacementGroup that exists in the specified Cluster. + /// + /// - Parameter DeleteChannelPlacementGroupInput : Placeholder documentation for DeleteChannelPlacementGroupRequest + /// + /// - Returns: `DeleteChannelPlacementGroupOutput` : Placeholder documentation for DeleteChannelPlacementGroupResponse + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `BadGatewayException` : Placeholder documentation for BadGatewayException + /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ConflictException` : Placeholder documentation for ConflictException + /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException + /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `NotFoundException` : Placeholder documentation for NotFoundException + /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException + public func deleteChannelPlacementGroup(input: DeleteChannelPlacementGroupInput) async throws -> DeleteChannelPlacementGroupOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteChannelPlacementGroup") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "medialive") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelPlacementGroupInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteChannelPlacementGroupOutput.httpOutput(from:), DeleteChannelPlacementGroupOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteChannelPlacementGroup") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `DeleteCloudWatchAlarmTemplate` operation on the `MediaLive` service. + /// + /// Deletes a cloudwatch alarm template. + /// + /// - Parameter DeleteCloudWatchAlarmTemplateInput : Placeholder documentation for DeleteCloudWatchAlarmTemplateRequest + /// + /// - Returns: `DeleteCloudWatchAlarmTemplateOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ConflictException` : Placeholder documentation for ConflictException + /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `NotFoundException` : Placeholder documentation for NotFoundException + /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException + public func deleteCloudWatchAlarmTemplate(input: DeleteCloudWatchAlarmTemplateInput) async throws -> DeleteCloudWatchAlarmTemplateOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) .withServiceName(value: serviceName) .withOperation(value: "deleteCloudWatchAlarmTemplate") .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) @@ -1753,9 +2185,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCloudWatchAlarmTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1825,9 +2256,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCloudWatchAlarmTemplateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1844,7 +2274,80 @@ extension MediaLiveClient { builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) var metricsAttributes = Smithy.Attributes() metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") - metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteCloudWatchAlarmTemplateGroup") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteCloudWatchAlarmTemplateGroup") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `DeleteCluster` operation on the `MediaLive` service. + /// + /// Delete a Cluster. The Cluster must be idle. + /// + /// - Parameter DeleteClusterInput : Placeholder documentation for DeleteClusterRequest + /// + /// - Returns: `DeleteClusterOutput` : Placeholder documentation for DeleteClusterResponse + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `BadGatewayException` : Placeholder documentation for BadGatewayException + /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ConflictException` : Placeholder documentation for ConflictException + /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException + /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `NotFoundException` : Placeholder documentation for NotFoundException + /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException + public func deleteCluster(input: DeleteClusterInput) async throws -> DeleteClusterOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteCluster") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "medialive") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClusterInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteClusterOutput.httpOutput(from:), DeleteClusterOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteCluster") let op = builder.attributes(context) .telemetry(ClientRuntime.OrchestratorTelemetry( telemetryProvider: config.telemetryProvider, @@ -1897,9 +2400,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEventBridgeRuleTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1969,9 +2471,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEventBridgeRuleTemplateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2043,9 +2544,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2116,9 +2616,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInputSecurityGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2190,9 +2689,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMultiplexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2264,9 +2762,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMultiplexProgramInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2296,6 +2793,152 @@ extension MediaLiveClient { return try await op.execute(input: input) } + /// Performs the `DeleteNetwork` operation on the `MediaLive` service. + /// + /// Delete a Network. The Network must have no resources associated with it. + /// + /// - Parameter DeleteNetworkInput : Placeholder documentation for DeleteNetworkRequest + /// + /// - Returns: `DeleteNetworkOutput` : Placeholder documentation for DeleteNetworkResponse + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `BadGatewayException` : Placeholder documentation for BadGatewayException + /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ConflictException` : Placeholder documentation for ConflictException + /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException + /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `NotFoundException` : Placeholder documentation for NotFoundException + /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException + public func deleteNetwork(input: DeleteNetworkInput) async throws -> DeleteNetworkOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteNetwork") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "medialive") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNetworkInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteNetworkOutput.httpOutput(from:), DeleteNetworkOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteNetwork") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `DeleteNode` operation on the `MediaLive` service. + /// + /// Delete a Node. The Node must be IDLE. + /// + /// - Parameter DeleteNodeInput : Placeholder documentation for DeleteNodeRequest + /// + /// - Returns: `DeleteNodeOutput` : Placeholder documentation for DeleteNodeResponse + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `BadGatewayException` : Placeholder documentation for BadGatewayException + /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ConflictException` : Placeholder documentation for ConflictException + /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException + /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `NotFoundException` : Placeholder documentation for NotFoundException + /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException + public func deleteNode(input: DeleteNodeInput) async throws -> DeleteNodeOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteNode") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "medialive") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNodeInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteNodeOutput.httpOutput(from:), DeleteNodeOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteNode") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + /// Performs the `DeleteReservation` operation on the `MediaLive` service. /// /// Delete an expired reservation. @@ -2338,9 +2981,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReservationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2411,9 +3053,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2483,9 +3124,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSignalMapInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2515,26 +3155,170 @@ extension MediaLiveClient { return try await op.execute(input: input) } - /// Performs the `DeleteTags` operation on the `MediaLive` service. + /// Performs the `DeleteTags` operation on the `MediaLive` service. + /// + /// Removes tags for a resource + /// + /// - Parameter DeleteTagsInput : Placeholder documentation for DeleteTagsRequest + /// + /// - Returns: `DeleteTagsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `NotFoundException` : Placeholder documentation for NotFoundException + public func deleteTags(input: DeleteTagsInput) async throws -> DeleteTagsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteTags") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "medialive") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTagsInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(DeleteTagsInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteTagsOutput.httpOutput(from:), DeleteTagsOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteTags") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `DescribeAccountConfiguration` operation on the `MediaLive` service. + /// + /// Describe account configuration + /// + /// - Parameter DescribeAccountConfigurationInput : Placeholder documentation for DescribeAccountConfigurationRequest + /// + /// - Returns: `DescribeAccountConfigurationOutput` : Placeholder documentation for DescribeAccountConfigurationResponse + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `BadGatewayException` : Placeholder documentation for BadGatewayException + /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException + /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException + public func describeAccountConfiguration(input: DescribeAccountConfigurationInput) async throws -> DescribeAccountConfigurationOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "describeAccountConfiguration") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "medialive") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountConfigurationInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DescribeAccountConfigurationOutput.httpOutput(from:), DescribeAccountConfigurationOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DescribeAccountConfiguration") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `DescribeChannel` operation on the `MediaLive` service. /// - /// Removes tags for a resource + /// Gets details about a channel /// - /// - Parameter DeleteTagsInput : Placeholder documentation for DeleteTagsRequest + /// - Parameter DescribeChannelInput : Placeholder documentation for DescribeChannelRequest /// - /// - Returns: `DeleteTagsOutput` : [no documentation found] + /// - Returns: `DescribeChannelOutput` : Placeholder documentation for DescribeChannelResponse /// /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ + /// - `BadGatewayException` : Placeholder documentation for BadGatewayException /// - `BadRequestException` : Placeholder documentation for BadRequestException /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException /// - `NotFoundException` : Placeholder documentation for NotFoundException - public func deleteTags(input: DeleteTagsInput) async throws -> DeleteTagsOutput { + /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException + public func describeChannel(input: DescribeChannelInput) async throws -> DescribeChannelOutput { let context = Smithy.ContextBuilder() - .withMethod(value: .delete) + .withMethod(value: .get) .withServiceName(value: serviceName) - .withOperation(value: "deleteTags") + .withOperation(value: "describeChannel") .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) .withLogger(value: config.logger) .withPartitionID(value: config.partitionID) @@ -2549,31 +3333,29 @@ extension MediaLiveClient { .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTagsInput.urlPathProvider(_:))) - builder.interceptors.add(ClientRuntime.URLHostMiddleware()) - builder.serialize(ClientRuntime.QueryItemMiddleware(DeleteTagsInput.queryItemProvider(_:))) - builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteTagsOutput.httpOutput(from:), DeleteTagsOutputError.httpError(from:))) - builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChannelInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DescribeChannelOutput.httpOutput(from:), DescribeChannelOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) - builder.applySigner(ClientRuntime.SignerMiddleware()) + builder.applySigner(ClientRuntime.SignerMiddleware()) let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) - builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) - builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) - builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) - builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) - builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) var metricsAttributes = Smithy.Attributes() metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") - metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteTags") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DescribeChannel") let op = builder.attributes(context) .telemetry(ClientRuntime.OrchestratorTelemetry( telemetryProvider: config.telemetryProvider, @@ -2586,13 +3368,13 @@ extension MediaLiveClient { return try await op.execute(input: input) } - /// Performs the `DescribeAccountConfiguration` operation on the `MediaLive` service. + /// Performs the `DescribeChannelPlacementGroup` operation on the `MediaLive` service. /// - /// Describe account configuration + /// Get details about a ChannelPlacementGroup. /// - /// - Parameter DescribeAccountConfigurationInput : Placeholder documentation for DescribeAccountConfigurationRequest + /// - Parameter DescribeChannelPlacementGroupInput : Placeholder documentation for DescribeChannelPlacementGroupRequest /// - /// - Returns: `DescribeAccountConfigurationOutput` : Placeholder documentation for DescribeAccountConfigurationResponse + /// - Returns: `DescribeChannelPlacementGroupOutput` : Placeholder documentation for DescribeChannelPlacementGroupResponse /// /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// @@ -2602,12 +3384,13 @@ extension MediaLiveClient { /// - `ForbiddenException` : Placeholder documentation for ForbiddenException /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `NotFoundException` : Placeholder documentation for NotFoundException /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException - public func describeAccountConfiguration(input: DescribeAccountConfigurationInput) async throws -> DescribeAccountConfigurationOutput { + public func describeChannelPlacementGroup(input: DescribeChannelPlacementGroupInput) async throws -> DescribeChannelPlacementGroupOutput { let context = Smithy.ContextBuilder() .withMethod(value: .get) .withServiceName(value: serviceName) - .withOperation(value: "describeAccountConfiguration") + .withOperation(value: "describeChannelPlacementGroup") .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) .withLogger(value: config.logger) .withPartitionID(value: config.partitionID) @@ -2622,30 +3405,29 @@ extension MediaLiveClient { .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountConfigurationInput.urlPathProvider(_:))) - builder.interceptors.add(ClientRuntime.URLHostMiddleware()) - builder.deserialize(ClientRuntime.DeserializeMiddleware(DescribeAccountConfigurationOutput.httpOutput(from:), DescribeAccountConfigurationOutputError.httpError(from:))) - builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChannelPlacementGroupInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DescribeChannelPlacementGroupOutput.httpOutput(from:), DescribeChannelPlacementGroupOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) - builder.applySigner(ClientRuntime.SignerMiddleware()) + builder.applySigner(ClientRuntime.SignerMiddleware()) let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) - builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) - builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) - builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) - builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) - builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) var metricsAttributes = Smithy.Attributes() metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") - metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DescribeAccountConfiguration") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DescribeChannelPlacementGroup") let op = builder.attributes(context) .telemetry(ClientRuntime.OrchestratorTelemetry( telemetryProvider: config.telemetryProvider, @@ -2658,13 +3440,13 @@ extension MediaLiveClient { return try await op.execute(input: input) } - /// Performs the `DescribeChannel` operation on the `MediaLive` service. + /// Performs the `DescribeCluster` operation on the `MediaLive` service. /// - /// Gets details about a channel + /// Get details about a Cluster. /// - /// - Parameter DescribeChannelInput : Placeholder documentation for DescribeChannelRequest + /// - Parameter DescribeClusterInput : Placeholder documentation for DescribeClusterRequest /// - /// - Returns: `DescribeChannelOutput` : Placeholder documentation for DescribeChannelResponse + /// - Returns: `DescribeClusterOutput` : Placeholder documentation for DescribeClusterResponse /// /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// @@ -2676,11 +3458,11 @@ extension MediaLiveClient { /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException /// - `NotFoundException` : Placeholder documentation for NotFoundException /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException - public func describeChannel(input: DescribeChannelInput) async throws -> DescribeChannelOutput { + public func describeCluster(input: DescribeClusterInput) async throws -> DescribeClusterOutput { let context = Smithy.ContextBuilder() .withMethod(value: .get) .withServiceName(value: serviceName) - .withOperation(value: "describeChannel") + .withOperation(value: "describeCluster") .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) .withLogger(value: config.logger) .withPartitionID(value: config.partitionID) @@ -2695,30 +3477,29 @@ extension MediaLiveClient { .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChannelInput.urlPathProvider(_:))) - builder.interceptors.add(ClientRuntime.URLHostMiddleware()) - builder.deserialize(ClientRuntime.DeserializeMiddleware(DescribeChannelOutput.httpOutput(from:), DescribeChannelOutputError.httpError(from:))) - builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClusterInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DescribeClusterOutput.httpOutput(from:), DescribeClusterOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) - builder.applySigner(ClientRuntime.SignerMiddleware()) + builder.applySigner(ClientRuntime.SignerMiddleware()) let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) - builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) - builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) - builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) - builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) - builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) var metricsAttributes = Smithy.Attributes() metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") - metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DescribeChannel") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DescribeCluster") let op = builder.attributes(context) .telemetry(ClientRuntime.OrchestratorTelemetry( telemetryProvider: config.telemetryProvider, @@ -2772,9 +3553,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2845,9 +3625,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInputDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2918,9 +3697,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInputDeviceThumbnailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2992,9 +3770,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInputSecurityGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3065,9 +3842,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMultiplexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3138,9 +3914,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMultiplexProgramInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3170,6 +3945,150 @@ extension MediaLiveClient { return try await op.execute(input: input) } + /// Performs the `DescribeNetwork` operation on the `MediaLive` service. + /// + /// Get details about a Network. + /// + /// - Parameter DescribeNetworkInput : Placeholder documentation for DescribeNetworkRequest + /// + /// - Returns: `DescribeNetworkOutput` : Placeholder documentation for DescribeNetworkResponse + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `BadGatewayException` : Placeholder documentation for BadGatewayException + /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException + /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `NotFoundException` : Placeholder documentation for NotFoundException + /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException + public func describeNetwork(input: DescribeNetworkInput) async throws -> DescribeNetworkOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "describeNetwork") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "medialive") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNetworkInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DescribeNetworkOutput.httpOutput(from:), DescribeNetworkOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DescribeNetwork") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `DescribeNode` operation on the `MediaLive` service. + /// + /// Get details about a Node in the specified Cluster. + /// + /// - Parameter DescribeNodeInput : Placeholder documentation for DescribeNodeRequest + /// + /// - Returns: `DescribeNodeOutput` : Placeholder documentation for DescribeNodeResponse + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `BadGatewayException` : Placeholder documentation for BadGatewayException + /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException + /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `NotFoundException` : Placeholder documentation for NotFoundException + /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException + public func describeNode(input: DescribeNodeInput) async throws -> DescribeNodeOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "describeNode") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "medialive") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNodeInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DescribeNodeOutput.httpOutput(from:), DescribeNodeOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DescribeNode") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + /// Performs the `DescribeOffering` operation on the `MediaLive` service. /// /// Get details for an offering. @@ -3211,9 +4130,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOfferingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3284,9 +4202,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReservationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3357,9 +4274,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3432,9 +4348,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeThumbnailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3504,9 +4419,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCloudWatchAlarmTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3575,9 +4489,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCloudWatchAlarmTemplateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3646,9 +4559,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEventBridgeRuleTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3717,9 +4629,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEventBridgeRuleTemplateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3788,9 +4699,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSignalMapInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3820,6 +4730,78 @@ extension MediaLiveClient { return try await op.execute(input: input) } + /// Performs the `ListChannelPlacementGroups` operation on the `MediaLive` service. + /// + /// Retrieve the list of ChannelPlacementGroups in the specified Cluster. + /// + /// - Parameter ListChannelPlacementGroupsInput : Placeholder documentation for ListChannelPlacementGroupsRequest + /// + /// - Returns: `ListChannelPlacementGroupsOutput` : Placeholder documentation for ListChannelPlacementGroupsResponse + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `BadGatewayException` : Placeholder documentation for BadGatewayException + /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException + /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException + public func listChannelPlacementGroups(input: ListChannelPlacementGroupsInput) async throws -> ListChannelPlacementGroupsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listChannelPlacementGroups") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "medialive") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelPlacementGroupsInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(ListChannelPlacementGroupsInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListChannelPlacementGroupsOutput.httpOutput(from:), ListChannelPlacementGroupsOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListChannelPlacementGroups") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + /// Performs the `ListChannels` operation on the `MediaLive` service. /// /// Produces list of channels that have been created @@ -3860,9 +4842,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3932,9 +4913,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCloudWatchAlarmTemplateGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4004,9 +4984,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCloudWatchAlarmTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4037,6 +5016,78 @@ extension MediaLiveClient { return try await op.execute(input: input) } + /// Performs the `ListClusters` operation on the `MediaLive` service. + /// + /// Retrieve the list of Clusters. + /// + /// - Parameter ListClustersInput : Placeholder documentation for ListClustersRequest + /// + /// - Returns: `ListClustersOutput` : Placeholder documentation for ListClustersResponse + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `BadGatewayException` : Placeholder documentation for BadGatewayException + /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException + /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException + public func listClusters(input: ListClustersInput) async throws -> ListClustersOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listClusters") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "medialive") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListClustersInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(ListClustersInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListClustersOutput.httpOutput(from:), ListClustersOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListClusters") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + /// Performs the `ListEventBridgeRuleTemplateGroups` operation on the `MediaLive` service. /// /// Lists eventbridge rule template groups. @@ -4076,9 +5127,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEventBridgeRuleTemplateGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4148,9 +5198,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEventBridgeRuleTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4222,9 +5271,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInputDeviceTransfersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4295,9 +5343,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInputDevicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4368,9 +5415,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInputSecurityGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4441,9 +5487,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInputsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4515,9 +5560,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMultiplexProgramsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4588,9 +5632,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMultiplexesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4621,6 +5664,150 @@ extension MediaLiveClient { return try await op.execute(input: input) } + /// Performs the `ListNetworks` operation on the `MediaLive` service. + /// + /// Retrieve the list of Networks. + /// + /// - Parameter ListNetworksInput : Placeholder documentation for ListNetworksRequest + /// + /// - Returns: `ListNetworksOutput` : Placeholder documentation for ListNetworksResponse + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `BadGatewayException` : Placeholder documentation for BadGatewayException + /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException + /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException + public func listNetworks(input: ListNetworksInput) async throws -> ListNetworksOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listNetworks") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "medialive") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNetworksInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(ListNetworksInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListNetworksOutput.httpOutput(from:), ListNetworksOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListNetworks") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `ListNodes` operation on the `MediaLive` service. + /// + /// Retrieve the list of Nodes. + /// + /// - Parameter ListNodesInput : Placeholder documentation for ListNodesRequest + /// + /// - Returns: `ListNodesOutput` : Placeholder documentation for ListNodesResponse + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `BadGatewayException` : Placeholder documentation for BadGatewayException + /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException + /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException + public func listNodes(input: ListNodesInput) async throws -> ListNodesOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listNodes") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "medialive") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNodesInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(ListNodesInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListNodesOutput.httpOutput(from:), ListNodesOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListNodes") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + /// Performs the `ListOfferings` operation on the `MediaLive` service. /// /// List offerings available for purchase. @@ -4661,9 +5848,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOfferingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4734,9 +5920,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReservationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4806,9 +5991,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSignalMapsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4877,9 +6061,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4951,9 +6134,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.requestId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PurchaseOfferingInput.urlPathProvider(_:))) @@ -5029,9 +6211,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RebootInputDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5107,9 +6288,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectInputDeviceTransferInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5181,9 +6361,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestartChannelPipelinesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5258,9 +6437,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5330,9 +6508,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDeleteMonitorDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5404,9 +6581,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartInputDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5478,9 +6654,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartInputDeviceMaintenanceWindowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5550,9 +6725,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMonitorDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5627,9 +6801,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMultiplexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5699,9 +6872,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartUpdateSignalMapInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5776,9 +6948,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5850,9 +7021,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopInputDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5924,9 +7094,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopMultiplexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5999,9 +7168,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TransferInputDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6075,9 +7243,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccountConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6151,9 +7318,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6173,7 +7339,84 @@ extension MediaLiveClient { builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) var metricsAttributes = Smithy.Attributes() metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") - metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateChannel") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateChannel") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `UpdateChannelClass` operation on the `MediaLive` service. + /// + /// Changes the class of the channel. + /// + /// - Parameter UpdateChannelClassInput : Channel class that the channel should be updated to. + /// + /// - Returns: `UpdateChannelClassOutput` : Placeholder documentation for UpdateChannelClassResponse + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `BadGatewayException` : Placeholder documentation for BadGatewayException + /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ConflictException` : Placeholder documentation for ConflictException + /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException + /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `NotFoundException` : Placeholder documentation for NotFoundException + /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException + /// - `UnprocessableEntityException` : Placeholder documentation for UnprocessableEntityException + public func updateChannelClass(input: UpdateChannelClassInput) async throws -> UpdateChannelClassOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .put) + .withServiceName(value: serviceName) + .withOperation(value: "updateChannelClass") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "medialive") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateChannelClassInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateChannelClassInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateChannelClassOutput.httpOutput(from:), UpdateChannelClassOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateChannelClass") let op = builder.attributes(context) .telemetry(ClientRuntime.OrchestratorTelemetry( telemetryProvider: config.telemetryProvider, @@ -6186,13 +7429,13 @@ extension MediaLiveClient { return try await op.execute(input: input) } - /// Performs the `UpdateChannelClass` operation on the `MediaLive` service. + /// Performs the `UpdateChannelPlacementGroup` operation on the `MediaLive` service. /// - /// Changes the class of the channel. + /// Change the settings for a ChannelPlacementGroup. /// - /// - Parameter UpdateChannelClassInput : Channel class that the channel should be updated to. + /// - Parameter UpdateChannelPlacementGroupInput : A request to update the channel placement group /// - /// - Returns: `UpdateChannelClassOutput` : Placeholder documentation for UpdateChannelClassResponse + /// - Returns: `UpdateChannelPlacementGroupOutput` : Placeholder documentation for UpdateChannelPlacementGroupResponse /// /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// @@ -6203,14 +7446,13 @@ extension MediaLiveClient { /// - `ForbiddenException` : Placeholder documentation for ForbiddenException /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException - /// - `NotFoundException` : Placeholder documentation for NotFoundException /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException /// - `UnprocessableEntityException` : Placeholder documentation for UnprocessableEntityException - public func updateChannelClass(input: UpdateChannelClassInput) async throws -> UpdateChannelClassOutput { + public func updateChannelPlacementGroup(input: UpdateChannelPlacementGroupInput) async throws -> UpdateChannelPlacementGroupOutput { let context = Smithy.ContextBuilder() .withMethod(value: .put) .withServiceName(value: serviceName) - .withOperation(value: "updateChannelClass") + .withOperation(value: "updateChannelPlacementGroup") .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) .withLogger(value: config.logger) .withPartitionID(value: config.partitionID) @@ -6225,33 +7467,32 @@ extension MediaLiveClient { .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateChannelClassInput.urlPathProvider(_:))) - builder.interceptors.add(ClientRuntime.URLHostMiddleware()) - builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) - builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateChannelClassInput.write(value:to:))) - builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) - builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateChannelClassOutput.httpOutput(from:), UpdateChannelClassOutputError.httpError(from:))) - builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateChannelPlacementGroupInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateChannelPlacementGroupInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateChannelPlacementGroupOutput.httpOutput(from:), UpdateChannelPlacementGroupOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) - builder.applySigner(ClientRuntime.SignerMiddleware()) + builder.applySigner(ClientRuntime.SignerMiddleware()) let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) - builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) - builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) - builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) - builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) - builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) var metricsAttributes = Smithy.Attributes() metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") - metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateChannelClass") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateChannelPlacementGroup") let op = builder.attributes(context) .telemetry(ClientRuntime.OrchestratorTelemetry( telemetryProvider: config.telemetryProvider, @@ -6304,9 +7545,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCloudWatchAlarmTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6379,9 +7619,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCloudWatchAlarmTemplateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6414,6 +7653,81 @@ extension MediaLiveClient { return try await op.execute(input: input) } + /// Performs the `UpdateCluster` operation on the `MediaLive` service. + /// + /// Change the settings for a Cluster. + /// + /// - Parameter UpdateClusterInput : A request to update the cluster. + /// + /// - Returns: `UpdateClusterOutput` : Placeholder documentation for UpdateClusterResponse + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `BadGatewayException` : Placeholder documentation for BadGatewayException + /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ConflictException` : Placeholder documentation for ConflictException + /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException + /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException + public func updateCluster(input: UpdateClusterInput) async throws -> UpdateClusterOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .put) + .withServiceName(value: serviceName) + .withOperation(value: "updateCluster") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "medialive") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateClusterInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateClusterInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateClusterOutput.httpOutput(from:), UpdateClusterOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateCluster") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + /// Performs the `UpdateEventBridgeRuleTemplate` operation on the `MediaLive` service. /// /// Updates the specified eventbridge rule template. @@ -6454,9 +7768,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEventBridgeRuleTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6529,9 +7842,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEventBridgeRuleTemplateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6605,9 +7917,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateInputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6682,9 +7993,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateInputDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6758,9 +8068,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateInputSecurityGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6835,9 +8144,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMultiplexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6912,9 +8220,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMultiplexProgramInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6947,6 +8254,232 @@ extension MediaLiveClient { return try await op.execute(input: input) } + /// Performs the `UpdateNetwork` operation on the `MediaLive` service. + /// + /// Change the settings for a Network. + /// + /// - Parameter UpdateNetworkInput : A request to update the network. + /// + /// - Returns: `UpdateNetworkOutput` : Placeholder documentation for UpdateNetworkResponse + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `BadGatewayException` : Placeholder documentation for BadGatewayException + /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ConflictException` : Placeholder documentation for ConflictException + /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException + /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException + public func updateNetwork(input: UpdateNetworkInput) async throws -> UpdateNetworkOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .put) + .withServiceName(value: serviceName) + .withOperation(value: "updateNetwork") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "medialive") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNetworkInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateNetworkInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateNetworkOutput.httpOutput(from:), UpdateNetworkOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateNetwork") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `UpdateNode` operation on the `MediaLive` service. + /// + /// Change the settings for a Node. + /// + /// - Parameter UpdateNodeInput : A request to update the node. + /// + /// - Returns: `UpdateNodeOutput` : Placeholder documentation for UpdateNodeResponse + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `BadGatewayException` : Placeholder documentation for BadGatewayException + /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ConflictException` : Placeholder documentation for ConflictException + /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException + /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException + public func updateNode(input: UpdateNodeInput) async throws -> UpdateNodeOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .put) + .withServiceName(value: serviceName) + .withOperation(value: "updateNode") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "medialive") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNodeInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateNodeInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateNodeOutput.httpOutput(from:), UpdateNodeOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateNode") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `UpdateNodeState` operation on the `MediaLive` service. + /// + /// Update the state of a node. + /// + /// - Parameter UpdateNodeStateInput : A request to update the state of a node. + /// + /// - Returns: `UpdateNodeStateOutput` : Placeholder documentation for UpdateNodeStateResponse + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `BadGatewayException` : Placeholder documentation for BadGatewayException + /// - `BadRequestException` : Placeholder documentation for BadRequestException + /// - `ConflictException` : Placeholder documentation for ConflictException + /// - `ForbiddenException` : Placeholder documentation for ForbiddenException + /// - `GatewayTimeoutException` : Placeholder documentation for GatewayTimeoutException + /// - `InternalServerErrorException` : Placeholder documentation for InternalServerErrorException + /// - `TooManyRequestsException` : Placeholder documentation for TooManyRequestsException + /// - `UnprocessableEntityException` : Placeholder documentation for UnprocessableEntityException + public func updateNodeState(input: UpdateNodeStateInput) async throws -> UpdateNodeStateOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .put) + .withServiceName(value: serviceName) + .withOperation(value: "updateNodeState") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "medialive") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNodeStateInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateNodeStateInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateNodeStateOutput.httpOutput(from:), UpdateNodeStateOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: "1.0", config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "MediaLive") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateNodeState") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + /// Performs the `UpdateReservation` operation on the `MediaLive` service. /// /// Update reservation. @@ -6989,9 +8522,8 @@ extension MediaLiveClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateReservationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/Models.swift b/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/Models.swift index 96d6a21caec..c5fc6ec18bc 100644 --- a/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/Models.swift +++ b/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/Models.swift @@ -3951,6 +3951,26 @@ extension MediaLiveClientTypes { } } +extension MediaLiveClientTypes { + /// Elemental anywhere settings + public struct DescribeAnywhereSettings { + /// The ID of the channel placement group for the channel. + public var channelPlacementGroupId: Swift.String? + /// The ID of the cluster for the channel. + public var clusterId: Swift.String? + + public init( + channelPlacementGroupId: Swift.String? = nil, + clusterId: Swift.String? = nil + ) + { + self.channelPlacementGroupId = channelPlacementGroupId + self.clusterId = clusterId + } + } + +} + extension MediaLiveClientTypes { /// Maximum CDI input resolution; SD is 480i and 576i up to 30 frames-per-second (fps), HD is 720p up to 60 fps / 1080i up to 30 fps, FHD is 1080p up to 60 fps, UHD is 2160p up to 60 fps @@ -4097,6 +4117,30 @@ extension MediaLiveClientTypes { } +extension MediaLiveClientTypes { + /// Placeholder documentation for SrtOutputDestinationSettings + public struct SrtOutputDestinationSettings { + /// Arn used to extract the password from Secrets Manager + public var encryptionPassphraseSecretArn: Swift.String? + /// Stream id for SRT destinations (URLs of type srt://) + public var streamId: Swift.String? + /// A URL specifying a destination + public var url: Swift.String? + + public init( + encryptionPassphraseSecretArn: Swift.String? = nil, + streamId: Swift.String? = nil, + url: Swift.String? = nil + ) + { + self.encryptionPassphraseSecretArn = encryptionPassphraseSecretArn + self.streamId = streamId + self.url = url + } + } + +} + extension MediaLiveClientTypes { /// Placeholder documentation for OutputDestination public struct OutputDestination { @@ -4108,18 +4152,22 @@ extension MediaLiveClientTypes { public var multiplexSettings: MediaLiveClientTypes.MultiplexProgramChannelDestinationSettings? /// Destination settings for a standard output; one destination for each redundant encoder. public var settings: [MediaLiveClientTypes.OutputDestinationSettings]? + /// SRT settings for an SRT output; one destination for each redundant encoder. + public var srtSettings: [MediaLiveClientTypes.SrtOutputDestinationSettings]? public init( id: Swift.String? = nil, mediaPackageSettings: [MediaLiveClientTypes.MediaPackageOutputDestinationSettings]? = nil, multiplexSettings: MediaLiveClientTypes.MultiplexProgramChannelDestinationSettings? = nil, - settings: [MediaLiveClientTypes.OutputDestinationSettings]? = nil + settings: [MediaLiveClientTypes.OutputDestinationSettings]? = nil, + srtSettings: [MediaLiveClientTypes.SrtOutputDestinationSettings]? = nil ) { self.id = id self.mediaPackageSettings = mediaPackageSettings self.multiplexSettings = multiplexSettings self.settings = settings + self.srtSettings = srtSettings } } @@ -4436,6 +4484,22 @@ extension MediaLiveClientTypes { } +extension MediaLiveClientTypes { + /// Multicast-specific input settings. + public struct MulticastInputSettings { + /// Optionally, a source ip address to filter by for Source-specific Multicast (SSM) + public var sourceIpAddress: Swift.String? + + public init( + sourceIpAddress: Swift.String? = nil + ) + { + self.sourceIpAddress = sourceIpAddress + } + } + +} + extension MediaLiveClientTypes { /// Network Input Server Validation @@ -4471,15 +4535,19 @@ extension MediaLiveClientTypes { public struct NetworkInputSettings { /// Specifies HLS input settings when the uri is for a HLS manifest. public var hlsInputSettings: MediaLiveClientTypes.HlsInputSettings? + /// Specifies multicast input settings when the uri is for a multicast event. + public var multicastInputSettings: MediaLiveClientTypes.MulticastInputSettings? /// Check HTTPS server certificates. When set to checkCryptographyOnly, cryptography in the certificate will be checked, but not the server's name. Certain subdomains (notably S3 buckets that use dots in the bucket name) do not strictly match the corresponding certificate's wildcard pattern and would otherwise cause the event to error. This setting is ignored for protocols that do not use https. public var serverValidation: MediaLiveClientTypes.NetworkInputServerValidation? public init( hlsInputSettings: MediaLiveClientTypes.HlsInputSettings? = nil, + multicastInputSettings: MediaLiveClientTypes.MulticastInputSettings? = nil, serverValidation: MediaLiveClientTypes.NetworkInputServerValidation? = nil ) { self.hlsInputSettings = hlsInputSettings + self.multicastInputSettings = multicastInputSettings self.serverValidation = serverValidation } } @@ -4808,18 +4876,22 @@ extension MediaLiveClientTypes { public var inputId: Swift.String? /// Settings of an input (caption selector, etc.) public var inputSettings: MediaLiveClientTypes.InputSettings? + /// Optional assignment of an input to a logical interface on the Node. Only applies to on premises channels. + public var logicalInterfaceNames: [Swift.String]? public init( automaticInputFailoverSettings: MediaLiveClientTypes.AutomaticInputFailoverSettings? = nil, inputAttachmentName: Swift.String? = nil, inputId: Swift.String? = nil, - inputSettings: MediaLiveClientTypes.InputSettings? = nil + inputSettings: MediaLiveClientTypes.InputSettings? = nil, + logicalInterfaceNames: [Swift.String]? = nil ) { self.automaticInputFailoverSettings = automaticInputFailoverSettings self.inputAttachmentName = inputAttachmentName self.inputId = inputId self.inputSettings = inputSettings + self.logicalInterfaceNames = logicalInterfaceNames } } @@ -5148,6 +5220,8 @@ extension MediaLiveClientTypes { extension MediaLiveClientTypes { /// Placeholder documentation for ChannelSummary public struct ChannelSummary { + /// AnywhereSettings settings for this channel. + public var anywhereSettings: MediaLiveClientTypes.DescribeAnywhereSettings? /// The unique arn of the channel. public var arn: Swift.String? /// Specification of CDI inputs for this channel @@ -5182,6 +5256,7 @@ extension MediaLiveClientTypes { public var vpc: MediaLiveClientTypes.VpcOutputSettingsDescription? public init( + anywhereSettings: MediaLiveClientTypes.DescribeAnywhereSettings? = nil, arn: Swift.String? = nil, cdiInputSpecification: MediaLiveClientTypes.CdiInputSpecification? = nil, channelClass: MediaLiveClientTypes.ChannelClass? = nil, @@ -5200,6 +5275,7 @@ extension MediaLiveClientTypes { vpc: MediaLiveClientTypes.VpcOutputSettingsDescription? = nil ) { + self.anywhereSettings = anywhereSettings self.arn = arn self.cdiInputSpecification = cdiInputSpecification self.channelClass = channelClass @@ -5585,89 +5661,28 @@ extension MediaLiveClientTypes { } -extension MediaLiveClientTypes { - /// Placeholder documentation for EventBridgeRuleTemplateGroupSummary - public struct EventBridgeRuleTemplateGroupSummary { - /// An eventbridge rule template group's ARN (Amazon Resource Name) - /// This member is required. - public var arn: Swift.String? - /// Placeholder documentation for __timestampIso8601 - /// This member is required. - public var createdAt: Foundation.Date? - /// A resource's optional description. - public var description: Swift.String? - /// An eventbridge rule template group's id. AWS provided template groups have ids that start with aws- - /// This member is required. - public var id: Swift.String? - /// Placeholder documentation for __timestampIso8601 - public var modifiedAt: Foundation.Date? - /// A resource's name. Names must be unique within the scope of a resource type in a specific region. - /// This member is required. - public var name: Swift.String? - /// Represents the tags associated with a resource. - public var tags: [Swift.String: Swift.String]? - /// The number of templates in a group. - /// This member is required. - public var templateCount: Swift.Int? - - public init( - arn: Swift.String? = nil, - createdAt: Foundation.Date? = nil, - description: Swift.String? = nil, - id: Swift.String? = nil, - modifiedAt: Foundation.Date? = nil, - name: Swift.String? = nil, - tags: [Swift.String: Swift.String]? = nil, - templateCount: Swift.Int? = nil - ) - { - self.arn = arn - self.createdAt = createdAt - self.description = description - self.id = id - self.modifiedAt = modifiedAt - self.name = name - self.tags = tags - self.templateCount = templateCount - } - } - -} - extension MediaLiveClientTypes { - /// The type of event to match with the rule. - public enum EventBridgeRuleTemplateEventType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case mediaconnectAlert - case mediaconnectFlowStatusChange - case mediaconnectOutputHealth - case mediaconnectSourceHealth - case medialiveChannelAlert - case medialiveChannelInputChange - case medialiveChannelStateChange - case medialiveMultiplexAlert - case medialiveMultiplexStateChange - case mediapackageHarvestJobNotification - case mediapackageInputNotification - case mediapackageKeyProviderNotification - case signalMapActiveAlarm + /// Used in DescribeChannelPlacementGroupResult + public enum ChannelPlacementGroupState: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case assigned + case assigning + case deleted + case deleteFailed + case deleting + case unassigned + case unassigning case sdkUnknown(Swift.String) - public static var allCases: [EventBridgeRuleTemplateEventType] { + public static var allCases: [ChannelPlacementGroupState] { return [ - .mediaconnectAlert, - .mediaconnectFlowStatusChange, - .mediaconnectOutputHealth, - .mediaconnectSourceHealth, - .medialiveChannelAlert, - .medialiveChannelInputChange, - .medialiveChannelStateChange, - .medialiveMultiplexAlert, - .medialiveMultiplexStateChange, - .mediapackageHarvestJobNotification, - .mediapackageInputNotification, - .mediapackageKeyProviderNotification, - .signalMapActiveAlarm + .assigned, + .assigning, + .deleted, + .deleteFailed, + .deleting, + .unassigned, + .unassigning ] } @@ -5678,19 +5693,13 @@ extension MediaLiveClientTypes { public var rawValue: Swift.String { switch self { - case .mediaconnectAlert: return "MEDIACONNECT_ALERT" - case .mediaconnectFlowStatusChange: return "MEDIACONNECT_FLOW_STATUS_CHANGE" - case .mediaconnectOutputHealth: return "MEDIACONNECT_OUTPUT_HEALTH" - case .mediaconnectSourceHealth: return "MEDIACONNECT_SOURCE_HEALTH" - case .medialiveChannelAlert: return "MEDIALIVE_CHANNEL_ALERT" - case .medialiveChannelInputChange: return "MEDIALIVE_CHANNEL_INPUT_CHANGE" - case .medialiveChannelStateChange: return "MEDIALIVE_CHANNEL_STATE_CHANGE" - case .medialiveMultiplexAlert: return "MEDIALIVE_MULTIPLEX_ALERT" - case .medialiveMultiplexStateChange: return "MEDIALIVE_MULTIPLEX_STATE_CHANGE" - case .mediapackageHarvestJobNotification: return "MEDIAPACKAGE_HARVEST_JOB_NOTIFICATION" - case .mediapackageInputNotification: return "MEDIAPACKAGE_INPUT_NOTIFICATION" - case .mediapackageKeyProviderNotification: return "MEDIAPACKAGE_KEY_PROVIDER_NOTIFICATION" - case .signalMapActiveAlarm: return "SIGNAL_MAP_ACTIVE_ALARM" + case .assigned: return "ASSIGNED" + case .assigning: return "ASSIGNING" + case .deleted: return "DELETED" + case .deleteFailed: return "DELETE_FAILED" + case .deleting: return "DELETING" + case .unassigned: return "UNASSIGNED" + case .unassigning: return "UNASSIGNING" case let .sdkUnknown(s): return s } } @@ -5698,76 +5707,40 @@ extension MediaLiveClientTypes { } extension MediaLiveClientTypes { - /// Placeholder documentation for EventBridgeRuleTemplateSummary - public struct EventBridgeRuleTemplateSummary { - /// An eventbridge rule template's ARN (Amazon Resource Name) - /// This member is required. + /// Contains the response for ListChannelPlacementGroups + public struct DescribeChannelPlacementGroupSummary { + /// The ARN of this ChannelPlacementGroup. It is automatically assigned when the ChannelPlacementGroup is created. public var arn: Swift.String? - /// Placeholder documentation for __timestampIso8601 - /// This member is required. - public var createdAt: Foundation.Date? - /// A resource's optional description. - public var description: Swift.String? - /// The number of targets configured to send matching events. - /// This member is required. - public var eventTargetCount: Swift.Int? - /// The type of event to match with the rule. - /// This member is required. - public var eventType: MediaLiveClientTypes.EventBridgeRuleTemplateEventType? - /// An eventbridge rule template group's id. AWS provided template groups have ids that start with aws- - /// This member is required. - public var groupId: Swift.String? - /// An eventbridge rule template's id. AWS provided templates have ids that start with aws- - /// This member is required. + /// Used in ListChannelPlacementGroupsResult + public var channels: [Swift.String]? + /// The ID of the Cluster that the Node belongs to. + public var clusterId: Swift.String? + /// The ID of the ChannelPlacementGroup. Unique in the AWS account. The ID is the resource-id portion of the ARN. public var id: Swift.String? - /// Placeholder documentation for __timestampIso8601 - public var modifiedAt: Foundation.Date? - /// A resource's name. Names must be unique within the scope of a resource type in a specific region. - /// This member is required. + /// The name that you specified for the ChannelPlacementGroup. public var name: Swift.String? - /// Represents the tags associated with a resource. - public var tags: [Swift.String: Swift.String]? + /// An array with one item, which is the signle Node that is associated with the ChannelPlacementGroup. + public var nodes: [Swift.String]? + /// The current state of the ChannelPlacementGroup. + public var state: MediaLiveClientTypes.ChannelPlacementGroupState? public init( arn: Swift.String? = nil, - createdAt: Foundation.Date? = nil, - description: Swift.String? = nil, - eventTargetCount: Swift.Int? = nil, - eventType: MediaLiveClientTypes.EventBridgeRuleTemplateEventType? = nil, - groupId: Swift.String? = nil, + channels: [Swift.String]? = nil, + clusterId: Swift.String? = nil, id: Swift.String? = nil, - modifiedAt: Foundation.Date? = nil, name: Swift.String? = nil, - tags: [Swift.String: Swift.String]? = nil + nodes: [Swift.String]? = nil, + state: MediaLiveClientTypes.ChannelPlacementGroupState? = nil ) { self.arn = arn - self.createdAt = createdAt - self.description = description - self.eventTargetCount = eventTargetCount - self.eventType = eventType - self.groupId = groupId + self.channels = channels + self.clusterId = clusterId self.id = id - self.modifiedAt = modifiedAt self.name = name - self.tags = tags - } - } - -} - -extension MediaLiveClientTypes { - /// The target to which to send matching events. - public struct EventBridgeRuleTemplateTarget { - /// Target ARNs must be either an SNS topic or CloudWatch log group. - /// This member is required. - public var arn: Swift.String? - - public init( - arn: Swift.String? = nil - ) - { - self.arn = arn + self.nodes = nodes + self.state = state } } @@ -5775,18 +5748,14 @@ extension MediaLiveClientTypes { extension MediaLiveClientTypes { - /// Hls Ad Markers - public enum HlsAdMarkers: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case adobe - case elemental - case elementalScte35 + /// Used in CreateClusterSummary, DescribeClusterSummary, DescribeClusterResult, UpdateClusterResult. + public enum ClusterType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case onPremises case sdkUnknown(Swift.String) - public static var allCases: [HlsAdMarkers] { + public static var allCases: [ClusterType] { return [ - .adobe, - .elemental, - .elementalScte35 + .onPremises ] } @@ -5797,9 +5766,7 @@ extension MediaLiveClientTypes { public var rawValue: Swift.String { switch self { - case .adobe: return "ADOBE" - case .elemental: return "ELEMENTAL" - case .elementalScte35: return "ELEMENTAL_SCTE35" + case .onPremises: return "ON_PREMISES" case let .sdkUnknown(s): return s } } @@ -5807,48 +5774,40 @@ extension MediaLiveClientTypes { } extension MediaLiveClientTypes { - /// The properties for a VPC type input destination. - public struct InputDestinationVpc { - /// The availability zone of the Input destination. - public var availabilityZone: Swift.String? - /// The network interface ID of the Input destination in the VPC. - public var networkInterfaceId: Swift.String? + /// Used in ClusterNetworkSettings + public struct InterfaceMapping { + /// The logical name for one interface (on every Node) that handles a specific type of traffic. We recommend that the name hints at the physical interface it applies to. For example, it could refer to the traffic that the physical interface handles. For example, my-Inputs-Interface. + public var logicalInterfaceName: Swift.String? + /// The ID of the network that you want to connect to the specified logicalInterfaceName. + public var networkId: Swift.String? public init( - availabilityZone: Swift.String? = nil, - networkInterfaceId: Swift.String? = nil + logicalInterfaceName: Swift.String? = nil, + networkId: Swift.String? = nil ) { - self.availabilityZone = availabilityZone - self.networkInterfaceId = networkInterfaceId + self.logicalInterfaceName = logicalInterfaceName + self.networkId = networkId } } } extension MediaLiveClientTypes { - /// The settings for a PUSH type input. - public struct InputDestination { - /// The system-generated static IP address of endpoint. It remains fixed for the lifetime of the input. - public var ip: Swift.String? - /// The port number for the input. - public var port: Swift.String? - /// This represents the endpoint that the customer stream will be pushed to. - public var url: Swift.String? - /// The properties for a VPC type input destination. - public var vpc: MediaLiveClientTypes.InputDestinationVpc? + /// Used in DescribeClusterResult, DescribeClusterSummary, UpdateClusterResult. + public struct ClusterNetworkSettings { + /// The network interface that is the default route for traffic to and from the node. MediaLive Anywhere uses this default when the destination for the traffic isn't covered by the route table for any of the networks. Specify the value of the appropriate logicalInterfaceName parameter that you create in the interfaceMappings. + public var defaultRoute: Swift.String? + /// An array of interfaceMapping objects for this Cluster. Each mapping logically connects one interface on the nodes with one Network. You need only one mapping for each interface because all the Nodes share the mapping. + public var interfaceMappings: [MediaLiveClientTypes.InterfaceMapping]? public init( - ip: Swift.String? = nil, - port: Swift.String? = nil, - url: Swift.String? = nil, - vpc: MediaLiveClientTypes.InputDestinationVpc? = nil + defaultRoute: Swift.String? = nil, + interfaceMappings: [MediaLiveClientTypes.InterfaceMapping]? = nil ) { - self.ip = ip - self.port = port - self.url = url - self.vpc = vpc + self.defaultRoute = defaultRoute + self.interfaceMappings = interfaceMappings } } @@ -5856,16 +5815,24 @@ extension MediaLiveClientTypes { extension MediaLiveClientTypes { - /// A standard input has two sources and a single pipeline input only has one. - public enum InputClass: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case singlePipeline - case standard + /// Used in DescribeClusterSummary, DescribeClusterResult, UpdateClusterResult. + public enum ClusterState: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case active + case createFailed + case creating + case deleted + case deleteFailed + case deleting case sdkUnknown(Swift.String) - public static var allCases: [InputClass] { + public static var allCases: [ClusterState] { return [ - .singlePipeline, - .standard + .active, + .createFailed, + .creating, + .deleted, + .deleteFailed, + .deleting ] } @@ -5876,8 +5843,740 @@ extension MediaLiveClientTypes { public var rawValue: Swift.String { switch self { - case .singlePipeline: return "SINGLE_PIPELINE" - case .standard: return "STANDARD" + case .active: return "ACTIVE" + case .createFailed: return "CREATE_FAILED" + case .creating: return "CREATING" + case .deleted: return "DELETED" + case .deleteFailed: return "DELETE_FAILED" + case .deleting: return "DELETING" + case let .sdkUnknown(s): return s + } + } + } +} + +extension MediaLiveClientTypes { + /// Used in ListClustersResult. + public struct DescribeClusterSummary { + /// The ARN of this Cluster. It is automatically assigned when the Cluster is created. + public var arn: Swift.String? + /// An array of the IDs of the Channels that are associated with this Cluster. One Channel is associated with the Cluster as follows: A Channel belongs to a ChannelPlacementGroup. A ChannelPlacementGroup is attached to a Node. A Node belongs to a Cluster. + public var channelIds: [Swift.String]? + /// The hardware type for the Cluster. + public var clusterType: MediaLiveClientTypes.ClusterType? + /// The ID of the Cluster. Unique in the AWS account. The ID is the resource-id portion of the ARN. + public var id: Swift.String? + /// The ARN of the IAM role for the Node in this Cluster. Any Nodes that are associated with this Cluster assume this role. The role gives permissions to the operations that you expect these Node to perform. + public var instanceRoleArn: Swift.String? + /// The name that you specified for the Cluster. + public var name: Swift.String? + /// Network settings that connect the Nodes in the Cluster to one or more of the Networks that the Cluster is associated with. + public var networkSettings: MediaLiveClientTypes.ClusterNetworkSettings? + /// The current state of the Cluster. + public var state: MediaLiveClientTypes.ClusterState? + + public init( + arn: Swift.String? = nil, + channelIds: [Swift.String]? = nil, + clusterType: MediaLiveClientTypes.ClusterType? = nil, + id: Swift.String? = nil, + instanceRoleArn: Swift.String? = nil, + name: Swift.String? = nil, + networkSettings: MediaLiveClientTypes.ClusterNetworkSettings? = nil, + state: MediaLiveClientTypes.ClusterState? = nil + ) + { + self.arn = arn + self.channelIds = channelIds + self.clusterType = clusterType + self.id = id + self.instanceRoleArn = instanceRoleArn + self.name = name + self.networkSettings = networkSettings + self.state = state + } + } + +} + +extension MediaLiveClientTypes { + /// Used in DescribeNetworkResult, DescribeNetworkSummary, UpdateNetworkResult. + public struct IpPool { + /// A CIDR block of IP addresses that are reserved for MediaLive Anywhere. + public var cidr: Swift.String? + + public init( + cidr: Swift.String? = nil + ) + { + self.cidr = cidr + } + } + +} + +extension MediaLiveClientTypes { + /// Used in DescribeNetworkResult, DescribeNetworkSummary, UpdateNetworkResult. + public struct Route { + /// A CIDR block for one Route. + public var cidr: Swift.String? + /// The IP address of the Gateway for this route, if applicable. + public var gateway: Swift.String? + + public init( + cidr: Swift.String? = nil, + gateway: Swift.String? = nil + ) + { + self.cidr = cidr + self.gateway = gateway + } + } + +} + +extension MediaLiveClientTypes { + + /// Used in DescribeNetworkResult, DescribeNetworkSummary, UpdateNetworkResult. + public enum NetworkState: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case active + case createFailed + case creating + case deleted + case deleteFailed + case deleting + case idle + case inUse + case updating + case sdkUnknown(Swift.String) + + public static var allCases: [NetworkState] { + return [ + .active, + .createFailed, + .creating, + .deleted, + .deleteFailed, + .deleting, + .idle, + .inUse, + .updating + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .active: return "ACTIVE" + case .createFailed: return "CREATE_FAILED" + case .creating: return "CREATING" + case .deleted: return "DELETED" + case .deleteFailed: return "DELETE_FAILED" + case .deleting: return "DELETING" + case .idle: return "IDLE" + case .inUse: return "IN_USE" + case .updating: return "UPDATING" + case let .sdkUnknown(s): return s + } + } + } +} + +extension MediaLiveClientTypes { + /// Used in ListNetworksResult. + public struct DescribeNetworkSummary { + /// The ARN of this Network. It is automatically assigned when the Network is created. + public var arn: Swift.String? + /// Placeholder documentation for __listOf__string + public var associatedClusterIds: [Swift.String]? + /// The ID of the Network. Unique in the AWS account. The ID is the resource-id portion of the ARN. + public var id: Swift.String? + /// An array of IpPools in your organization's network that identify a collection of IP addresses in your organization's network that are reserved for use in MediaLive Anywhere. MediaLive Anywhere uses these IP addresses for Push inputs (in both Bridge and NAT networks) and for output destinations (only in Bridge networks). Each IpPool specifies one CIDR block. + public var ipPools: [MediaLiveClientTypes.IpPool]? + /// The name that you specified for this Network. + public var name: Swift.String? + /// An array of routes that MediaLive Anywhere needs to know about in order to route encoding traffic. + public var routes: [MediaLiveClientTypes.Route]? + /// The current state of the Network. Only MediaLive Anywhere can change the state. + public var state: MediaLiveClientTypes.NetworkState? + + public init( + arn: Swift.String? = nil, + associatedClusterIds: [Swift.String]? = nil, + id: Swift.String? = nil, + ipPools: [MediaLiveClientTypes.IpPool]? = nil, + name: Swift.String? = nil, + routes: [MediaLiveClientTypes.Route]? = nil, + state: MediaLiveClientTypes.NetworkState? = nil + ) + { + self.arn = arn + self.associatedClusterIds = associatedClusterIds + self.id = id + self.ipPools = ipPools + self.name = name + self.routes = routes + self.state = state + } + } + +} + +extension MediaLiveClientTypes { + + /// Used in DescribeNodeSummary. + public enum NodeConnectionState: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case connected + case disconnected + case sdkUnknown(Swift.String) + + public static var allCases: [NodeConnectionState] { + return [ + .connected, + .disconnected + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .connected: return "CONNECTED" + case .disconnected: return "DISCONNECTED" + case let .sdkUnknown(s): return s + } + } + } +} + +extension MediaLiveClientTypes { + + /// Used in NodeInterfaceMapping and NodeInterfaceMappingCreateRequest + public enum NetworkInterfaceMode: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case bridge + case nat + case sdkUnknown(Swift.String) + + public static var allCases: [NetworkInterfaceMode] { + return [ + .bridge, + .nat + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .bridge: return "BRIDGE" + case .nat: return "NAT" + case let .sdkUnknown(s): return s + } + } + } +} + +extension MediaLiveClientTypes { + /// A mapping that's used to pair a logical network interface name on a Node with the physical interface name exposed in the operating system. + public struct NodeInterfaceMapping { + /// A uniform logical interface name to address in a MediaLive channel configuration. + public var logicalInterfaceName: Swift.String? + /// Used in NodeInterfaceMapping and NodeInterfaceMappingCreateRequest + public var networkInterfaceMode: MediaLiveClientTypes.NetworkInterfaceMode? + /// The name of the physical interface on the hardware that will be running Elemental anywhere. + public var physicalInterfaceName: Swift.String? + + public init( + logicalInterfaceName: Swift.String? = nil, + networkInterfaceMode: MediaLiveClientTypes.NetworkInterfaceMode? = nil, + physicalInterfaceName: Swift.String? = nil + ) + { + self.logicalInterfaceName = logicalInterfaceName + self.networkInterfaceMode = networkInterfaceMode + self.physicalInterfaceName = physicalInterfaceName + } + } + +} + +extension MediaLiveClientTypes { + + /// Used in CreateNodeRequest, CreateNodeRegistrationScriptRequest, DescribeNodeResult, DescribeNodeSummary, UpdateNodeRequest. + public enum NodeRole: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case active + case backup + case sdkUnknown(Swift.String) + + public static var allCases: [NodeRole] { + return [ + .active, + .backup + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .active: return "ACTIVE" + case .backup: return "BACKUP" + case let .sdkUnknown(s): return s + } + } + } +} + +extension MediaLiveClientTypes { + + /// Used in DescribeNodeSummary. + public enum NodeState: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case activationFailed + case active + case created + case deregistered + case deregistering + case deregistrationFailed + case draining + case inUse + case ready + case readyToActivate + case registering + case registrationFailed + case sdkUnknown(Swift.String) + + public static var allCases: [NodeState] { + return [ + .activationFailed, + .active, + .created, + .deregistered, + .deregistering, + .deregistrationFailed, + .draining, + .inUse, + .ready, + .readyToActivate, + .registering, + .registrationFailed + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .activationFailed: return "ACTIVATION_FAILED" + case .active: return "ACTIVE" + case .created: return "CREATED" + case .deregistered: return "DEREGISTERED" + case .deregistering: return "DEREGISTERING" + case .deregistrationFailed: return "DEREGISTRATION_FAILED" + case .draining: return "DRAINING" + case .inUse: return "IN_USE" + case .ready: return "READY" + case .readyToActivate: return "READY_TO_ACTIVATE" + case .registering: return "REGISTERING" + case .registrationFailed: return "REGISTRATION_FAILED" + case let .sdkUnknown(s): return s + } + } + } +} + +extension MediaLiveClientTypes { + /// Placeholder documentation for DescribeNodeSummary + public struct DescribeNodeSummary { + /// The ARN of the Node. It is automatically assigned when the Node is created. + public var arn: Swift.String? + /// An array of IDs. Each ID is one ChannelPlacementGroup that is associated with this Node. Empty if the Node is not yet associated with any groups. + public var channelPlacementGroups: [Swift.String]? + /// The ID of the Cluster that the Node belongs to. + public var clusterId: Swift.String? + /// The current connection state of the Node. + public var connectionState: MediaLiveClientTypes.NodeConnectionState? + /// The unique ID of the Node. Unique in the Cluster. The ID is the resource-id portion of the ARN. + public var id: Swift.String? + /// The EC2 ARN of the Instance associated with the Node. + public var instanceArn: Swift.String? + /// At the routing layer will get it from the callerId/context for use with bring your own device. + public var managedInstanceId: Swift.String? + /// The name that you specified for the Node. + public var name: Swift.String? + /// Documentation update needed + public var nodeInterfaceMappings: [MediaLiveClientTypes.NodeInterfaceMapping]? + /// The initial role current role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails. + public var role: MediaLiveClientTypes.NodeRole? + /// The current state of the Node. + public var state: MediaLiveClientTypes.NodeState? + + public init( + arn: Swift.String? = nil, + channelPlacementGroups: [Swift.String]? = nil, + clusterId: Swift.String? = nil, + connectionState: MediaLiveClientTypes.NodeConnectionState? = nil, + id: Swift.String? = nil, + instanceArn: Swift.String? = nil, + managedInstanceId: Swift.String? = nil, + name: Swift.String? = nil, + nodeInterfaceMappings: [MediaLiveClientTypes.NodeInterfaceMapping]? = nil, + role: MediaLiveClientTypes.NodeRole? = nil, + state: MediaLiveClientTypes.NodeState? = nil + ) + { + self.arn = arn + self.channelPlacementGroups = channelPlacementGroups + self.clusterId = clusterId + self.connectionState = connectionState + self.id = id + self.instanceArn = instanceArn + self.managedInstanceId = managedInstanceId + self.name = name + self.nodeInterfaceMappings = nodeInterfaceMappings + self.role = role + self.state = state + } + } + +} + +extension MediaLiveClientTypes { + /// Placeholder documentation for EventBridgeRuleTemplateGroupSummary + public struct EventBridgeRuleTemplateGroupSummary { + /// An eventbridge rule template group's ARN (Amazon Resource Name) + /// This member is required. + public var arn: Swift.String? + /// Placeholder documentation for __timestampIso8601 + /// This member is required. + public var createdAt: Foundation.Date? + /// A resource's optional description. + public var description: Swift.String? + /// An eventbridge rule template group's id. AWS provided template groups have ids that start with aws- + /// This member is required. + public var id: Swift.String? + /// Placeholder documentation for __timestampIso8601 + public var modifiedAt: Foundation.Date? + /// A resource's name. Names must be unique within the scope of a resource type in a specific region. + /// This member is required. + public var name: Swift.String? + /// Represents the tags associated with a resource. + public var tags: [Swift.String: Swift.String]? + /// The number of templates in a group. + /// This member is required. + public var templateCount: Swift.Int? + + public init( + arn: Swift.String? = nil, + createdAt: Foundation.Date? = nil, + description: Swift.String? = nil, + id: Swift.String? = nil, + modifiedAt: Foundation.Date? = nil, + name: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil, + templateCount: Swift.Int? = nil + ) + { + self.arn = arn + self.createdAt = createdAt + self.description = description + self.id = id + self.modifiedAt = modifiedAt + self.name = name + self.tags = tags + self.templateCount = templateCount + } + } + +} + +extension MediaLiveClientTypes { + + /// The type of event to match with the rule. + public enum EventBridgeRuleTemplateEventType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case mediaconnectAlert + case mediaconnectFlowStatusChange + case mediaconnectOutputHealth + case mediaconnectSourceHealth + case medialiveChannelAlert + case medialiveChannelInputChange + case medialiveChannelStateChange + case medialiveMultiplexAlert + case medialiveMultiplexStateChange + case mediapackageHarvestJobNotification + case mediapackageInputNotification + case mediapackageKeyProviderNotification + case signalMapActiveAlarm + case sdkUnknown(Swift.String) + + public static var allCases: [EventBridgeRuleTemplateEventType] { + return [ + .mediaconnectAlert, + .mediaconnectFlowStatusChange, + .mediaconnectOutputHealth, + .mediaconnectSourceHealth, + .medialiveChannelAlert, + .medialiveChannelInputChange, + .medialiveChannelStateChange, + .medialiveMultiplexAlert, + .medialiveMultiplexStateChange, + .mediapackageHarvestJobNotification, + .mediapackageInputNotification, + .mediapackageKeyProviderNotification, + .signalMapActiveAlarm + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .mediaconnectAlert: return "MEDIACONNECT_ALERT" + case .mediaconnectFlowStatusChange: return "MEDIACONNECT_FLOW_STATUS_CHANGE" + case .mediaconnectOutputHealth: return "MEDIACONNECT_OUTPUT_HEALTH" + case .mediaconnectSourceHealth: return "MEDIACONNECT_SOURCE_HEALTH" + case .medialiveChannelAlert: return "MEDIALIVE_CHANNEL_ALERT" + case .medialiveChannelInputChange: return "MEDIALIVE_CHANNEL_INPUT_CHANGE" + case .medialiveChannelStateChange: return "MEDIALIVE_CHANNEL_STATE_CHANGE" + case .medialiveMultiplexAlert: return "MEDIALIVE_MULTIPLEX_ALERT" + case .medialiveMultiplexStateChange: return "MEDIALIVE_MULTIPLEX_STATE_CHANGE" + case .mediapackageHarvestJobNotification: return "MEDIAPACKAGE_HARVEST_JOB_NOTIFICATION" + case .mediapackageInputNotification: return "MEDIAPACKAGE_INPUT_NOTIFICATION" + case .mediapackageKeyProviderNotification: return "MEDIAPACKAGE_KEY_PROVIDER_NOTIFICATION" + case .signalMapActiveAlarm: return "SIGNAL_MAP_ACTIVE_ALARM" + case let .sdkUnknown(s): return s + } + } + } +} + +extension MediaLiveClientTypes { + /// Placeholder documentation for EventBridgeRuleTemplateSummary + public struct EventBridgeRuleTemplateSummary { + /// An eventbridge rule template's ARN (Amazon Resource Name) + /// This member is required. + public var arn: Swift.String? + /// Placeholder documentation for __timestampIso8601 + /// This member is required. + public var createdAt: Foundation.Date? + /// A resource's optional description. + public var description: Swift.String? + /// The number of targets configured to send matching events. + /// This member is required. + public var eventTargetCount: Swift.Int? + /// The type of event to match with the rule. + /// This member is required. + public var eventType: MediaLiveClientTypes.EventBridgeRuleTemplateEventType? + /// An eventbridge rule template group's id. AWS provided template groups have ids that start with aws- + /// This member is required. + public var groupId: Swift.String? + /// An eventbridge rule template's id. AWS provided templates have ids that start with aws- + /// This member is required. + public var id: Swift.String? + /// Placeholder documentation for __timestampIso8601 + public var modifiedAt: Foundation.Date? + /// A resource's name. Names must be unique within the scope of a resource type in a specific region. + /// This member is required. + public var name: Swift.String? + /// Represents the tags associated with a resource. + public var tags: [Swift.String: Swift.String]? + + public init( + arn: Swift.String? = nil, + createdAt: Foundation.Date? = nil, + description: Swift.String? = nil, + eventTargetCount: Swift.Int? = nil, + eventType: MediaLiveClientTypes.EventBridgeRuleTemplateEventType? = nil, + groupId: Swift.String? = nil, + id: Swift.String? = nil, + modifiedAt: Foundation.Date? = nil, + name: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.arn = arn + self.createdAt = createdAt + self.description = description + self.eventTargetCount = eventTargetCount + self.eventType = eventType + self.groupId = groupId + self.id = id + self.modifiedAt = modifiedAt + self.name = name + self.tags = tags + } + } + +} + +extension MediaLiveClientTypes { + /// The target to which to send matching events. + public struct EventBridgeRuleTemplateTarget { + /// Target ARNs must be either an SNS topic or CloudWatch log group. + /// This member is required. + public var arn: Swift.String? + + public init( + arn: Swift.String? = nil + ) + { + self.arn = arn + } + } + +} + +extension MediaLiveClientTypes { + + /// Hls Ad Markers + public enum HlsAdMarkers: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case adobe + case elemental + case elementalScte35 + case sdkUnknown(Swift.String) + + public static var allCases: [HlsAdMarkers] { + return [ + .adobe, + .elemental, + .elementalScte35 + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .adobe: return "ADOBE" + case .elemental: return "ELEMENTAL" + case .elementalScte35: return "ELEMENTAL_SCTE35" + case let .sdkUnknown(s): return s + } + } + } +} + +extension MediaLiveClientTypes { + /// A network route configuration. + public struct InputDestinationRoute { + /// The CIDR of the route. + public var cidr: Swift.String? + /// An optional gateway for the route. + public var gateway: Swift.String? + + public init( + cidr: Swift.String? = nil, + gateway: Swift.String? = nil + ) + { + self.cidr = cidr + self.gateway = gateway + } + } + +} + +extension MediaLiveClientTypes { + /// The properties for a VPC type input destination. + public struct InputDestinationVpc { + /// The availability zone of the Input destination. + public var availabilityZone: Swift.String? + /// The network interface ID of the Input destination in the VPC. + public var networkInterfaceId: Swift.String? + + public init( + availabilityZone: Swift.String? = nil, + networkInterfaceId: Swift.String? = nil + ) + { + self.availabilityZone = availabilityZone + self.networkInterfaceId = networkInterfaceId + } + } + +} + +extension MediaLiveClientTypes { + /// The settings for a PUSH type input. + public struct InputDestination { + /// The system-generated static IP address of endpoint. It remains fixed for the lifetime of the input. + public var ip: Swift.String? + /// The ID of the attached network. + public var network: Swift.String? + /// If the push input has an input location of ON-PREM it's a requirement to specify what the route of the input is going to be on the customer local network. + public var networkRoutes: [MediaLiveClientTypes.InputDestinationRoute]? + /// The port number for the input. + public var port: Swift.String? + /// This represents the endpoint that the customer stream will be pushed to. + public var url: Swift.String? + /// The properties for a VPC type input destination. + public var vpc: MediaLiveClientTypes.InputDestinationVpc? + + public init( + ip: Swift.String? = nil, + network: Swift.String? = nil, + networkRoutes: [MediaLiveClientTypes.InputDestinationRoute]? = nil, + port: Swift.String? = nil, + url: Swift.String? = nil, + vpc: MediaLiveClientTypes.InputDestinationVpc? = nil + ) + { + self.ip = ip + self.network = network + self.networkRoutes = networkRoutes + self.port = port + self.url = url + self.vpc = vpc + } + } + +} + +extension MediaLiveClientTypes { + + /// A standard input has two sources and a single pipeline input only has one. + public enum InputClass: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case singlePipeline + case standard + case sdkUnknown(Swift.String) + + public static var allCases: [InputClass] { + return [ + .singlePipeline, + .standard + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .singlePipeline: return "SINGLE_PIPELINE" + case .standard: return "STANDARD" case let .sdkUnknown(s): return s } } @@ -5900,6 +6599,39 @@ extension MediaLiveClientTypes { } +extension MediaLiveClientTypes { + + /// With the introduction of MediaLive OnPrem, a MediaLive input can now exist in two different places: AWS or inside an on-premise datacenter. By default all inputs will continue to be AWS inputs. + public enum InputNetworkLocation: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case aws + case onPremise + case onPremises + case sdkUnknown(Swift.String) + + public static var allCases: [InputNetworkLocation] { + return [ + .aws, + .onPremise, + .onPremises + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .aws: return "AWS" + case .onPremise: return "ON_PREMISE" + case .onPremises: return "ON_PREMISES" + case let .sdkUnknown(s): return s + } + } + } +} + extension MediaLiveClientTypes { /// There are two types of input sources, static and dynamic. If an input source is dynamic you can change the source url of the input dynamically using an input switch action. Currently, two input types support a dynamic url at this time, MP4_FILE and TS_FILE. By default all input sources are static. @@ -5946,6 +6678,43 @@ extension MediaLiveClientTypes { } +extension MediaLiveClientTypes { + /// Pair of multicast url and source ip address (optional) that make up a multicast source. + public struct MulticastSource { + /// This represents the ip address of the device sending the multicast stream. + public var sourceIp: Swift.String? + /// This represents the customer's source URL where multicast stream is pulled from. + /// This member is required. + public var url: Swift.String? + + public init( + sourceIp: Swift.String? = nil, + url: Swift.String? = nil + ) + { + self.sourceIp = sourceIp + self.url = url + } + } + +} + +extension MediaLiveClientTypes { + /// Settings for a Multicast input. Contains a list of multicast Urls and optional source ip addresses. + public struct MulticastSettings { + /// Placeholder documentation for __listOfMulticastSource + public var sources: [MediaLiveClientTypes.MulticastSource]? + + public init( + sources: [MediaLiveClientTypes.MulticastSource]? = nil + ) + { + self.sources = sources + } + } + +} + extension MediaLiveClientTypes { /// The settings for a PULL type input. public struct InputSource { @@ -6118,6 +6887,7 @@ extension MediaLiveClientTypes { case inputDevice case mediaconnect case mp4File + case multicast case rtmpPull case rtmpPush case rtpPush @@ -6133,6 +6903,7 @@ extension MediaLiveClientTypes { .inputDevice, .mediaconnect, .mp4File, + .multicast, .rtmpPull, .rtmpPush, .rtpPush, @@ -6154,6 +6925,7 @@ extension MediaLiveClientTypes { case .inputDevice: return "INPUT_DEVICE" case .mediaconnect: return "MEDIACONNECT" case .mp4File: return "MP4_FILE" + case .multicast: return "MULTICAST" case .rtmpPull: return "RTMP_PULL" case .rtmpPush: return "RTMP_PUSH" case .rtpPush: return "RTP_PUSH" @@ -6182,12 +6954,16 @@ extension MediaLiveClientTypes { public var inputClass: MediaLiveClientTypes.InputClass? /// Settings for the input devices. public var inputDevices: [MediaLiveClientTypes.InputDeviceSettings]? + /// The location of this input. AWS, for an input existing in the AWS Cloud, On-Prem for an input in a customer network. + public var inputNetworkLocation: MediaLiveClientTypes.InputNetworkLocation? /// A list of IDs for all Inputs which are partners of this one. public var inputPartnerIds: [Swift.String]? /// Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes during input switch actions. Presently, this functionality only works with MP4_FILE and TS_FILE inputs. public var inputSourceType: MediaLiveClientTypes.InputSourceType? /// A list of MediaConnect Flows for this input. public var mediaConnectFlows: [MediaLiveClientTypes.MediaConnectFlow]? + /// Multicast Input settings. + public var multicastSettings: MediaLiveClientTypes.MulticastSettings? /// The user-assigned name (This is a mutable value). public var name: Swift.String? /// The Amazon Resource Name (ARN) of the role this input assumes during and after creation. @@ -6212,9 +6988,11 @@ extension MediaLiveClientTypes { id: Swift.String? = nil, inputClass: MediaLiveClientTypes.InputClass? = nil, inputDevices: [MediaLiveClientTypes.InputDeviceSettings]? = nil, + inputNetworkLocation: MediaLiveClientTypes.InputNetworkLocation? = nil, inputPartnerIds: [Swift.String]? = nil, inputSourceType: MediaLiveClientTypes.InputSourceType? = nil, mediaConnectFlows: [MediaLiveClientTypes.MediaConnectFlow]? = nil, + multicastSettings: MediaLiveClientTypes.MulticastSettings? = nil, name: Swift.String? = nil, roleArn: Swift.String? = nil, securityGroups: [Swift.String]? = nil, @@ -6231,9 +7009,11 @@ extension MediaLiveClientTypes { self.id = id self.inputClass = inputClass self.inputDevices = inputDevices + self.inputNetworkLocation = inputNetworkLocation self.inputPartnerIds = inputPartnerIds self.inputSourceType = inputSourceType self.mediaConnectFlows = mediaConnectFlows + self.multicastSettings = multicastSettings self.name = name self.roleArn = roleArn self.securityGroups = securityGroups @@ -6247,16 +7027,48 @@ extension MediaLiveClientTypes { } +extension MediaLiveClientTypes { + /// A network route configuration. + public struct InputRequestDestinationRoute { + /// The CIDR of the route. + public var cidr: Swift.String? + /// An optional gateway for the route. + public var gateway: Swift.String? + + public init( + cidr: Swift.String? = nil, + gateway: Swift.String? = nil + ) + { + self.cidr = cidr + self.gateway = gateway + } + } + +} + extension MediaLiveClientTypes { /// Endpoint settings for a PUSH type input. public struct InputDestinationRequest { + /// If the push input has an input location of ON-PREM, ID the ID of the attached network. + public var network: Swift.String? + /// If the push input has an input location of ON-PREM it's a requirement to specify what the route of the input is going to be on the customer local network. + public var networkRoutes: [MediaLiveClientTypes.InputRequestDestinationRoute]? + /// If the push input has an input location of ON-PREM it's optional to specify what the ip address of the input is going to be on the customer local network. + public var staticIpAddress: Swift.String? /// A unique name for the location the RTMP stream is being pushed to. public var streamName: Swift.String? public init( + network: Swift.String? = nil, + networkRoutes: [MediaLiveClientTypes.InputRequestDestinationRoute]? = nil, + staticIpAddress: Swift.String? = nil, streamName: Swift.String? = nil ) { + self.network = network + self.networkRoutes = networkRoutes + self.staticIpAddress = staticIpAddress self.streamName = streamName } } @@ -7126,6 +7938,78 @@ extension MediaLiveClientTypes { } +extension MediaLiveClientTypes { + /// Used in ClusterNetworkSettingsCreateRequest. + public struct InterfaceMappingCreateRequest { + /// The logical name for one interface (on every Node) that handles a specific type of traffic. We recommend that the name hints at the physical interface it applies to. For example, it could refer to the traffic that the physical interface handles. For example, my-Inputs-Interface. + public var logicalInterfaceName: Swift.String? + /// The ID of the network that you want to connect to the specified logicalInterfaceName. + public var networkId: Swift.String? + + public init( + logicalInterfaceName: Swift.String? = nil, + networkId: Swift.String? = nil + ) + { + self.logicalInterfaceName = logicalInterfaceName + self.networkId = networkId + } + } + +} + +extension MediaLiveClientTypes { + /// Placeholder documentation for InterfaceMappingUpdateRequest + public struct InterfaceMappingUpdateRequest { + /// The logical name for one interface (on every Node) that handles a specific type of traffic. We recommend that the name hints at the physical interface it applies to. For example, it could refer to the traffic that the physical interface handles. For example, my-Inputs-Interface. + public var logicalInterfaceName: Swift.String? + /// The ID of the network that you want to connect to the specified logicalInterfaceName. You can use the ListNetworks operation to discover all the IDs. + public var networkId: Swift.String? + + public init( + logicalInterfaceName: Swift.String? = nil, + networkId: Swift.String? = nil + ) + { + self.logicalInterfaceName = logicalInterfaceName + self.networkId = networkId + } + } + +} + +extension MediaLiveClientTypes { + /// Used in CreateNetworkRequest. + public struct IpPoolCreateRequest { + /// A CIDR block of IP addresses to reserve for MediaLive Anywhere. + public var cidr: Swift.String? + + public init( + cidr: Swift.String? = nil + ) + { + self.cidr = cidr + } + } + +} + +extension MediaLiveClientTypes { + /// Used in UpdateNetworkRequest. + public struct IpPoolUpdateRequest { + /// A CIDR block of IP addresses to reserve for MediaLive Anywhere. + public var cidr: Swift.String? + + public init( + cidr: Swift.String? = nil + ) + { + self.cidr = cidr + } + } + +} + extension MediaLiveClientTypes { /// The settings for a MediaConnect Flow. public struct MediaConnectFlowRequest { @@ -7163,6 +8047,48 @@ extension MediaLiveClientTypes { } +extension MediaLiveClientTypes { + /// Pair of multicast url and source ip address (optional) that make up a multicast source. + public struct MulticastSourceCreateRequest { + /// This represents the ip address of the device sending the multicast stream. + public var sourceIp: Swift.String? + /// This represents the customer's source URL where multicast stream is pulled from. + /// This member is required. + public var url: Swift.String? + + public init( + sourceIp: Swift.String? = nil, + url: Swift.String? = nil + ) + { + self.sourceIp = sourceIp + self.url = url + } + } + +} + +extension MediaLiveClientTypes { + /// Pair of multicast url and source ip address (optional) that make up a multicast source. + public struct MulticastSourceUpdateRequest { + /// This represents the ip address of the device sending the multicast stream. + public var sourceIp: Swift.String? + /// This represents the customer's source URL where multicast stream is pulled from. + /// This member is required. + public var url: Swift.String? + + public init( + sourceIp: Swift.String? = nil, + url: Swift.String? = nil + ) + { + self.sourceIp = sourceIp + self.url = url + } + } + +} + extension MediaLiveClientTypes { /// Multiplex MediaConnect output destination settings. public struct MultiplexMediaConnectOutputDestinationSettings { @@ -7350,6 +8276,30 @@ extension MediaLiveClientTypes { } +extension MediaLiveClientTypes { + /// Used in CreateNodeRequest. + public struct NodeInterfaceMappingCreateRequest { + /// Specify one of the logicalInterfaceNames that you created in the Cluster that this node belongs to. For example, my-Inputs-Interface. + public var logicalInterfaceName: Swift.String? + /// The style of the network -- NAT or BRIDGE. + public var networkInterfaceMode: MediaLiveClientTypes.NetworkInterfaceMode? + /// Specify the physical name that corresponds to the logicalInterfaceName that you specified in this interface mapping. For example, Eth1 or ENO1234EXAMPLE. + public var physicalInterfaceName: Swift.String? + + public init( + logicalInterfaceName: Swift.String? = nil, + networkInterfaceMode: MediaLiveClientTypes.NetworkInterfaceMode? = nil, + physicalInterfaceName: Swift.String? = nil + ) + { + self.logicalInterfaceName = logicalInterfaceName + self.networkInterfaceMode = networkInterfaceMode + self.physicalInterfaceName = physicalInterfaceName + } + } + +} + extension MediaLiveClientTypes { /// Units for duration, e.g. 'MONTHS' @@ -7406,9 +8356,10 @@ extension MediaLiveClientTypes { extension MediaLiveClientTypes { - /// Codec, 'MPEG2', 'AVC', 'HEVC', or 'AUDIO' + /// Codec, 'MPEG2', 'AVC', 'HEVC', 'AUDIO', 'LINK', or 'AV1' public enum ReservationCodec: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { case audio + case av1 case avc case hevc case link @@ -7418,6 +8369,7 @@ extension MediaLiveClientTypes { public static var allCases: [ReservationCodec] { return [ .audio, + .av1, .avc, .hevc, .link, @@ -7433,6 +8385,7 @@ extension MediaLiveClientTypes { public var rawValue: Swift.String { switch self { case .audio: return "AUDIO" + case .av1: return "AV1" case .avc: return "AVC" case .hevc: return "HEVC" case .link: return "LINK" @@ -9425,6 +10378,73 @@ extension MediaLiveClientTypes { } +extension MediaLiveClientTypes { + + /// Srt Encryption Type + public enum SrtEncryptionType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case aes128 + case aes192 + case aes256 + case sdkUnknown(Swift.String) + + public static var allCases: [SrtEncryptionType] { + return [ + .aes128, + .aes192, + .aes256 + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .aes128: return "AES128" + case .aes192: return "AES192" + case .aes256: return "AES256" + case let .sdkUnknown(s): return s + } + } + } +} + +extension MediaLiveClientTypes { + /// Srt Output Settings + public struct SrtOutputSettings { + /// SRT output buffering in milliseconds. A higher value increases latency through the encoder. But the benefits are that it helps to maintain a constant, low-jitter SRT output, and it accommodates clock recovery, input switching, input disruptions, picture reordering, and so on. Range: 0-10000 milliseconds. + public var bufferMsec: Swift.Int? + /// Udp Container Settings + /// This member is required. + public var containerSettings: MediaLiveClientTypes.UdpContainerSettings? + /// Reference to an OutputDestination ID defined in the channel + /// This member is required. + public var destination: MediaLiveClientTypes.OutputLocationRef? + /// The encryption level for the content. Valid values are AES128, AES192, AES256. You and the downstream system should plan how to set this field because the values must not conflict with each other. + public var encryptionType: MediaLiveClientTypes.SrtEncryptionType? + /// The latency value, in milliseconds, that is proposed during the SRT connection handshake. SRT will choose the maximum of the values proposed by the sender and receiver. On the sender side, latency is the amount of time a packet is held to give it a chance to be delivered successfully. On the receiver side, latency is the amount of time the packet is held before delivering to the application, aiding in packet recovery and matching as closely as possible the packet timing of the sender. Range: 40-16000 milliseconds. + public var latency: Swift.Int? + + public init( + bufferMsec: Swift.Int? = nil, + containerSettings: MediaLiveClientTypes.UdpContainerSettings? = nil, + destination: MediaLiveClientTypes.OutputLocationRef? = nil, + encryptionType: MediaLiveClientTypes.SrtEncryptionType? = nil, + latency: Swift.Int? = nil + ) + { + self.bufferMsec = bufferMsec + self.containerSettings = containerSettings + self.destination = destination + self.encryptionType = encryptionType + self.latency = latency + } + } + +} + extension MediaLiveClientTypes { /// Fec Output Include Fec @@ -9528,6 +10548,8 @@ extension MediaLiveClientTypes { public var multiplexOutputSettings: MediaLiveClientTypes.MultiplexOutputSettings? /// Rtmp Output Settings public var rtmpOutputSettings: MediaLiveClientTypes.RtmpOutputSettings? + /// Srt Output Settings + public var srtOutputSettings: MediaLiveClientTypes.SrtOutputSettings? /// Udp Output Settings public var udpOutputSettings: MediaLiveClientTypes.UdpOutputSettings? @@ -9540,6 +10562,7 @@ extension MediaLiveClientTypes { msSmoothOutputSettings: MediaLiveClientTypes.MsSmoothOutputSettings? = nil, multiplexOutputSettings: MediaLiveClientTypes.MultiplexOutputSettings? = nil, rtmpOutputSettings: MediaLiveClientTypes.RtmpOutputSettings? = nil, + srtOutputSettings: MediaLiveClientTypes.SrtOutputSettings? = nil, udpOutputSettings: MediaLiveClientTypes.UdpOutputSettings? = nil ) { @@ -9551,6 +10574,7 @@ extension MediaLiveClientTypes { self.msSmoothOutputSettings = msSmoothOutputSettings self.multiplexOutputSettings = multiplexOutputSettings self.rtmpOutputSettings = rtmpOutputSettings + self.srtOutputSettings = srtOutputSettings self.udpOutputSettings = udpOutputSettings } } @@ -11722,6 +12746,22 @@ extension MediaLiveClientTypes { } } +extension MediaLiveClientTypes { + /// Srt Group Settings + public struct SrtGroupSettings { + /// Specifies behavior of last resort when input video is lost, and no more backup inputs are available. When dropTs is selected the entire transport stream will stop being emitted. When dropProgram is selected the program can be dropped from the transport stream (and replaced with null packets to meet the TS bitrate requirement). Or, when emitProgram is chosen the transport stream will continue to be produced normally with repeat frames, black frames, or slate frames substituted for the absent input video. + public var inputLossAction: MediaLiveClientTypes.InputLossActionForUdpOut? + + public init( + inputLossAction: MediaLiveClientTypes.InputLossActionForUdpOut? = nil + ) + { + self.inputLossAction = inputLossAction + } + } + +} + extension MediaLiveClientTypes { /// Udp Timed Metadata Id3 Frame @@ -11798,6 +12838,8 @@ extension MediaLiveClientTypes { public var multiplexGroupSettings: MediaLiveClientTypes.MultiplexGroupSettings? /// Rtmp Group Settings public var rtmpGroupSettings: MediaLiveClientTypes.RtmpGroupSettings? + /// Srt Group Settings + public var srtGroupSettings: MediaLiveClientTypes.SrtGroupSettings? /// Udp Group Settings public var udpGroupSettings: MediaLiveClientTypes.UdpGroupSettings? @@ -11810,6 +12852,7 @@ extension MediaLiveClientTypes { msSmoothGroupSettings: MediaLiveClientTypes.MsSmoothGroupSettings? = nil, multiplexGroupSettings: MediaLiveClientTypes.MultiplexGroupSettings? = nil, rtmpGroupSettings: MediaLiveClientTypes.RtmpGroupSettings? = nil, + srtGroupSettings: MediaLiveClientTypes.SrtGroupSettings? = nil, udpGroupSettings: MediaLiveClientTypes.UdpGroupSettings? = nil ) { @@ -11821,6 +12864,7 @@ extension MediaLiveClientTypes { self.msSmoothGroupSettings = msSmoothGroupSettings self.multiplexGroupSettings = multiplexGroupSettings self.rtmpGroupSettings = rtmpGroupSettings + self.srtGroupSettings = srtGroupSettings self.udpGroupSettings = udpGroupSettings } } @@ -12109,6 +13153,46 @@ extension MediaLiveClientTypes { } +extension MediaLiveClientTypes { + /// Used in CreateNetworkRequest. + public struct RouteCreateRequest { + /// A CIDR block for one Route. + public var cidr: Swift.String? + /// The IP address of the Gateway for this route, if applicable. + public var gateway: Swift.String? + + public init( + cidr: Swift.String? = nil, + gateway: Swift.String? = nil + ) + { + self.cidr = cidr + self.gateway = gateway + } + } + +} + +extension MediaLiveClientTypes { + /// Used in UpdateNetworkRequest. + public struct RouteUpdateRequest { + /// A CIDR block for one Route. + public var cidr: Swift.String? + /// The IP address of the Gateway for this route, if applicable. + public var gateway: Swift.String? + + public init( + cidr: Swift.String? = nil, + gateway: Swift.String? = nil + ) + { + self.cidr = cidr + self.gateway = gateway + } + } + +} + extension MediaLiveClientTypes { /// Settings for the action to insert a user-defined ID3 tag in each HLS segment public struct HlsId3SegmentTaggingScheduleActionSettings { @@ -13459,38 +14543,315 @@ extension MediaLiveClientTypes { } -extension MediaLiveClientTypes { - /// Placeholder documentation for ValidationError - public struct ValidationError { - /// Path to the source of the error. - public var elementPath: Swift.String? - /// The error message. - public var errorMessage: Swift.String? +extension MediaLiveClientTypes { + /// Placeholder documentation for ValidationError + public struct ValidationError { + /// Path to the source of the error. + public var elementPath: Swift.String? + /// The error message. + public var errorMessage: Swift.String? + + public init( + elementPath: Swift.String? = nil, + errorMessage: Swift.String? = nil + ) + { + self.elementPath = elementPath + self.errorMessage = errorMessage + } + } + +} + +extension MediaLiveClientTypes { + + /// Afd Signaling + public enum AfdSignaling: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case auto + case fixed + case `none` + case sdkUnknown(Swift.String) + + public static var allCases: [AfdSignaling] { + return [ + .auto, + .fixed, + .none + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .auto: return "AUTO" + case .fixed: return "FIXED" + case .none: return "NONE" + case let .sdkUnknown(s): return s + } + } + } +} + +extension MediaLiveClientTypes { + /// Passthrough applies no color space conversion to the output + public struct ColorSpacePassthroughSettings { + + public init() { } + } + +} + +extension MediaLiveClientTypes { + /// Rec601 Settings + public struct Rec601Settings { + + public init() { } + } + +} + +extension MediaLiveClientTypes { + /// Rec709 Settings + public struct Rec709Settings { + + public init() { } + } + +} + +extension MediaLiveClientTypes { + /// Av1 Color Space Settings + public struct Av1ColorSpaceSettings { + /// Passthrough applies no color space conversion to the output + public var colorSpacePassthroughSettings: MediaLiveClientTypes.ColorSpacePassthroughSettings? + /// Hdr10 Settings + public var hdr10Settings: MediaLiveClientTypes.Hdr10Settings? + /// Rec601 Settings + public var rec601Settings: MediaLiveClientTypes.Rec601Settings? + /// Rec709 Settings + public var rec709Settings: MediaLiveClientTypes.Rec709Settings? + + public init( + colorSpacePassthroughSettings: MediaLiveClientTypes.ColorSpacePassthroughSettings? = nil, + hdr10Settings: MediaLiveClientTypes.Hdr10Settings? = nil, + rec601Settings: MediaLiveClientTypes.Rec601Settings? = nil, + rec709Settings: MediaLiveClientTypes.Rec709Settings? = nil + ) + { + self.colorSpacePassthroughSettings = colorSpacePassthroughSettings + self.hdr10Settings = hdr10Settings + self.rec601Settings = rec601Settings + self.rec709Settings = rec709Settings + } + } + +} + +extension MediaLiveClientTypes { + + /// Fixed Afd + public enum FixedAfd: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case afd0000 + case afd0010 + case afd0011 + case afd0100 + case afd1000 + case afd1001 + case afd1010 + case afd1011 + case afd1101 + case afd1110 + case afd1111 + case sdkUnknown(Swift.String) + + public static var allCases: [FixedAfd] { + return [ + .afd0000, + .afd0010, + .afd0011, + .afd0100, + .afd1000, + .afd1001, + .afd1010, + .afd1011, + .afd1101, + .afd1110, + .afd1111 + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .afd0000: return "AFD_0000" + case .afd0010: return "AFD_0010" + case .afd0011: return "AFD_0011" + case .afd0100: return "AFD_0100" + case .afd1000: return "AFD_1000" + case .afd1001: return "AFD_1001" + case .afd1010: return "AFD_1010" + case .afd1011: return "AFD_1011" + case .afd1101: return "AFD_1101" + case .afd1110: return "AFD_1110" + case .afd1111: return "AFD_1111" + case let .sdkUnknown(s): return s + } + } + } +} + +extension MediaLiveClientTypes { + + /// Av1 Gop Size Units + public enum Av1GopSizeUnits: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case frames + case seconds + case sdkUnknown(Swift.String) + + public static var allCases: [Av1GopSizeUnits] { + return [ + .frames, + .seconds + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .frames: return "FRAMES" + case .seconds: return "SECONDS" + case let .sdkUnknown(s): return s + } + } + } +} + +extension MediaLiveClientTypes { + + /// Av1 Level + public enum Av1Level: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case av1Level2 + case av1Level21 + case av1Level3 + case av1Level31 + case av1Level4 + case av1Level41 + case av1Level5 + case av1Level51 + case av1Level52 + case av1Level53 + case av1Level6 + case av1Level61 + case av1Level62 + case av1Level63 + case av1LevelAuto + case sdkUnknown(Swift.String) + + public static var allCases: [Av1Level] { + return [ + .av1Level2, + .av1Level21, + .av1Level3, + .av1Level31, + .av1Level4, + .av1Level41, + .av1Level5, + .av1Level51, + .av1Level52, + .av1Level53, + .av1Level6, + .av1Level61, + .av1Level62, + .av1Level63, + .av1LevelAuto + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .av1Level2: return "AV1_LEVEL_2" + case .av1Level21: return "AV1_LEVEL_2_1" + case .av1Level3: return "AV1_LEVEL_3" + case .av1Level31: return "AV1_LEVEL_3_1" + case .av1Level4: return "AV1_LEVEL_4" + case .av1Level41: return "AV1_LEVEL_4_1" + case .av1Level5: return "AV1_LEVEL_5" + case .av1Level51: return "AV1_LEVEL_5_1" + case .av1Level52: return "AV1_LEVEL_5_2" + case .av1Level53: return "AV1_LEVEL_5_3" + case .av1Level6: return "AV1_LEVEL_6" + case .av1Level61: return "AV1_LEVEL_6_1" + case .av1Level62: return "AV1_LEVEL_6_2" + case .av1Level63: return "AV1_LEVEL_6_3" + case .av1LevelAuto: return "AV1_LEVEL_AUTO" + case let .sdkUnknown(s): return s + } + } + } +} + +extension MediaLiveClientTypes { + + /// Av1 Look Ahead Rate Control + public enum Av1LookAheadRateControl: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case high + case low + case medium + case sdkUnknown(Swift.String) + + public static var allCases: [Av1LookAheadRateControl] { + return [ + .high, + .low, + .medium + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } - public init( - elementPath: Swift.String? = nil, - errorMessage: Swift.String? = nil - ) - { - self.elementPath = elementPath - self.errorMessage = errorMessage + public var rawValue: Swift.String { + switch self { + case .high: return "HIGH" + case .low: return "LOW" + case .medium: return "MEDIUM" + case let .sdkUnknown(s): return s + } } } - } extension MediaLiveClientTypes { - /// Frame Capture Interval Unit - public enum FrameCaptureIntervalUnit: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case milliseconds - case seconds + /// Av1 Scene Change Detect + public enum Av1SceneChangeDetect: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case disabled + case enabled case sdkUnknown(Swift.String) - public static var allCases: [FrameCaptureIntervalUnit] { + public static var allCases: [Av1SceneChangeDetect] { return [ - .milliseconds, - .seconds + .disabled, + .enabled ] } @@ -13501,8 +14862,8 @@ extension MediaLiveClientTypes { public var rawValue: Swift.String { switch self { - case .milliseconds: return "MILLISECONDS" - case .seconds: return "SECONDS" + case .disabled: return "DISABLED" + case .enabled: return "ENABLED" case let .sdkUnknown(s): return s } } @@ -13622,6 +14983,118 @@ extension MediaLiveClientTypes { } +extension MediaLiveClientTypes { + /// Av1 Settings + public struct Av1Settings { + /// Configures whether MediaLive will write AFD values into the video. AUTO: MediaLive will try to preserve the input AFD value (in cases where multiple AFD values are valid). FIXED: the AFD value will be the value configured in the fixedAfd parameter. NONE: MediaLive won't write AFD into the video + public var afdSignaling: MediaLiveClientTypes.AfdSignaling? + /// The size of the buffer (HRD buffer model) in bits. + public var bufSize: Swift.Int? + /// Color Space settings + public var colorSpaceSettings: MediaLiveClientTypes.Av1ColorSpaceSettings? + /// Complete this property only if you set the afdSignaling property to FIXED. Choose the AFD value (4 bits) to write on all frames of the video encode. + public var fixedAfd: MediaLiveClientTypes.FixedAfd? + /// The denominator for the framerate. Framerate is a fraction, for example, 24000 / 1001. + /// This member is required. + public var framerateDenominator: Swift.Int? + /// The numerator for the framerate. Framerate is a fraction, for example, 24000 / 1001. + /// This member is required. + public var framerateNumerator: Swift.Int? + /// The GOP size (keyframe interval). If GopSizeUnits is frames, GopSize must be a whole number and must be greater than or equal to 1. If GopSizeUnits is seconds, GopSize must be greater than 0, but it can be a decimal. + public var gopSize: Swift.Double? + /// Choose the units for the GOP size: FRAMES or SECONDS. For SECONDS, MediaLive converts the size into a frame count at run time. + public var gopSizeUnits: MediaLiveClientTypes.Av1GopSizeUnits? + /// Sets the level. This parameter is one of the properties of the encoding scheme for AV1. + public var level: MediaLiveClientTypes.Av1Level? + /// Sets the amount of lookahead. A value of LOW can decrease latency and memory usage. A value of HIGH can produce better quality for certain content. + public var lookAheadRateControl: MediaLiveClientTypes.Av1LookAheadRateControl? + /// The maximum bitrate to assign. For recommendations, see the description for qvbrQualityLevel. + public var maxBitrate: Swift.Int? + /// Applies only if you enable SceneChangeDetect. Sets the interval between frames. This property ensures a minimum separation between repeated (cadence) I-frames and any I-frames inserted by scene change detection (SCD frames). Enter a number for the interval, measured in number of frames. If an SCD frame and a cadence frame are closer than the specified number of frames, MediaLive shrinks or stretches the GOP to include the SCD frame. Then normal cadence resumes in the next GOP. For GOP stretch to succeed, you must enable LookAheadRateControl. Note that the maximum GOP stretch = (GOP size) + (Minimum I-interval) - 1 + public var minIInterval: Swift.Int? + /// The denominator for the output pixel aspect ratio (PAR). + public var parDenominator: Swift.Int? + /// The numerator for the output pixel aspect ratio (PAR). + public var parNumerator: Swift.Int? + /// Controls the target quality for the video encode. With QVBR rate control mode, the final quality is the target quality, constrained by the maxBitrate. Set values for the qvbrQualityLevel property and maxBitrate property that suit your most important viewing devices. To let MediaLive set the quality level (AUTO mode), leave the qvbrQualityLevel field empty. In this case, MediaLive uses the maximum bitrate, and the quality follows from that: more complex content might have a lower quality. Or set a target quality level and a maximum bitrate. With more complex content, MediaLive will try to achieve the target quality, but it won't exceed the maximum bitrate. With less complex content, This option will use only the bitrate needed to reach the target quality. Recommended values are: Primary screen: qvbrQualityLevel: Leave empty. maxBitrate: 4,000,000 PC or tablet: qvbrQualityLevel: Leave empty. maxBitrate: 1,500,000 to 3,000,000 Smartphone: qvbrQualityLevel: Leave empty. maxBitrate: 1,000,000 to 1,500,000 + public var qvbrQualityLevel: Swift.Int? + /// Controls whether MediaLive inserts I-frames when it detects a scene change. ENABLED or DISABLED. + public var sceneChangeDetect: MediaLiveClientTypes.Av1SceneChangeDetect? + /// Configures the timecode burn-in feature. If you enable this feature, the timecode will become part of the video. + public var timecodeBurninSettings: MediaLiveClientTypes.TimecodeBurninSettings? + + public init( + afdSignaling: MediaLiveClientTypes.AfdSignaling? = nil, + bufSize: Swift.Int? = nil, + colorSpaceSettings: MediaLiveClientTypes.Av1ColorSpaceSettings? = nil, + fixedAfd: MediaLiveClientTypes.FixedAfd? = nil, + framerateDenominator: Swift.Int? = nil, + framerateNumerator: Swift.Int? = nil, + gopSize: Swift.Double? = nil, + gopSizeUnits: MediaLiveClientTypes.Av1GopSizeUnits? = nil, + level: MediaLiveClientTypes.Av1Level? = nil, + lookAheadRateControl: MediaLiveClientTypes.Av1LookAheadRateControl? = nil, + maxBitrate: Swift.Int? = nil, + minIInterval: Swift.Int? = nil, + parDenominator: Swift.Int? = nil, + parNumerator: Swift.Int? = nil, + qvbrQualityLevel: Swift.Int? = nil, + sceneChangeDetect: MediaLiveClientTypes.Av1SceneChangeDetect? = nil, + timecodeBurninSettings: MediaLiveClientTypes.TimecodeBurninSettings? = nil + ) + { + self.afdSignaling = afdSignaling + self.bufSize = bufSize + self.colorSpaceSettings = colorSpaceSettings + self.fixedAfd = fixedAfd + self.framerateDenominator = framerateDenominator + self.framerateNumerator = framerateNumerator + self.gopSize = gopSize + self.gopSizeUnits = gopSizeUnits + self.level = level + self.lookAheadRateControl = lookAheadRateControl + self.maxBitrate = maxBitrate + self.minIInterval = minIInterval + self.parDenominator = parDenominator + self.parNumerator = parNumerator + self.qvbrQualityLevel = qvbrQualityLevel + self.sceneChangeDetect = sceneChangeDetect + self.timecodeBurninSettings = timecodeBurninSettings + } + } + +} + +extension MediaLiveClientTypes { + + /// Frame Capture Interval Unit + public enum FrameCaptureIntervalUnit: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case milliseconds + case seconds + case sdkUnknown(Swift.String) + + public static var allCases: [FrameCaptureIntervalUnit] { + return [ + .milliseconds, + .seconds + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .milliseconds: return "MILLISECONDS" + case .seconds: return "SECONDS" + case let .sdkUnknown(s): return s + } + } + } +} + extension MediaLiveClientTypes { /// Frame Capture Settings public struct FrameCaptureSettings { @@ -13691,39 +15164,6 @@ extension MediaLiveClientTypes { } } -extension MediaLiveClientTypes { - - /// Afd Signaling - public enum AfdSignaling: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case auto - case fixed - case `none` - case sdkUnknown(Swift.String) - - public static var allCases: [AfdSignaling] { - return [ - .auto, - .fixed, - .none - ] - } - - public init?(rawValue: Swift.String) { - let value = Self.allCases.first(where: { $0.rawValue == rawValue }) - self = value ?? Self.sdkUnknown(rawValue) - } - - public var rawValue: Swift.String { - switch self { - case .auto: return "AUTO" - case .fixed: return "FIXED" - case .none: return "NONE" - case let .sdkUnknown(s): return s - } - } - } -} - extension MediaLiveClientTypes { /// H264 Color Metadata @@ -13754,33 +15194,6 @@ extension MediaLiveClientTypes { } } -extension MediaLiveClientTypes { - /// Passthrough applies no color space conversion to the output - public struct ColorSpacePassthroughSettings { - - public init() { } - } - -} - -extension MediaLiveClientTypes { - /// Rec601 Settings - public struct Rec601Settings { - - public init() { } - } - -} - -extension MediaLiveClientTypes { - /// Rec709 Settings - public struct Rec709Settings { - - public init() { } - } - -} - extension MediaLiveClientTypes { /// H264 Color Space Settings public struct H264ColorSpaceSettings { @@ -13966,78 +15379,21 @@ extension MediaLiveClientTypes { } } - -extension MediaLiveClientTypes { - /// H264 Filter Settings - public struct H264FilterSettings { - /// Temporal Filter Settings - public var temporalFilterSettings: MediaLiveClientTypes.TemporalFilterSettings? - - public init( - temporalFilterSettings: MediaLiveClientTypes.TemporalFilterSettings? = nil - ) - { - self.temporalFilterSettings = temporalFilterSettings - } - } - -} - -extension MediaLiveClientTypes { - - /// Fixed Afd - public enum FixedAfd: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case afd0000 - case afd0010 - case afd0011 - case afd0100 - case afd1000 - case afd1001 - case afd1010 - case afd1011 - case afd1101 - case afd1110 - case afd1111 - case sdkUnknown(Swift.String) - - public static var allCases: [FixedAfd] { - return [ - .afd0000, - .afd0010, - .afd0011, - .afd0100, - .afd1000, - .afd1001, - .afd1010, - .afd1011, - .afd1101, - .afd1110, - .afd1111 - ] - } - - public init?(rawValue: Swift.String) { - let value = Self.allCases.first(where: { $0.rawValue == rawValue }) - self = value ?? Self.sdkUnknown(rawValue) - } - - public var rawValue: Swift.String { - switch self { - case .afd0000: return "AFD_0000" - case .afd0010: return "AFD_0010" - case .afd0011: return "AFD_0011" - case .afd0100: return "AFD_0100" - case .afd1000: return "AFD_1000" - case .afd1001: return "AFD_1001" - case .afd1010: return "AFD_1010" - case .afd1011: return "AFD_1011" - case .afd1101: return "AFD_1101" - case .afd1110: return "AFD_1110" - case .afd1111: return "AFD_1111" - case let .sdkUnknown(s): return s - } + +extension MediaLiveClientTypes { + /// H264 Filter Settings + public struct H264FilterSettings { + /// Temporal Filter Settings + public var temporalFilterSettings: MediaLiveClientTypes.TemporalFilterSettings? + + public init( + temporalFilterSettings: MediaLiveClientTypes.TemporalFilterSettings? = nil + ) + { + self.temporalFilterSettings = temporalFilterSettings } } + } extension MediaLiveClientTypes { @@ -15994,6 +17350,8 @@ extension MediaLiveClientTypes { extension MediaLiveClientTypes { /// Video Codec Settings public struct VideoCodecSettings { + /// Av1 Settings + public var av1Settings: MediaLiveClientTypes.Av1Settings? /// Frame Capture Settings public var frameCaptureSettings: MediaLiveClientTypes.FrameCaptureSettings? /// H264 Settings @@ -16004,12 +17362,14 @@ extension MediaLiveClientTypes { public var mpeg2Settings: MediaLiveClientTypes.Mpeg2Settings? public init( + av1Settings: MediaLiveClientTypes.Av1Settings? = nil, frameCaptureSettings: MediaLiveClientTypes.FrameCaptureSettings? = nil, h264Settings: MediaLiveClientTypes.H264Settings? = nil, h265Settings: MediaLiveClientTypes.H265Settings? = nil, mpeg2Settings: MediaLiveClientTypes.Mpeg2Settings? = nil ) { + self.av1Settings = av1Settings self.frameCaptureSettings = frameCaptureSettings self.h264Settings = h264Settings self.h265Settings = h265Settings @@ -16415,6 +17775,26 @@ extension MediaLiveClientTypes { } +extension MediaLiveClientTypes { + /// Elemental anywhere settings + public struct AnywhereSettings { + /// The ID of the channel placement group for the channel. + public var channelPlacementGroupId: Swift.String? + /// The ID of the cluster for the channel. + public var clusterId: Swift.String? + + public init( + channelPlacementGroupId: Swift.String? = nil, + clusterId: Swift.String? = nil + ) + { + self.channelPlacementGroupId = channelPlacementGroupId + self.clusterId = clusterId + } + } + +} + extension MediaLiveClientTypes { /// Avail Blanking State @@ -17744,6 +19124,8 @@ extension MediaLiveClientTypes { extension MediaLiveClientTypes { /// Placeholder documentation for Channel public struct Channel { + /// Anywhere settings for this channel. + public var anywhereSettings: MediaLiveClientTypes.DescribeAnywhereSettings? /// The unique arn of the channel. public var arn: Swift.String? /// Specification of CDI inputs for this channel @@ -17782,6 +19164,7 @@ extension MediaLiveClientTypes { public var vpc: MediaLiveClientTypes.VpcOutputSettingsDescription? public init( + anywhereSettings: MediaLiveClientTypes.DescribeAnywhereSettings? = nil, arn: Swift.String? = nil, cdiInputSpecification: MediaLiveClientTypes.CdiInputSpecification? = nil, channelClass: MediaLiveClientTypes.ChannelClass? = nil, @@ -17802,6 +19185,7 @@ extension MediaLiveClientTypes { vpc: MediaLiveClientTypes.VpcOutputSettingsDescription? = nil ) { + self.anywhereSettings = anywhereSettings self.arn = arn self.cdiInputSpecification = cdiInputSpecification self.channelClass = channelClass @@ -17844,6 +19228,46 @@ public struct ClaimDeviceOutput { public init() { } } +extension MediaLiveClientTypes { + /// Used in a CreateClusterRequest. + public struct ClusterNetworkSettingsCreateRequest { + /// Specify one network interface as the default route for traffic to and from the Node. MediaLive Anywhere uses this default when the destination for the traffic isn't covered by the route table for any of the networks. Specify the value of the appropriate logicalInterfaceName parameter that you create in the interfaceMappings. + public var defaultRoute: Swift.String? + /// An array of interfaceMapping objects for this Cluster. You must create a mapping for node interfaces that you plan to use for encoding traffic. You typically don't create a mapping for the management interface. You define this mapping in the Cluster so that the mapping can be used by all the Nodes. Each mapping logically connects one interface on the nodes with one Network. Each mapping consists of a pair of parameters. The logicalInterfaceName parameter creates a logical name for the Node interface that handles a specific type of traffic. For example, my-Inputs-Interface. The networkID parameter refers to the ID of the network. When you create the Nodes in this Cluster, you will associate the logicalInterfaceName with the appropriate physical interface. + public var interfaceMappings: [MediaLiveClientTypes.InterfaceMappingCreateRequest]? + + public init( + defaultRoute: Swift.String? = nil, + interfaceMappings: [MediaLiveClientTypes.InterfaceMappingCreateRequest]? = nil + ) + { + self.defaultRoute = defaultRoute + self.interfaceMappings = interfaceMappings + } + } + +} + +extension MediaLiveClientTypes { + /// Placeholder documentation for ClusterNetworkSettingsUpdateRequest + public struct ClusterNetworkSettingsUpdateRequest { + /// Include this parameter only if you want to change the default route for the Cluster. Specify one network interface as the default route for traffic to and from the node. MediaLive Anywhere uses this default when the destination for the traffic isn't covered by the route table for any of the networks. Specify the value of the appropriate logicalInterfaceName parameter that you create in the interfaceMappings. + public var defaultRoute: Swift.String? + /// An array of interfaceMapping objects for this Cluster. Include this parameter only if you want to change the interface mappings for the Cluster. Typically, you change the interface mappings only to fix an error you made when creating the mapping. In an update request, make sure that you enter the entire set of mappings again, not just the mappings that you want to add or change. You define this mapping so that the mapping can be used by all the Nodes. Each mapping logically connects one interface on the nodes with one Network. Each mapping consists of a pair of parameters. The logicalInterfaceName parameter creates a logical name for the Node interface that handles a specific type of traffic. For example, my-Inputs-Interface. The networkID parameter refers to the ID of the network. When you create the Nodes in this Cluster, you will associate the logicalInterfaceName with the appropriate physical interface. + public var interfaceMappings: [MediaLiveClientTypes.InterfaceMappingUpdateRequest]? + + public init( + defaultRoute: Swift.String? = nil, + interfaceMappings: [MediaLiveClientTypes.InterfaceMappingUpdateRequest]? = nil + ) + { + self.defaultRoute = defaultRoute + self.interfaceMappings = interfaceMappings + } + } + +} + extension MediaLiveClientTypes { /// Specifies the media type of the thumbnail. @@ -17918,6 +19342,8 @@ extension MediaLiveClientTypes { /// A request to create a channel public struct CreateChannelInput { + /// The Elemental Anywhere settings for this channel. + public var anywhereSettings: MediaLiveClientTypes.AnywhereSettings? /// Specification of CDI inputs for this channel public var cdiInputSpecification: MediaLiveClientTypes.CdiInputSpecification? /// The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline. @@ -17949,6 +19375,7 @@ public struct CreateChannelInput { public var vpc: MediaLiveClientTypes.VpcOutputSettings? public init( + anywhereSettings: MediaLiveClientTypes.AnywhereSettings? = nil, cdiInputSpecification: MediaLiveClientTypes.CdiInputSpecification? = nil, channelClass: MediaLiveClientTypes.ChannelClass? = nil, destinations: [MediaLiveClientTypes.OutputDestination]? = nil, @@ -17965,6 +19392,7 @@ public struct CreateChannelInput { vpc: MediaLiveClientTypes.VpcOutputSettings? = nil ) { + self.anywhereSettings = anywhereSettings self.cdiInputSpecification = cdiInputSpecification self.channelClass = channelClass self.destinations = destinations @@ -17995,6 +19423,73 @@ public struct CreateChannelOutput { } } +/// A request to create a channel placement group. +public struct CreateChannelPlacementGroupInput { + /// The ID of the cluster. + /// This member is required. + public var clusterId: Swift.String? + /// Specify a name that is unique in the Cluster. You can't change the name. Names are case-sensitive. + public var name: Swift.String? + /// An array of one ID for the Node that you want to associate with the ChannelPlacementGroup. (You can't associate more than one Node with the ChannelPlacementGroup.) The Node and the ChannelPlacementGroup must be in the same Cluster. + public var nodes: [Swift.String]? + /// An ID that you assign to a create request. This ID ensures idempotency when creating resources. the request. + public var requestId: Swift.String? + /// A collection of key-value pairs. + public var tags: [Swift.String: Swift.String]? + + public init( + clusterId: Swift.String? = nil, + name: Swift.String? = nil, + nodes: [Swift.String]? = nil, + requestId: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.clusterId = clusterId + self.name = name + self.nodes = nodes + self.requestId = requestId + self.tags = tags + } +} + +/// Placeholder documentation for CreateChannelPlacementGroupResponse +public struct CreateChannelPlacementGroupOutput { + /// The ARN of this ChannelPlacementGroup. It is automatically assigned when the ChannelPlacementGroup is created. + public var arn: Swift.String? + /// Used in ListChannelPlacementGroupsResult + public var channels: [Swift.String]? + /// The ID of the Cluster that the Node belongs to. + public var clusterId: Swift.String? + /// The ID of the ChannelPlacementGroup. Unique in the AWS account. The ID is the resource-id portion of the ARN. + public var id: Swift.String? + /// The name that you specified for the ChannelPlacementGroup. + public var name: Swift.String? + /// An array with one item, which is the signle Node that is associated with the ChannelPlacementGroup. + public var nodes: [Swift.String]? + /// The current state of the ChannelPlacementGroup. + public var state: MediaLiveClientTypes.ChannelPlacementGroupState? + + public init( + arn: Swift.String? = nil, + channels: [Swift.String]? = nil, + clusterId: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + nodes: [Swift.String]? = nil, + state: MediaLiveClientTypes.ChannelPlacementGroupState? = nil + ) + { + self.arn = arn + self.channels = channels + self.clusterId = clusterId + self.id = id + self.name = name + self.nodes = nodes + self.state = state + } +} + /// Placeholder documentation for CreateCloudWatchAlarmTemplateRequest public struct CreateCloudWatchAlarmTemplateInput { /// The comparison operator used to compare the specified statistic and the threshold. @@ -18202,6 +19697,80 @@ public struct CreateCloudWatchAlarmTemplateGroupOutput { } } +/// Create as many Clusters as you want, but create at least one. Each Cluster groups together Nodes that you want to treat as a collection. Within the Cluster, you will set up some Nodes as active Nodes, and some as backup Nodes, for Node failover purposes. Each Node can belong to only one Cluster. +public struct CreateClusterInput { + /// Specify a type. All the Nodes that you later add to this Cluster must be this type of hardware. One Cluster instance can't contain different hardware types. You won't be able to change this parameter after you create the Cluster. + public var clusterType: MediaLiveClientTypes.ClusterType? + /// The ARN of the IAM role for the Node in this Cluster. The role must include all the operations that you expect these Node to perform. If necessary, create a role in IAM, then attach it here. + public var instanceRoleArn: Swift.String? + /// Specify a name that is unique in the AWS account. We recommend that you assign a name that hints at the types of Nodes in the Cluster. Names are case-sensitive. + public var name: Swift.String? + /// Network settings that connect the Nodes in the Cluster to one or more of the Networks that the Cluster is associated with. + public var networkSettings: MediaLiveClientTypes.ClusterNetworkSettingsCreateRequest? + /// The unique ID of the request. + public var requestId: Swift.String? + /// A collection of key-value pairs. + public var tags: [Swift.String: Swift.String]? + + public init( + clusterType: MediaLiveClientTypes.ClusterType? = nil, + instanceRoleArn: Swift.String? = nil, + name: Swift.String? = nil, + networkSettings: MediaLiveClientTypes.ClusterNetworkSettingsCreateRequest? = nil, + requestId: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.clusterType = clusterType + self.instanceRoleArn = instanceRoleArn + self.name = name + self.networkSettings = networkSettings + self.requestId = requestId + self.tags = tags + } +} + +/// Placeholder documentation for CreateClusterResponse +public struct CreateClusterOutput { + /// The ARN of this Cluster. It is automatically assigned when the Cluster is created. + public var arn: Swift.String? + /// Placeholder documentation for __listOf__string + public var channelIds: [Swift.String]? + /// The hardware type for the Cluster + public var clusterType: MediaLiveClientTypes.ClusterType? + /// The ID of the Cluster. Unique in the AWS account. The ID is the resource-id portion of the ARN. + public var id: Swift.String? + /// The ARN of the IAM role for the Node in this Cluster. Any Nodes that are associated with this Cluster assume this role. The role gives permissions to the operations that you expect these Node to perform. + public var instanceRoleArn: Swift.String? + /// The name that you specified for the Cluster. + public var name: Swift.String? + /// Network settings that connect the Nodes in the Cluster to one or more of the Networks that the Cluster is associated with. + public var networkSettings: MediaLiveClientTypes.ClusterNetworkSettings? + /// The current state of the Cluster. + public var state: MediaLiveClientTypes.ClusterState? + + public init( + arn: Swift.String? = nil, + channelIds: [Swift.String]? = nil, + clusterType: MediaLiveClientTypes.ClusterType? = nil, + id: Swift.String? = nil, + instanceRoleArn: Swift.String? = nil, + name: Swift.String? = nil, + networkSettings: MediaLiveClientTypes.ClusterNetworkSettings? = nil, + state: MediaLiveClientTypes.ClusterState? = nil + ) + { + self.arn = arn + self.channelIds = channelIds + self.clusterType = clusterType + self.id = id + self.instanceRoleArn = instanceRoleArn + self.name = name + self.networkSettings = networkSettings + self.state = state + } +} + /// Placeholder documentation for CreateEventBridgeRuleTemplateRequest public struct CreateEventBridgeRuleTemplateInput { /// A resource's optional description. @@ -18346,6 +19915,22 @@ public struct CreateEventBridgeRuleTemplateGroupOutput { } } +extension MediaLiveClientTypes { + /// Settings for a Multicast input. Contains a list of multicast Urls and optional source ip addresses. + public struct MulticastSettingsCreateRequest { + /// Placeholder documentation for __listOfMulticastSourceCreateRequest + public var sources: [MediaLiveClientTypes.MulticastSourceCreateRequest]? + + public init( + sources: [MediaLiveClientTypes.MulticastSourceCreateRequest]? = nil + ) + { + self.sources = sources + } + } + +} + extension MediaLiveClientTypes { /// Configures the sources for this SRT input. For a single-pipeline input, include one srtCallerSource in the array. For a standard-pipeline input, include two srtCallerSource. public struct SrtSettingsRequest { @@ -18389,10 +19974,14 @@ public struct CreateInputInput { public var destinations: [MediaLiveClientTypes.InputDestinationRequest]? /// Settings for the devices. public var inputDevices: [MediaLiveClientTypes.InputDeviceSettings]? + /// The location of this input. AWS, for an input existing in the AWS Cloud, On-Prem for an input in a customer network. + public var inputNetworkLocation: MediaLiveClientTypes.InputNetworkLocation? /// A list of security groups referenced by IDs to attach to the input. public var inputSecurityGroups: [Swift.String]? /// A list of the MediaConnect Flows that you want to use in this input. You can specify as few as one Flow and presently, as many as two. The only requirement is when you have more than one is that each Flow is in a separate Availability Zone as this ensures your EML input is redundant to AZ issues. public var mediaConnectFlows: [MediaLiveClientTypes.MediaConnectFlowRequest]? + /// Multicast Input settings. + public var multicastSettings: MediaLiveClientTypes.MulticastSettingsCreateRequest? /// Name of the input. public var name: Swift.String? /// Unique identifier of the request to ensure the request is handled exactly once in case of retries. @@ -18413,8 +20002,10 @@ public struct CreateInputInput { public init( destinations: [MediaLiveClientTypes.InputDestinationRequest]? = nil, inputDevices: [MediaLiveClientTypes.InputDeviceSettings]? = nil, + inputNetworkLocation: MediaLiveClientTypes.InputNetworkLocation? = nil, inputSecurityGroups: [Swift.String]? = nil, mediaConnectFlows: [MediaLiveClientTypes.MediaConnectFlowRequest]? = nil, + multicastSettings: MediaLiveClientTypes.MulticastSettingsCreateRequest? = nil, name: Swift.String? = nil, requestId: Swift.String? = nil, roleArn: Swift.String? = nil, @@ -18427,8 +20018,10 @@ public struct CreateInputInput { { self.destinations = destinations self.inputDevices = inputDevices + self.inputNetworkLocation = inputNetworkLocation self.inputSecurityGroups = inputSecurityGroups self.mediaConnectFlows = mediaConnectFlows + self.multicastSettings = multicastSettings self.name = name self.requestId = requestId self.roleArn = roleArn @@ -18893,6 +20486,202 @@ public struct CreateMultiplexProgramOutput { } } +/// A request to create a Network. +public struct CreateNetworkInput { + /// An array of IpPoolCreateRequests that identify a collection of IP addresses in your network that you want to reserve for use in MediaLive Anywhere. MediaLiveAnywhere uses these IP addresses for Push inputs (in both Bridge and NATnetworks) and for output destinations (only in Bridge networks). EachIpPoolUpdateRequest specifies one CIDR block. + public var ipPools: [MediaLiveClientTypes.IpPoolCreateRequest]? + /// Specify a name that is unique in the AWS account. We recommend that you assign a name that hints at the type of traffic on the network. Names are case-sensitive. + public var name: Swift.String? + /// An ID that you assign to a create request. This ID ensures idempotency when creating resources. + public var requestId: Swift.String? + /// An array of routes that MediaLive Anywhere needs to know about in order to route encoding traffic. + public var routes: [MediaLiveClientTypes.RouteCreateRequest]? + /// A collection of key-value pairs. + public var tags: [Swift.String: Swift.String]? + + public init( + ipPools: [MediaLiveClientTypes.IpPoolCreateRequest]? = nil, + name: Swift.String? = nil, + requestId: Swift.String? = nil, + routes: [MediaLiveClientTypes.RouteCreateRequest]? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.ipPools = ipPools + self.name = name + self.requestId = requestId + self.routes = routes + self.tags = tags + } +} + +/// Placeholder documentation for CreateNetworkResponse +public struct CreateNetworkOutput { + /// The ARN of this Network. It is automatically assigned when the Network is created. + public var arn: Swift.String? + /// Placeholder documentation for __listOf__string + public var associatedClusterIds: [Swift.String]? + /// The ID of the Network. Unique in the AWS account. The ID is the resource-id portion of the ARN. + public var id: Swift.String? + /// An array of IpPools in your organization's network that identify a collection of IP addresses in this network that are reserved for use in MediaLive Anywhere. MediaLive Anywhere uses these IP addresses for Push inputs (in both Bridge and NAT networks) and for output destinations (only in Bridge networks). Each IpPool specifies one CIDR block. + public var ipPools: [MediaLiveClientTypes.IpPool]? + /// The name that you specified for the Network. + public var name: Swift.String? + /// An array of routes that MediaLive Anywhere needs to know about in order to route encoding traffic. + public var routes: [MediaLiveClientTypes.Route]? + /// The current state of the Network. Only MediaLive Anywhere can change the state. + public var state: MediaLiveClientTypes.NetworkState? + + public init( + arn: Swift.String? = nil, + associatedClusterIds: [Swift.String]? = nil, + id: Swift.String? = nil, + ipPools: [MediaLiveClientTypes.IpPool]? = nil, + name: Swift.String? = nil, + routes: [MediaLiveClientTypes.Route]? = nil, + state: MediaLiveClientTypes.NetworkState? = nil + ) + { + self.arn = arn + self.associatedClusterIds = associatedClusterIds + self.id = id + self.ipPools = ipPools + self.name = name + self.routes = routes + self.state = state + } +} + +/// A request to create a node +public struct CreateNodeInput { + /// The ID of the cluster. + /// This member is required. + public var clusterId: Swift.String? + /// The user-specified name of the Node to be created. + public var name: Swift.String? + /// Documentation update needed + public var nodeInterfaceMappings: [MediaLiveClientTypes.NodeInterfaceMappingCreateRequest]? + /// An ID that you assign to a create request. This ID ensures idempotency when creating resources. + public var requestId: Swift.String? + /// The initial role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails. + public var role: MediaLiveClientTypes.NodeRole? + /// A collection of key-value pairs. + public var tags: [Swift.String: Swift.String]? + + public init( + clusterId: Swift.String? = nil, + name: Swift.String? = nil, + nodeInterfaceMappings: [MediaLiveClientTypes.NodeInterfaceMappingCreateRequest]? = nil, + requestId: Swift.String? = nil, + role: MediaLiveClientTypes.NodeRole? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.clusterId = clusterId + self.name = name + self.nodeInterfaceMappings = nodeInterfaceMappings + self.requestId = requestId + self.role = role + self.tags = tags + } +} + +/// Placeholder documentation for CreateNodeResponse +public struct CreateNodeOutput { + /// The ARN of the Node. It is automatically assigned when the Node is created. + public var arn: Swift.String? + /// An array of IDs. Each ID is one ChannelPlacementGroup that is associated with this Node. Empty if the Node is not yet associated with any groups. + public var channelPlacementGroups: [Swift.String]? + /// The ID of the Cluster that the Node belongs to. + public var clusterId: Swift.String? + /// The current connection state of the Node. + public var connectionState: MediaLiveClientTypes.NodeConnectionState? + /// The unique ID of the Node. Unique in the Cluster. The ID is the resource-id portion of the ARN. + public var id: Swift.String? + /// The ARN of the EC2 instance hosting the Node. + public var instanceArn: Swift.String? + /// The name that you specified for the Node. + public var name: Swift.String? + /// Documentation update needed + public var nodeInterfaceMappings: [MediaLiveClientTypes.NodeInterfaceMapping]? + /// The initial role current role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails. + public var role: MediaLiveClientTypes.NodeRole? + /// The current state of the Node. + public var state: MediaLiveClientTypes.NodeState? + + public init( + arn: Swift.String? = nil, + channelPlacementGroups: [Swift.String]? = nil, + clusterId: Swift.String? = nil, + connectionState: MediaLiveClientTypes.NodeConnectionState? = nil, + id: Swift.String? = nil, + instanceArn: Swift.String? = nil, + name: Swift.String? = nil, + nodeInterfaceMappings: [MediaLiveClientTypes.NodeInterfaceMapping]? = nil, + role: MediaLiveClientTypes.NodeRole? = nil, + state: MediaLiveClientTypes.NodeState? = nil + ) + { + self.arn = arn + self.channelPlacementGroups = channelPlacementGroups + self.clusterId = clusterId + self.connectionState = connectionState + self.id = id + self.instanceArn = instanceArn + self.name = name + self.nodeInterfaceMappings = nodeInterfaceMappings + self.role = role + self.state = state + } +} + +/// A request to create a new node registration script. +public struct CreateNodeRegistrationScriptInput { + /// The ID of the cluster + /// This member is required. + public var clusterId: Swift.String? + /// If you're generating a re-registration script for an already existing node, this is where you provide the id. + public var id: Swift.String? + /// Specify a pattern for MediaLive Anywhere to use to assign a name to each Node in the Cluster. The pattern can include the variables $hn (hostname of the node hardware) and $ts for the date and time that the Node is created, in UTC (for example, 2024-08-20T23:35:12Z). + public var name: Swift.String? + /// Documentation update needed + public var nodeInterfaceMappings: [MediaLiveClientTypes.NodeInterfaceMapping]? + /// An ID that you assign to a create request. This ID ensures idempotency when creating resources. + public var requestId: Swift.String? + /// The initial role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails. + public var role: MediaLiveClientTypes.NodeRole? + + public init( + clusterId: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + nodeInterfaceMappings: [MediaLiveClientTypes.NodeInterfaceMapping]? = nil, + requestId: Swift.String? = nil, + role: MediaLiveClientTypes.NodeRole? = nil + ) + { + self.clusterId = clusterId + self.id = id + self.name = name + self.nodeInterfaceMappings = nodeInterfaceMappings + self.requestId = requestId + self.role = role + } +} + +/// Placeholder documentation for CreateNodeRegistrationScriptResponse +public struct CreateNodeRegistrationScriptOutput { + /// A script that can be run on a Bring Your Own Device Elemental Anywhere system to create a node in a cluster. + public var nodeRegistrationScript: Swift.String? + + public init( + nodeRegistrationScript: Swift.String? = nil + ) + { + self.nodeRegistrationScript = nodeRegistrationScript + } +} + /// A request to create a partner input public struct CreatePartnerInputInput { /// Unique ID of the input. @@ -19149,6 +20938,8 @@ public struct DeleteChannelInput { /// Placeholder documentation for DeleteChannelResponse public struct DeleteChannelOutput { + /// Anywhere settings for this channel. + public var anywhereSettings: MediaLiveClientTypes.DescribeAnywhereSettings? /// The unique arn of the channel. public var arn: Swift.String? /// Specification of CDI inputs for this channel @@ -19187,6 +20978,7 @@ public struct DeleteChannelOutput { public var vpc: MediaLiveClientTypes.VpcOutputSettingsDescription? public init( + anywhereSettings: MediaLiveClientTypes.DescribeAnywhereSettings? = nil, arn: Swift.String? = nil, cdiInputSpecification: MediaLiveClientTypes.CdiInputSpecification? = nil, channelClass: MediaLiveClientTypes.ChannelClass? = nil, @@ -19207,6 +20999,7 @@ public struct DeleteChannelOutput { vpc: MediaLiveClientTypes.VpcOutputSettingsDescription? = nil ) { + self.anywhereSettings = anywhereSettings self.arn = arn self.cdiInputSpecification = cdiInputSpecification self.channelClass = channelClass @@ -19219,12 +21012,68 @@ public struct DeleteChannelOutput { self.logLevel = logLevel self.maintenance = maintenance self.name = name - self.pipelineDetails = pipelineDetails - self.pipelinesRunningCount = pipelinesRunningCount - self.roleArn = roleArn + self.pipelineDetails = pipelineDetails + self.pipelinesRunningCount = pipelinesRunningCount + self.roleArn = roleArn + self.state = state + self.tags = tags + self.vpc = vpc + } +} + +/// Placeholder documentation for DeleteChannelPlacementGroupRequest +public struct DeleteChannelPlacementGroupInput { + /// The ID of the channel placement group. + /// This member is required. + public var channelPlacementGroupId: Swift.String? + /// The ID of the cluster. + /// This member is required. + public var clusterId: Swift.String? + + public init( + channelPlacementGroupId: Swift.String? = nil, + clusterId: Swift.String? = nil + ) + { + self.channelPlacementGroupId = channelPlacementGroupId + self.clusterId = clusterId + } +} + +/// Placeholder documentation for DeleteChannelPlacementGroupResponse +public struct DeleteChannelPlacementGroupOutput { + /// The ARN of this ChannelPlacementGroup. It is automatically assigned when the ChannelPlacementGroup is created. + public var arn: Swift.String? + /// Used in ListChannelPlacementGroupsResult + public var channels: [Swift.String]? + /// The ID of the Cluster that the Node belongs to. + public var clusterId: Swift.String? + /// The ID of the ChannelPlacementGroup. Unique in the AWS account. The ID is the resource-id portion of the ARN. + public var id: Swift.String? + /// The name that you specified for the ChannelPlacementGroup. + public var name: Swift.String? + /// An array with one item, which is the signle Node that is associated with the ChannelPlacementGroup. + public var nodes: [Swift.String]? + /// The current state of the ChannelPlacementGroup. + public var state: MediaLiveClientTypes.ChannelPlacementGroupState? + + public init( + arn: Swift.String? = nil, + channels: [Swift.String]? = nil, + clusterId: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + nodes: [Swift.String]? = nil, + state: MediaLiveClientTypes.ChannelPlacementGroupState? = nil + ) + { + self.arn = arn + self.channels = channels + self.clusterId = clusterId + self.id = id + self.name = name + self.nodes = nodes self.state = state - self.tags = tags - self.vpc = vpc } } @@ -19256,6 +21105,61 @@ public struct DeleteCloudWatchAlarmTemplateGroupInput { } } +/// Placeholder documentation for DeleteClusterRequest +public struct DeleteClusterInput { + /// The ID of the cluster. + /// This member is required. + public var clusterId: Swift.String? + + public init( + clusterId: Swift.String? = nil + ) + { + self.clusterId = clusterId + } +} + +/// Placeholder documentation for DeleteClusterResponse +public struct DeleteClusterOutput { + /// The ARN of this Cluster. It is automatically assigned when the Cluster is created. + public var arn: Swift.String? + /// Placeholder documentation for __listOf__string + public var channelIds: [Swift.String]? + /// The hardware type for the Cluster + public var clusterType: MediaLiveClientTypes.ClusterType? + /// The ID of the Cluster. Unique in the AWS account. The ID is the resource-id portion of the ARN. + public var id: Swift.String? + /// The ARN of the IAM role for the Node in this Cluster. Any Nodes that are associated with this Cluster assume this role. The role gives permissions to the operations that you expect these Node to perform. + public var instanceRoleArn: Swift.String? + /// The name that you specified for the Cluster. + public var name: Swift.String? + /// Network settings that connect the Nodes in the Cluster to one or more of the Networks that the Cluster is associated with. + public var networkSettings: MediaLiveClientTypes.ClusterNetworkSettings? + /// The current state of the Cluster. + public var state: MediaLiveClientTypes.ClusterState? + + public init( + arn: Swift.String? = nil, + channelIds: [Swift.String]? = nil, + clusterType: MediaLiveClientTypes.ClusterType? = nil, + id: Swift.String? = nil, + instanceRoleArn: Swift.String? = nil, + name: Swift.String? = nil, + networkSettings: MediaLiveClientTypes.ClusterNetworkSettings? = nil, + state: MediaLiveClientTypes.ClusterState? = nil + ) + { + self.arn = arn + self.channelIds = channelIds + self.clusterType = clusterType + self.id = id + self.instanceRoleArn = instanceRoleArn + self.name = name + self.networkSettings = networkSettings + self.state = state + } +} + /// Placeholder documentation for DeleteEventBridgeRuleTemplateRequest public struct DeleteEventBridgeRuleTemplateInput { /// An eventbridge rule template's identifier. Can be either be its id or current name. @@ -19435,6 +21339,125 @@ public struct DeleteMultiplexProgramOutput { } } +/// Placeholder documentation for DeleteNetworkRequest +public struct DeleteNetworkInput { + /// The ID of the network. + /// This member is required. + public var networkId: Swift.String? + + public init( + networkId: Swift.String? = nil + ) + { + self.networkId = networkId + } +} + +/// Placeholder documentation for DeleteNetworkResponse +public struct DeleteNetworkOutput { + /// The ARN of this Network. It is automatically assigned when the Network is created. + public var arn: Swift.String? + /// Placeholder documentation for __listOf__string + public var associatedClusterIds: [Swift.String]? + /// The ID of the Network. Unique in the AWS account. The ID is the resource-id portion of the ARN. + public var id: Swift.String? + /// An array of IpPools in your organization's network that identify a collection of IP addresses in this network that are reserved for use in MediaLive Anywhere. MediaLive Anywhere uses these IP addresses for Push inputs (in both Bridge and NAT networks) and for output destinations (only in Bridge networks). Each IpPool specifies one CIDR block. + public var ipPools: [MediaLiveClientTypes.IpPool]? + /// The name that you specified for the Network. + public var name: Swift.String? + /// An array of routes that MediaLive Anywhere needs to know about in order to route encoding traffic. + public var routes: [MediaLiveClientTypes.Route]? + /// The current state of the Network. Only MediaLive Anywhere can change the state. + public var state: MediaLiveClientTypes.NetworkState? + + public init( + arn: Swift.String? = nil, + associatedClusterIds: [Swift.String]? = nil, + id: Swift.String? = nil, + ipPools: [MediaLiveClientTypes.IpPool]? = nil, + name: Swift.String? = nil, + routes: [MediaLiveClientTypes.Route]? = nil, + state: MediaLiveClientTypes.NetworkState? = nil + ) + { + self.arn = arn + self.associatedClusterIds = associatedClusterIds + self.id = id + self.ipPools = ipPools + self.name = name + self.routes = routes + self.state = state + } +} + +/// Placeholder documentation for DeleteNodeRequest +public struct DeleteNodeInput { + /// The ID of the cluster + /// This member is required. + public var clusterId: Swift.String? + /// The ID of the node. + /// This member is required. + public var nodeId: Swift.String? + + public init( + clusterId: Swift.String? = nil, + nodeId: Swift.String? = nil + ) + { + self.clusterId = clusterId + self.nodeId = nodeId + } +} + +/// Placeholder documentation for DeleteNodeResponse +public struct DeleteNodeOutput { + /// The ARN of the Node. It is automatically assigned when the Node is created. + public var arn: Swift.String? + /// An array of IDs. Each ID is one ChannelPlacementGroup that is associated with this Node. Empty if the Node is not yet associated with any groups. + public var channelPlacementGroups: [Swift.String]? + /// The ID of the Cluster that the Node belongs to. + public var clusterId: Swift.String? + /// The current connection state of the Node. + public var connectionState: MediaLiveClientTypes.NodeConnectionState? + /// The unique ID of the Node. Unique in the Cluster. The ID is the resource-id portion of the ARN. + public var id: Swift.String? + /// The ARN of the EC2 instance hosting the Node. + public var instanceArn: Swift.String? + /// The name that you specified for the Node. + public var name: Swift.String? + /// Documentation update needed + public var nodeInterfaceMappings: [MediaLiveClientTypes.NodeInterfaceMapping]? + /// The initial role current role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails. + public var role: MediaLiveClientTypes.NodeRole? + /// The current state of the Node. + public var state: MediaLiveClientTypes.NodeState? + + public init( + arn: Swift.String? = nil, + channelPlacementGroups: [Swift.String]? = nil, + clusterId: Swift.String? = nil, + connectionState: MediaLiveClientTypes.NodeConnectionState? = nil, + id: Swift.String? = nil, + instanceArn: Swift.String? = nil, + name: Swift.String? = nil, + nodeInterfaceMappings: [MediaLiveClientTypes.NodeInterfaceMapping]? = nil, + role: MediaLiveClientTypes.NodeRole? = nil, + state: MediaLiveClientTypes.NodeState? = nil + ) + { + self.arn = arn + self.channelPlacementGroups = channelPlacementGroups + self.clusterId = clusterId + self.connectionState = connectionState + self.id = id + self.instanceArn = instanceArn + self.name = name + self.nodeInterfaceMappings = nodeInterfaceMappings + self.role = role + self.state = state + } +} + /// Placeholder documentation for DeleteReservationRequest public struct DeleteReservationInput { /// Unique reservation ID, e.g. '1234567' @@ -19622,6 +21645,8 @@ public struct DescribeChannelInput { /// Placeholder documentation for DescribeChannelResponse public struct DescribeChannelOutput { + /// Anywhere settings for this channel. + public var anywhereSettings: MediaLiveClientTypes.DescribeAnywhereSettings? /// The unique arn of the channel. public var arn: Swift.String? /// Specification of CDI inputs for this channel @@ -19660,6 +21685,7 @@ public struct DescribeChannelOutput { public var vpc: MediaLiveClientTypes.VpcOutputSettingsDescription? public init( + anywhereSettings: MediaLiveClientTypes.DescribeAnywhereSettings? = nil, arn: Swift.String? = nil, cdiInputSpecification: MediaLiveClientTypes.CdiInputSpecification? = nil, channelClass: MediaLiveClientTypes.ChannelClass? = nil, @@ -19680,6 +21706,7 @@ public struct DescribeChannelOutput { vpc: MediaLiveClientTypes.VpcOutputSettingsDescription? = nil ) { + self.anywhereSettings = anywhereSettings self.arn = arn self.cdiInputSpecification = cdiInputSpecification self.channelClass = channelClass @@ -19701,6 +21728,117 @@ public struct DescribeChannelOutput { } } +/// Placeholder documentation for DescribeChannelPlacementGroupRequest +public struct DescribeChannelPlacementGroupInput { + /// The ID of the channel placement group. + /// This member is required. + public var channelPlacementGroupId: Swift.String? + /// The ID of the cluster. + /// This member is required. + public var clusterId: Swift.String? + + public init( + channelPlacementGroupId: Swift.String? = nil, + clusterId: Swift.String? = nil + ) + { + self.channelPlacementGroupId = channelPlacementGroupId + self.clusterId = clusterId + } +} + +/// Placeholder documentation for DescribeChannelPlacementGroupResponse +public struct DescribeChannelPlacementGroupOutput { + /// The ARN of this ChannelPlacementGroup. It is automatically assigned when the ChannelPlacementGroup is created. + public var arn: Swift.String? + /// Used in ListChannelPlacementGroupsResult + public var channels: [Swift.String]? + /// The ID of the Cluster that the Node belongs to. + public var clusterId: Swift.String? + /// The ID of the ChannelPlacementGroup. Unique in the AWS account. The ID is the resource-id portion of the ARN. + public var id: Swift.String? + /// The name that you specified for the ChannelPlacementGroup. + public var name: Swift.String? + /// An array with one item, which is the signle Node that is associated with the ChannelPlacementGroup. + public var nodes: [Swift.String]? + /// The current state of the ChannelPlacementGroup. + public var state: MediaLiveClientTypes.ChannelPlacementGroupState? + + public init( + arn: Swift.String? = nil, + channels: [Swift.String]? = nil, + clusterId: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + nodes: [Swift.String]? = nil, + state: MediaLiveClientTypes.ChannelPlacementGroupState? = nil + ) + { + self.arn = arn + self.channels = channels + self.clusterId = clusterId + self.id = id + self.name = name + self.nodes = nodes + self.state = state + } +} + +/// Placeholder documentation for DescribeClusterRequest +public struct DescribeClusterInput { + /// The ID of the cluster. + /// This member is required. + public var clusterId: Swift.String? + + public init( + clusterId: Swift.String? = nil + ) + { + self.clusterId = clusterId + } +} + +/// Placeholder documentation for DescribeClusterResponse +public struct DescribeClusterOutput { + /// The ARN of this Cluster. It is automatically assigned when the Cluster is created. + public var arn: Swift.String? + /// Placeholder documentation for __listOf__string + public var channelIds: [Swift.String]? + /// The hardware type for the Cluster + public var clusterType: MediaLiveClientTypes.ClusterType? + /// The ID of the Cluster. Unique in the AWS account. The ID is the resource-id portion of the ARN. + public var id: Swift.String? + /// The ARN of the IAM role for the Node in this Cluster. Any Nodes that are associated with this Cluster assume this role. The role gives permissions to the operations that you expect these Node to perform. + public var instanceRoleArn: Swift.String? + /// The name that you specified for the Cluster. + public var name: Swift.String? + /// Network settings that connect the Nodes in the Cluster to one or more of the Networks that the Cluster is associated with. + public var networkSettings: MediaLiveClientTypes.ClusterNetworkSettings? + /// The current state of the Cluster. + public var state: MediaLiveClientTypes.ClusterState? + + public init( + arn: Swift.String? = nil, + channelIds: [Swift.String]? = nil, + clusterType: MediaLiveClientTypes.ClusterType? = nil, + id: Swift.String? = nil, + instanceRoleArn: Swift.String? = nil, + name: Swift.String? = nil, + networkSettings: MediaLiveClientTypes.ClusterNetworkSettings? = nil, + state: MediaLiveClientTypes.ClusterState? = nil + ) + { + self.arn = arn + self.channelIds = channelIds + self.clusterType = clusterType + self.id = id + self.instanceRoleArn = instanceRoleArn + self.name = name + self.networkSettings = networkSettings + self.state = state + } +} + /// Placeholder documentation for DescribeInputRequest public struct DescribeInputInput { /// Unique ID of the input @@ -19729,12 +21867,16 @@ public struct DescribeInputOutput { public var inputClass: MediaLiveClientTypes.InputClass? /// Settings for the input devices. public var inputDevices: [MediaLiveClientTypes.InputDeviceSettings]? + /// The location of this input. AWS, for an input existing in the AWS Cloud, On-Prem for an input in a customer network. + public var inputNetworkLocation: MediaLiveClientTypes.InputNetworkLocation? /// A list of IDs for all Inputs which are partners of this one. public var inputPartnerIds: [Swift.String]? /// Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes during input switch actions. Presently, this functionality only works with MP4_FILE and TS_FILE inputs. public var inputSourceType: MediaLiveClientTypes.InputSourceType? /// A list of MediaConnect Flows for this input. public var mediaConnectFlows: [MediaLiveClientTypes.MediaConnectFlow]? + /// Multicast Input settings. + public var multicastSettings: MediaLiveClientTypes.MulticastSettings? /// The user-assigned name (This is a mutable value). public var name: Swift.String? /// The Amazon Resource Name (ARN) of the role this input assumes during and after creation. @@ -19759,9 +21901,11 @@ public struct DescribeInputOutput { id: Swift.String? = nil, inputClass: MediaLiveClientTypes.InputClass? = nil, inputDevices: [MediaLiveClientTypes.InputDeviceSettings]? = nil, + inputNetworkLocation: MediaLiveClientTypes.InputNetworkLocation? = nil, inputPartnerIds: [Swift.String]? = nil, inputSourceType: MediaLiveClientTypes.InputSourceType? = nil, mediaConnectFlows: [MediaLiveClientTypes.MediaConnectFlow]? = nil, + multicastSettings: MediaLiveClientTypes.MulticastSettings? = nil, name: Swift.String? = nil, roleArn: Swift.String? = nil, securityGroups: [Swift.String]? = nil, @@ -19778,9 +21922,11 @@ public struct DescribeInputOutput { self.id = id self.inputClass = inputClass self.inputDevices = inputDevices + self.inputNetworkLocation = inputNetworkLocation self.inputPartnerIds = inputPartnerIds self.inputSourceType = inputSourceType self.mediaConnectFlows = mediaConnectFlows + self.multicastSettings = multicastSettings self.name = name self.roleArn = roleArn self.securityGroups = securityGroups @@ -20085,6 +22231,125 @@ public struct DescribeMultiplexProgramOutput { } } +/// Placeholder documentation for DescribeNetworkRequest +public struct DescribeNetworkInput { + /// The ID of the network. + /// This member is required. + public var networkId: Swift.String? + + public init( + networkId: Swift.String? = nil + ) + { + self.networkId = networkId + } +} + +/// Placeholder documentation for DescribeNetworkResponse +public struct DescribeNetworkOutput { + /// The ARN of this Network. It is automatically assigned when the Network is created. + public var arn: Swift.String? + /// Placeholder documentation for __listOf__string + public var associatedClusterIds: [Swift.String]? + /// The ID of the Network. Unique in the AWS account. The ID is the resource-id portion of the ARN. + public var id: Swift.String? + /// An array of IpPools in your organization's network that identify a collection of IP addresses in this network that are reserved for use in MediaLive Anywhere. MediaLive Anywhere uses these IP addresses for Push inputs (in both Bridge and NAT networks) and for output destinations (only in Bridge networks). Each IpPool specifies one CIDR block. + public var ipPools: [MediaLiveClientTypes.IpPool]? + /// The name that you specified for the Network. + public var name: Swift.String? + /// An array of routes that MediaLive Anywhere needs to know about in order to route encoding traffic. + public var routes: [MediaLiveClientTypes.Route]? + /// The current state of the Network. Only MediaLive Anywhere can change the state. + public var state: MediaLiveClientTypes.NetworkState? + + public init( + arn: Swift.String? = nil, + associatedClusterIds: [Swift.String]? = nil, + id: Swift.String? = nil, + ipPools: [MediaLiveClientTypes.IpPool]? = nil, + name: Swift.String? = nil, + routes: [MediaLiveClientTypes.Route]? = nil, + state: MediaLiveClientTypes.NetworkState? = nil + ) + { + self.arn = arn + self.associatedClusterIds = associatedClusterIds + self.id = id + self.ipPools = ipPools + self.name = name + self.routes = routes + self.state = state + } +} + +/// Placeholder documentation for DescribeNodeRequest +public struct DescribeNodeInput { + /// The ID of the cluster + /// This member is required. + public var clusterId: Swift.String? + /// The ID of the node. + /// This member is required. + public var nodeId: Swift.String? + + public init( + clusterId: Swift.String? = nil, + nodeId: Swift.String? = nil + ) + { + self.clusterId = clusterId + self.nodeId = nodeId + } +} + +/// Placeholder documentation for DescribeNodeResponse +public struct DescribeNodeOutput { + /// The ARN of the Node. It is automatically assigned when the Node is created. + public var arn: Swift.String? + /// An array of IDs. Each ID is one ChannelPlacementGroup that is associated with this Node. Empty if the Node is not yet associated with any groups. + public var channelPlacementGroups: [Swift.String]? + /// The ID of the Cluster that the Node belongs to. + public var clusterId: Swift.String? + /// The current connection state of the Node. + public var connectionState: MediaLiveClientTypes.NodeConnectionState? + /// The unique ID of the Node. Unique in the Cluster. The ID is the resource-id portion of the ARN. + public var id: Swift.String? + /// The ARN of the EC2 instance hosting the Node. + public var instanceArn: Swift.String? + /// The name that you specified for the Node. + public var name: Swift.String? + /// Documentation update needed + public var nodeInterfaceMappings: [MediaLiveClientTypes.NodeInterfaceMapping]? + /// The initial role current role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails. + public var role: MediaLiveClientTypes.NodeRole? + /// The current state of the Node. + public var state: MediaLiveClientTypes.NodeState? + + public init( + arn: Swift.String? = nil, + channelPlacementGroups: [Swift.String]? = nil, + clusterId: Swift.String? = nil, + connectionState: MediaLiveClientTypes.NodeConnectionState? = nil, + id: Swift.String? = nil, + instanceArn: Swift.String? = nil, + name: Swift.String? = nil, + nodeInterfaceMappings: [MediaLiveClientTypes.NodeInterfaceMapping]? = nil, + role: MediaLiveClientTypes.NodeRole? = nil, + state: MediaLiveClientTypes.NodeState? = nil + ) + { + self.arn = arn + self.channelPlacementGroups = channelPlacementGroups + self.clusterId = clusterId + self.connectionState = connectionState + self.id = id + self.instanceArn = instanceArn + self.name = name + self.nodeInterfaceMappings = nodeInterfaceMappings + self.role = role + self.state = state + } +} + /// Placeholder documentation for DescribeOfferingRequest public struct DescribeOfferingInput { /// Unique offering ID, e.g. '87654321' @@ -20742,6 +23007,45 @@ extension MediaLiveClientTypes { } +/// Placeholder documentation for ListChannelPlacementGroupsRequest +public struct ListChannelPlacementGroupsInput { + /// The ID of the cluster + /// This member is required. + public var clusterId: Swift.String? + /// The maximum number of items to return. + public var maxResults: Swift.Int? + /// The token to retrieve the next page of results. + public var nextToken: Swift.String? + + public init( + clusterId: Swift.String? = nil, + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil + ) + { + self.clusterId = clusterId + self.maxResults = maxResults + self.nextToken = nextToken + } +} + +/// Placeholder documentation for ListChannelPlacementGroupsResponse +public struct ListChannelPlacementGroupsOutput { + /// An array of ChannelPlacementGroups that exist in the Cluster. + public var channelPlacementGroups: [MediaLiveClientTypes.DescribeChannelPlacementGroupSummary]? + /// Token for the next result. + public var nextToken: Swift.String? + + public init( + channelPlacementGroups: [MediaLiveClientTypes.DescribeChannelPlacementGroupSummary]? = nil, + nextToken: Swift.String? = nil + ) + { + self.channelPlacementGroups = channelPlacementGroups + self.nextToken = nextToken + } +} + /// Placeholder documentation for ListChannelsRequest public struct ListChannelsInput { /// Placeholder documentation for MaxResults @@ -20839,27 +23143,61 @@ public struct ListCloudWatchAlarmTemplatesInput { signalMapIdentifier: Swift.String? = nil ) { - self.groupIdentifier = groupIdentifier + self.groupIdentifier = groupIdentifier + self.maxResults = maxResults + self.nextToken = nextToken + self.scope = scope + self.signalMapIdentifier = signalMapIdentifier + } +} + +/// Placeholder documentation for ListCloudWatchAlarmTemplatesResponse +public struct ListCloudWatchAlarmTemplatesOutput { + /// Placeholder documentation for __listOfCloudWatchAlarmTemplateSummary + public var cloudWatchAlarmTemplates: [MediaLiveClientTypes.CloudWatchAlarmTemplateSummary]? + /// A token used to retrieve the next set of results in paginated list responses. + public var nextToken: Swift.String? + + public init( + cloudWatchAlarmTemplates: [MediaLiveClientTypes.CloudWatchAlarmTemplateSummary]? = nil, + nextToken: Swift.String? = nil + ) + { + self.cloudWatchAlarmTemplates = cloudWatchAlarmTemplates + self.nextToken = nextToken + } +} + +/// Placeholder documentation for ListClustersRequest +public struct ListClustersInput { + /// The maximum number of items to return. + public var maxResults: Swift.Int? + /// The token to retrieve the next page of results. + public var nextToken: Swift.String? + + public init( + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil + ) + { self.maxResults = maxResults self.nextToken = nextToken - self.scope = scope - self.signalMapIdentifier = signalMapIdentifier } } -/// Placeholder documentation for ListCloudWatchAlarmTemplatesResponse -public struct ListCloudWatchAlarmTemplatesOutput { - /// Placeholder documentation for __listOfCloudWatchAlarmTemplateSummary - public var cloudWatchAlarmTemplates: [MediaLiveClientTypes.CloudWatchAlarmTemplateSummary]? - /// A token used to retrieve the next set of results in paginated list responses. +/// Placeholder documentation for ListClustersResponse +public struct ListClustersOutput { + /// A list of the Clusters that exist in your AWS account. + public var clusters: [MediaLiveClientTypes.DescribeClusterSummary]? + /// Token for the next result. public var nextToken: Swift.String? public init( - cloudWatchAlarmTemplates: [MediaLiveClientTypes.CloudWatchAlarmTemplateSummary]? = nil, + clusters: [MediaLiveClientTypes.DescribeClusterSummary]? = nil, nextToken: Swift.String? = nil ) { - self.cloudWatchAlarmTemplates = cloudWatchAlarmTemplates + self.clusters = clusters self.nextToken = nextToken } } @@ -21158,13 +23496,86 @@ public struct ListMultiplexProgramsOutput { } } +/// Placeholder documentation for ListNetworksRequest +public struct ListNetworksInput { + /// The maximum number of items to return. + public var maxResults: Swift.Int? + /// The token to retrieve the next page of results. + public var nextToken: Swift.String? + + public init( + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil + ) + { + self.maxResults = maxResults + self.nextToken = nextToken + } +} + +/// Placeholder documentation for ListNetworksResponse +public struct ListNetworksOutput { + /// An array of networks that you have created. + public var networks: [MediaLiveClientTypes.DescribeNetworkSummary]? + /// Token for the next ListNetworks request. + public var nextToken: Swift.String? + + public init( + networks: [MediaLiveClientTypes.DescribeNetworkSummary]? = nil, + nextToken: Swift.String? = nil + ) + { + self.networks = networks + self.nextToken = nextToken + } +} + +/// Placeholder documentation for ListNodesRequest +public struct ListNodesInput { + /// The ID of the cluster + /// This member is required. + public var clusterId: Swift.String? + /// The maximum number of items to return. + public var maxResults: Swift.Int? + /// The token to retrieve the next page of results. + public var nextToken: Swift.String? + + public init( + clusterId: Swift.String? = nil, + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil + ) + { + self.clusterId = clusterId + self.maxResults = maxResults + self.nextToken = nextToken + } +} + +/// Placeholder documentation for ListNodesResponse +public struct ListNodesOutput { + /// Token for the next result. + public var nextToken: Swift.String? + /// An array of Nodes that exist in the Cluster. + public var nodes: [MediaLiveClientTypes.DescribeNodeSummary]? + + public init( + nextToken: Swift.String? = nil, + nodes: [MediaLiveClientTypes.DescribeNodeSummary]? = nil + ) + { + self.nextToken = nextToken + self.nodes = nodes + } +} + /// Placeholder documentation for ListOfferingsRequest public struct ListOfferingsInput { /// Filter by channel class, 'STANDARD' or 'SINGLE_PIPELINE' public var channelClass: Swift.String? /// Filter to offerings that match the configuration of an existing channel, e.g. '2345678' (a channel ID) public var channelConfiguration: Swift.String? - /// Filter by codec, 'AVC', 'HEVC', 'MPEG2', 'AUDIO', or 'LINK' + /// Filter by codec, 'AVC', 'HEVC', 'MPEG2', 'AUDIO', 'LINK', or 'AV1' public var codec: Swift.String? /// Filter by offering duration, e.g. '12' public var duration: Swift.String? @@ -21236,7 +23647,7 @@ public struct ListOfferingsOutput { public struct ListReservationsInput { /// Filter by channel class, 'STANDARD' or 'SINGLE_PIPELINE' public var channelClass: Swift.String? - /// Filter by codec, 'AVC', 'HEVC', 'MPEG2', 'AUDIO', or 'LINK' + /// Filter by codec, 'AVC', 'HEVC', 'MPEG2', 'AUDIO', 'LINK', or 'AV1' public var codec: Swift.String? /// Placeholder documentation for MaxResults public var maxResults: Swift.Int? @@ -21537,6 +23948,8 @@ public struct RestartChannelPipelinesInput { /// Placeholder documentation for RestartChannelPipelinesResponse public struct RestartChannelPipelinesOutput { + /// Anywhere settings for this channel. + public var anywhereSettings: MediaLiveClientTypes.DescribeAnywhereSettings? /// The unique arn of the channel. public var arn: Swift.String? /// Specification of CDI inputs for this channel @@ -21577,6 +23990,7 @@ public struct RestartChannelPipelinesOutput { public var vpc: MediaLiveClientTypes.VpcOutputSettingsDescription? public init( + anywhereSettings: MediaLiveClientTypes.DescribeAnywhereSettings? = nil, arn: Swift.String? = nil, cdiInputSpecification: MediaLiveClientTypes.CdiInputSpecification? = nil, channelClass: MediaLiveClientTypes.ChannelClass? = nil, @@ -21598,6 +24012,7 @@ public struct RestartChannelPipelinesOutput { vpc: MediaLiveClientTypes.VpcOutputSettingsDescription? = nil ) { + self.anywhereSettings = anywhereSettings self.arn = arn self.cdiInputSpecification = cdiInputSpecification self.channelClass = channelClass @@ -21636,6 +24051,8 @@ public struct StartChannelInput { /// Placeholder documentation for StartChannelResponse public struct StartChannelOutput { + /// Anywhere settings for this channel. + public var anywhereSettings: MediaLiveClientTypes.DescribeAnywhereSettings? /// The unique arn of the channel. public var arn: Swift.String? /// Specification of CDI inputs for this channel @@ -21674,6 +24091,7 @@ public struct StartChannelOutput { public var vpc: MediaLiveClientTypes.VpcOutputSettingsDescription? public init( + anywhereSettings: MediaLiveClientTypes.DescribeAnywhereSettings? = nil, arn: Swift.String? = nil, cdiInputSpecification: MediaLiveClientTypes.CdiInputSpecification? = nil, channelClass: MediaLiveClientTypes.ChannelClass? = nil, @@ -21694,6 +24112,7 @@ public struct StartChannelOutput { vpc: MediaLiveClientTypes.VpcOutputSettingsDescription? = nil ) { + self.anywhereSettings = anywhereSettings self.arn = arn self.cdiInputSpecification = cdiInputSpecification self.channelClass = channelClass @@ -22147,6 +24566,8 @@ public struct StopChannelInput { /// Placeholder documentation for StopChannelResponse public struct StopChannelOutput { + /// Anywhere settings for this channel. + public var anywhereSettings: MediaLiveClientTypes.DescribeAnywhereSettings? /// The unique arn of the channel. public var arn: Swift.String? /// Specification of CDI inputs for this channel @@ -22185,6 +24606,7 @@ public struct StopChannelOutput { public var vpc: MediaLiveClientTypes.VpcOutputSettingsDescription? public init( + anywhereSettings: MediaLiveClientTypes.DescribeAnywhereSettings? = nil, arn: Swift.String? = nil, cdiInputSpecification: MediaLiveClientTypes.CdiInputSpecification? = nil, channelClass: MediaLiveClientTypes.ChannelClass? = nil, @@ -22205,6 +24627,7 @@ public struct StopChannelOutput { vpc: MediaLiveClientTypes.VpcOutputSettingsDescription? = nil ) { + self.anywhereSettings = anywhereSettings self.arn = arn self.cdiInputSpecification = cdiInputSpecification self.channelClass = channelClass @@ -22466,6 +24889,70 @@ public struct UpdateChannelClassOutput { } } +/// A request to update the channel placement group +public struct UpdateChannelPlacementGroupInput { + /// The ID of the channel placement group. + /// This member is required. + public var channelPlacementGroupId: Swift.String? + /// The ID of the cluster. + /// This member is required. + public var clusterId: Swift.String? + /// Include this parameter only if you want to change the current name of the ChannelPlacementGroup. Specify a name that is unique in the Cluster. You can't change the name. Names are case-sensitive. + public var name: Swift.String? + /// Include this parameter only if you want to change the list of Nodes that are associated with the ChannelPlacementGroup. + public var nodes: [Swift.String]? + + public init( + channelPlacementGroupId: Swift.String? = nil, + clusterId: Swift.String? = nil, + name: Swift.String? = nil, + nodes: [Swift.String]? = nil + ) + { + self.channelPlacementGroupId = channelPlacementGroupId + self.clusterId = clusterId + self.name = name + self.nodes = nodes + } +} + +/// Placeholder documentation for UpdateChannelPlacementGroupResponse +public struct UpdateChannelPlacementGroupOutput { + /// The ARN of this ChannelPlacementGroup. It is automatically assigned when the ChannelPlacementGroup is created. + public var arn: Swift.String? + /// Used in ListChannelPlacementGroupsResult + public var channels: [Swift.String]? + /// The ID of the Cluster that the Node belongs to. + public var clusterId: Swift.String? + /// The ID of the ChannelPlacementGroup. Unique in the AWS account. The ID is the resource-id portion of the ARN. + public var id: Swift.String? + /// The name that you specified for the ChannelPlacementGroup. + public var name: Swift.String? + /// An array with one item, which is the signle Node that is associated with the ChannelPlacementGroup. + public var nodes: [Swift.String]? + /// The current state of the ChannelPlacementGroup. + public var state: MediaLiveClientTypes.ChannelPlacementGroupState? + + public init( + arn: Swift.String? = nil, + channels: [Swift.String]? = nil, + clusterId: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + nodes: [Swift.String]? = nil, + state: MediaLiveClientTypes.ChannelPlacementGroupState? = nil + ) + { + self.arn = arn + self.channels = channels + self.clusterId = clusterId + self.id = id + self.name = name + self.nodes = nodes + self.state = state + } +} + /// Placeholder documentation for UpdateCloudWatchAlarmTemplateRequest public struct UpdateCloudWatchAlarmTemplateInput { /// The comparison operator used to compare the specified statistic and the threshold. @@ -22660,6 +25147,65 @@ public struct UpdateCloudWatchAlarmTemplateGroupOutput { } } +/// A request to update the cluster. +public struct UpdateClusterInput { + /// The ID of the cluster + /// This member is required. + public var clusterId: Swift.String? + /// Include this parameter only if you want to change the current name of the Cluster. Specify a name that is unique in the AWS account. You can't change the name. Names are case-sensitive. + public var name: Swift.String? + /// Include this property only if you want to change the current connections between the Nodes in the Cluster and the Networks the Cluster is associated with. + public var networkSettings: MediaLiveClientTypes.ClusterNetworkSettingsUpdateRequest? + + public init( + clusterId: Swift.String? = nil, + name: Swift.String? = nil, + networkSettings: MediaLiveClientTypes.ClusterNetworkSettingsUpdateRequest? = nil + ) + { + self.clusterId = clusterId + self.name = name + self.networkSettings = networkSettings + } +} + +/// Placeholder documentation for UpdateClusterResponse +public struct UpdateClusterOutput { + /// The ARN of the Cluster. + public var arn: Swift.String? + /// An array of the IDs of the Channels that are associated with this Cluster. One Channel is associated with the Cluster as follows: A Channel belongs to a ChannelPlacementGroup. A ChannelPlacementGroup is attached to a Node. A Node belongs to a Cluster. + public var channelIds: [Swift.String]? + /// The hardware type for the Cluster + public var clusterType: MediaLiveClientTypes.ClusterType? + /// The unique ID of the Cluster. + public var id: Swift.String? + /// The user-specified name of the Cluster. + public var name: Swift.String? + /// Network settings that connect the Nodes in the Cluster to one or more of the Networks that the Cluster is associated with. + public var networkSettings: MediaLiveClientTypes.ClusterNetworkSettings? + /// The current state of the Cluster. + public var state: MediaLiveClientTypes.ClusterState? + + public init( + arn: Swift.String? = nil, + channelIds: [Swift.String]? = nil, + clusterType: MediaLiveClientTypes.ClusterType? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + networkSettings: MediaLiveClientTypes.ClusterNetworkSettings? = nil, + state: MediaLiveClientTypes.ClusterState? = nil + ) + { + self.arn = arn + self.channelIds = channelIds + self.clusterType = clusterType + self.id = id + self.name = name + self.networkSettings = networkSettings + self.state = state + } +} + /// Placeholder documentation for UpdateEventBridgeRuleTemplateRequest public struct UpdateEventBridgeRuleTemplateInput { /// A resource's optional description. @@ -22798,6 +25344,22 @@ public struct UpdateEventBridgeRuleTemplateGroupOutput { } } +extension MediaLiveClientTypes { + /// Settings for a Multicast input. Contains a list of multicast Urls and optional source ip addresses. + public struct MulticastSettingsUpdateRequest { + /// Placeholder documentation for __listOfMulticastSourceUpdateRequest + public var sources: [MediaLiveClientTypes.MulticastSourceUpdateRequest]? + + public init( + sources: [MediaLiveClientTypes.MulticastSourceUpdateRequest]? = nil + ) + { + self.sources = sources + } + } + +} + /// A request to update an input. public struct UpdateInputInput { /// Destination settings for PUSH type inputs. @@ -22811,6 +25373,8 @@ public struct UpdateInputInput { public var inputSecurityGroups: [Swift.String]? /// A list of the MediaConnect Flow ARNs that you want to use as the source of the input. You can specify as few as one Flow and presently, as many as two. The only requirement is when you have more than one is that each Flow is in a separate Availability Zone as this ensures your EML input is redundant to AZ issues. public var mediaConnectFlows: [MediaLiveClientTypes.MediaConnectFlowRequest]? + /// Multicast Input settings. + public var multicastSettings: MediaLiveClientTypes.MulticastSettingsUpdateRequest? /// Name of the input. public var name: Swift.String? /// The Amazon Resource Name (ARN) of the role this input assumes during and after creation. @@ -22826,6 +25390,7 @@ public struct UpdateInputInput { inputId: Swift.String? = nil, inputSecurityGroups: [Swift.String]? = nil, mediaConnectFlows: [MediaLiveClientTypes.MediaConnectFlowRequest]? = nil, + multicastSettings: MediaLiveClientTypes.MulticastSettingsUpdateRequest? = nil, name: Swift.String? = nil, roleArn: Swift.String? = nil, sources: [MediaLiveClientTypes.InputSourceRequest]? = nil, @@ -22837,6 +25402,7 @@ public struct UpdateInputInput { self.inputId = inputId self.inputSecurityGroups = inputSecurityGroups self.mediaConnectFlows = mediaConnectFlows + self.multicastSettings = multicastSettings self.name = name self.roleArn = roleArn self.sources = sources @@ -23026,47 +25592,288 @@ public struct UpdateMultiplexOutput { /// The updated multiplex. public var multiplex: MediaLiveClientTypes.Multiplex? - public init( - multiplex: MediaLiveClientTypes.Multiplex? = nil - ) - { - self.multiplex = multiplex + public init( + multiplex: MediaLiveClientTypes.Multiplex? = nil + ) + { + self.multiplex = multiplex + } +} + +/// A request to update a program in a multiplex. +public struct UpdateMultiplexProgramInput { + /// The ID of the multiplex of the program to update. + /// This member is required. + public var multiplexId: Swift.String? + /// The new settings for a multiplex program. + public var multiplexProgramSettings: MediaLiveClientTypes.MultiplexProgramSettings? + /// The name of the program to update. + /// This member is required. + public var programName: Swift.String? + + public init( + multiplexId: Swift.String? = nil, + multiplexProgramSettings: MediaLiveClientTypes.MultiplexProgramSettings? = nil, + programName: Swift.String? = nil + ) + { + self.multiplexId = multiplexId + self.multiplexProgramSettings = multiplexProgramSettings + self.programName = programName + } +} + +/// Placeholder documentation for UpdateMultiplexProgramResponse +public struct UpdateMultiplexProgramOutput { + /// The updated multiplex program. + public var multiplexProgram: MediaLiveClientTypes.MultiplexProgram? + + public init( + multiplexProgram: MediaLiveClientTypes.MultiplexProgram? = nil + ) + { + self.multiplexProgram = multiplexProgram + } +} + +/// A request to update the network. +public struct UpdateNetworkInput { + /// Include this parameter only if you want to change the pool of IP addresses in the network. An array of IpPoolCreateRequests that identify a collection of IP addresses in this network that you want to reserve for use in MediaLive Anywhere. MediaLive Anywhere uses these IP addresses for Push inputs (in both Bridge and NAT networks) and for output destinations (only in Bridge networks). Each IpPoolUpdateRequest specifies one CIDR block. + public var ipPools: [MediaLiveClientTypes.IpPoolUpdateRequest]? + /// Include this parameter only if you want to change the name of the Network. Specify a name that is unique in the AWS account. Names are case-sensitive. + public var name: Swift.String? + /// The ID of the network + /// This member is required. + public var networkId: Swift.String? + /// Include this parameter only if you want to change or add routes in the Network. An array of Routes that MediaLive Anywhere needs to know about in order to route encoding traffic. + public var routes: [MediaLiveClientTypes.RouteUpdateRequest]? + + public init( + ipPools: [MediaLiveClientTypes.IpPoolUpdateRequest]? = nil, + name: Swift.String? = nil, + networkId: Swift.String? = nil, + routes: [MediaLiveClientTypes.RouteUpdateRequest]? = nil + ) + { + self.ipPools = ipPools + self.name = name + self.networkId = networkId + self.routes = routes + } +} + +/// Placeholder documentation for UpdateNetworkResponse +public struct UpdateNetworkOutput { + /// The ARN of this Network. It is automatically assigned when the Network is created. + public var arn: Swift.String? + /// Placeholder documentation for __listOf__string + public var associatedClusterIds: [Swift.String]? + /// The ID of the Network. Unique in the AWS account. The ID is the resource-id portion of the ARN. + public var id: Swift.String? + /// An array of IpPools in your organization's network that identify a collection of IP addresses in this network that are reserved for use in MediaLive Anywhere. MediaLive Anywhere uses these IP addresses for Push inputs (in both Bridge and NAT networks) and for output destinations (only in Bridge networks). Each IpPool specifies one CIDR block. + public var ipPools: [MediaLiveClientTypes.IpPool]? + /// The name that you specified for the Network. + public var name: Swift.String? + /// An array of Routes that MediaLive Anywhere needs to know about in order to route encoding traffic. + public var routes: [MediaLiveClientTypes.Route]? + /// The current state of the Network. Only MediaLive Anywhere can change the state. + public var state: MediaLiveClientTypes.NetworkState? + + public init( + arn: Swift.String? = nil, + associatedClusterIds: [Swift.String]? = nil, + id: Swift.String? = nil, + ipPools: [MediaLiveClientTypes.IpPool]? = nil, + name: Swift.String? = nil, + routes: [MediaLiveClientTypes.Route]? = nil, + state: MediaLiveClientTypes.NetworkState? = nil + ) + { + self.arn = arn + self.associatedClusterIds = associatedClusterIds + self.id = id + self.ipPools = ipPools + self.name = name + self.routes = routes + self.state = state + } +} + +/// A request to update the node. +public struct UpdateNodeInput { + /// The ID of the cluster + /// This member is required. + public var clusterId: Swift.String? + /// Include this parameter only if you want to change the current name of the Node. Specify a name that is unique in the Cluster. You can't change the name. Names are case-sensitive. + public var name: Swift.String? + /// The ID of the node. + /// This member is required. + public var nodeId: Swift.String? + /// The initial role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails. + public var role: MediaLiveClientTypes.NodeRole? + + public init( + clusterId: Swift.String? = nil, + name: Swift.String? = nil, + nodeId: Swift.String? = nil, + role: MediaLiveClientTypes.NodeRole? = nil + ) + { + self.clusterId = clusterId + self.name = name + self.nodeId = nodeId + self.role = role + } +} + +/// Placeholder documentation for UpdateNodeResponse +public struct UpdateNodeOutput { + /// The ARN of the Node. It is automatically assigned when the Node is created. + public var arn: Swift.String? + /// An array of IDs. Each ID is one ChannelPlacementGroup that is associated with this Node. Empty if the Node is not yet associated with any groups. + public var channelPlacementGroups: [Swift.String]? + /// The ID of the Cluster that the Node belongs to. + public var clusterId: Swift.String? + /// The current connection state of the Node. + public var connectionState: MediaLiveClientTypes.NodeConnectionState? + /// The unique ID of the Node. Unique in the Cluster. The ID is the resource-id portion of the ARN. + public var id: Swift.String? + /// The ARN of the EC2 instance hosting the Node. + public var instanceArn: Swift.String? + /// The name that you specified for the Node. + public var name: Swift.String? + /// Documentation update needed + public var nodeInterfaceMappings: [MediaLiveClientTypes.NodeInterfaceMapping]? + /// The initial role current role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails. + public var role: MediaLiveClientTypes.NodeRole? + /// The current state of the Node. + public var state: MediaLiveClientTypes.NodeState? + + public init( + arn: Swift.String? = nil, + channelPlacementGroups: [Swift.String]? = nil, + clusterId: Swift.String? = nil, + connectionState: MediaLiveClientTypes.NodeConnectionState? = nil, + id: Swift.String? = nil, + instanceArn: Swift.String? = nil, + name: Swift.String? = nil, + nodeInterfaceMappings: [MediaLiveClientTypes.NodeInterfaceMapping]? = nil, + role: MediaLiveClientTypes.NodeRole? = nil, + state: MediaLiveClientTypes.NodeState? = nil + ) + { + self.arn = arn + self.channelPlacementGroups = channelPlacementGroups + self.clusterId = clusterId + self.connectionState = connectionState + self.id = id + self.instanceArn = instanceArn + self.name = name + self.nodeInterfaceMappings = nodeInterfaceMappings + self.role = role + self.state = state + } +} + +extension MediaLiveClientTypes { + + /// Used in UpdateNodeStateRequest. + public enum UpdateNodeStateShape: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case active + case draining + case sdkUnknown(Swift.String) + + public static var allCases: [UpdateNodeStateShape] { + return [ + .active, + .draining + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .active: return "ACTIVE" + case .draining: return "DRAINING" + case let .sdkUnknown(s): return s + } + } } } -/// A request to update a program in a multiplex. -public struct UpdateMultiplexProgramInput { - /// The ID of the multiplex of the program to update. +/// A request to update the state of a node. +public struct UpdateNodeStateInput { + /// The ID of the cluster /// This member is required. - public var multiplexId: Swift.String? - /// The new settings for a multiplex program. - public var multiplexProgramSettings: MediaLiveClientTypes.MultiplexProgramSettings? - /// The name of the program to update. + public var clusterId: Swift.String? + /// The ID of the node. /// This member is required. - public var programName: Swift.String? + public var nodeId: Swift.String? + /// The state to apply to the Node. Set to ACTIVE (COMMISSIONED) to indicate that the Node is deployable. MediaLive Anywhere will consider this node it needs a Node to run a Channel on, or when it needs a Node to promote from a backup node to an active node. Set to DRAINING to isolate the Node so that MediaLive Anywhere won't use it. + public var state: MediaLiveClientTypes.UpdateNodeStateShape? public init( - multiplexId: Swift.String? = nil, - multiplexProgramSettings: MediaLiveClientTypes.MultiplexProgramSettings? = nil, - programName: Swift.String? = nil + clusterId: Swift.String? = nil, + nodeId: Swift.String? = nil, + state: MediaLiveClientTypes.UpdateNodeStateShape? = nil ) { - self.multiplexId = multiplexId - self.multiplexProgramSettings = multiplexProgramSettings - self.programName = programName + self.clusterId = clusterId + self.nodeId = nodeId + self.state = state } } -/// Placeholder documentation for UpdateMultiplexProgramResponse -public struct UpdateMultiplexProgramOutput { - /// The updated multiplex program. - public var multiplexProgram: MediaLiveClientTypes.MultiplexProgram? +/// Placeholder documentation for UpdateNodeStateResponse +public struct UpdateNodeStateOutput { + /// The ARN of the Node. It is automatically assigned when the Node is created. + public var arn: Swift.String? + /// An array of IDs. Each ID is one ChannelPlacementGroup that is associated with this Node. Empty if the Node is not yet associated with any groups. + public var channelPlacementGroups: [Swift.String]? + /// The ID of the Cluster that the Node belongs to. + public var clusterId: Swift.String? + /// The current connection state of the Node. + public var connectionState: MediaLiveClientTypes.NodeConnectionState? + /// The unique ID of the Node. Unique in the Cluster. The ID is the resource-id portion of the ARN. + public var id: Swift.String? + /// The ARN of the EC2 instance hosting the Node. + public var instanceArn: Swift.String? + /// The name that you specified for the Node. + public var name: Swift.String? + /// Documentation update needed + public var nodeInterfaceMappings: [MediaLiveClientTypes.NodeInterfaceMapping]? + /// The initial role current role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails. + public var role: MediaLiveClientTypes.NodeRole? + /// The current state of the Node. + public var state: MediaLiveClientTypes.NodeState? public init( - multiplexProgram: MediaLiveClientTypes.MultiplexProgram? = nil + arn: Swift.String? = nil, + channelPlacementGroups: [Swift.String]? = nil, + clusterId: Swift.String? = nil, + connectionState: MediaLiveClientTypes.NodeConnectionState? = nil, + id: Swift.String? = nil, + instanceArn: Swift.String? = nil, + name: Swift.String? = nil, + nodeInterfaceMappings: [MediaLiveClientTypes.NodeInterfaceMapping]? = nil, + role: MediaLiveClientTypes.NodeRole? = nil, + state: MediaLiveClientTypes.NodeState? = nil ) { - self.multiplexProgram = multiplexProgram + self.arn = arn + self.channelPlacementGroups = channelPlacementGroups + self.clusterId = clusterId + self.connectionState = connectionState + self.id = id + self.instanceArn = instanceArn + self.name = name + self.nodeInterfaceMappings = nodeInterfaceMappings + self.role = role + self.state = state } } @@ -23170,6 +25977,16 @@ extension CreateChannelInput { } } +extension CreateChannelPlacementGroupInput { + + static func urlPathProvider(_ value: CreateChannelPlacementGroupInput) -> Swift.String? { + guard let clusterId = value.clusterId else { + return nil + } + return "/prod/clusters/\(clusterId.urlPercentEncoding())/channelplacementgroups" + } +} + extension CreateCloudWatchAlarmTemplateInput { static func urlPathProvider(_ value: CreateCloudWatchAlarmTemplateInput) -> Swift.String? { @@ -23184,6 +26001,13 @@ extension CreateCloudWatchAlarmTemplateGroupInput { } } +extension CreateClusterInput { + + static func urlPathProvider(_ value: CreateClusterInput) -> Swift.String? { + return "/prod/clusters" + } +} + extension CreateEventBridgeRuleTemplateInput { static func urlPathProvider(_ value: CreateEventBridgeRuleTemplateInput) -> Swift.String? { @@ -23229,6 +26053,33 @@ extension CreateMultiplexProgramInput { } } +extension CreateNetworkInput { + + static func urlPathProvider(_ value: CreateNetworkInput) -> Swift.String? { + return "/prod/networks" + } +} + +extension CreateNodeInput { + + static func urlPathProvider(_ value: CreateNodeInput) -> Swift.String? { + guard let clusterId = value.clusterId else { + return nil + } + return "/prod/clusters/\(clusterId.urlPercentEncoding())/nodes" + } +} + +extension CreateNodeRegistrationScriptInput { + + static func urlPathProvider(_ value: CreateNodeRegistrationScriptInput) -> Swift.String? { + guard let clusterId = value.clusterId else { + return nil + } + return "/prod/clusters/\(clusterId.urlPercentEncoding())/nodeRegistrationScript" + } +} + extension CreatePartnerInputInput { static func urlPathProvider(_ value: CreatePartnerInputInput) -> Swift.String? { @@ -23266,6 +26117,19 @@ extension DeleteChannelInput { } } +extension DeleteChannelPlacementGroupInput { + + static func urlPathProvider(_ value: DeleteChannelPlacementGroupInput) -> Swift.String? { + guard let clusterId = value.clusterId else { + return nil + } + guard let channelPlacementGroupId = value.channelPlacementGroupId else { + return nil + } + return "/prod/clusters/\(clusterId.urlPercentEncoding())/channelplacementgroups/\(channelPlacementGroupId.urlPercentEncoding())" + } +} + extension DeleteCloudWatchAlarmTemplateInput { static func urlPathProvider(_ value: DeleteCloudWatchAlarmTemplateInput) -> Swift.String? { @@ -23286,6 +26150,16 @@ extension DeleteCloudWatchAlarmTemplateGroupInput { } } +extension DeleteClusterInput { + + static func urlPathProvider(_ value: DeleteClusterInput) -> Swift.String? { + guard let clusterId = value.clusterId else { + return nil + } + return "/prod/clusters/\(clusterId.urlPercentEncoding())" + } +} + extension DeleteEventBridgeRuleTemplateInput { static func urlPathProvider(_ value: DeleteEventBridgeRuleTemplateInput) -> Swift.String? { @@ -23349,6 +26223,29 @@ extension DeleteMultiplexProgramInput { } } +extension DeleteNetworkInput { + + static func urlPathProvider(_ value: DeleteNetworkInput) -> Swift.String? { + guard let networkId = value.networkId else { + return nil + } + return "/prod/networks/\(networkId.urlPercentEncoding())" + } +} + +extension DeleteNodeInput { + + static func urlPathProvider(_ value: DeleteNodeInput) -> Swift.String? { + guard let clusterId = value.clusterId else { + return nil + } + guard let nodeId = value.nodeId else { + return nil + } + return "/prod/clusters/\(clusterId.urlPercentEncoding())/nodes/\(nodeId.urlPercentEncoding())" + } +} + extension DeleteReservationInput { static func urlPathProvider(_ value: DeleteReservationInput) -> Swift.String? { @@ -23422,6 +26319,29 @@ extension DescribeChannelInput { } } +extension DescribeChannelPlacementGroupInput { + + static func urlPathProvider(_ value: DescribeChannelPlacementGroupInput) -> Swift.String? { + guard let clusterId = value.clusterId else { + return nil + } + guard let channelPlacementGroupId = value.channelPlacementGroupId else { + return nil + } + return "/prod/clusters/\(clusterId.urlPercentEncoding())/channelplacementgroups/\(channelPlacementGroupId.urlPercentEncoding())" + } +} + +extension DescribeClusterInput { + + static func urlPathProvider(_ value: DescribeClusterInput) -> Swift.String? { + guard let clusterId = value.clusterId else { + return nil + } + return "/prod/clusters/\(clusterId.urlPercentEncoding())" + } +} + extension DescribeInputInput { static func urlPathProvider(_ value: DescribeInputInput) -> Swift.String? { @@ -23496,6 +26416,29 @@ extension DescribeMultiplexProgramInput { } } +extension DescribeNetworkInput { + + static func urlPathProvider(_ value: DescribeNetworkInput) -> Swift.String? { + guard let networkId = value.networkId else { + return nil + } + return "/prod/networks/\(networkId.urlPercentEncoding())" + } +} + +extension DescribeNodeInput { + + static func urlPathProvider(_ value: DescribeNodeInput) -> Swift.String? { + guard let clusterId = value.clusterId else { + return nil + } + guard let nodeId = value.nodeId else { + return nil + } + return "/prod/clusters/\(clusterId.urlPercentEncoding())/nodes/\(nodeId.urlPercentEncoding())" + } +} + extension DescribeOfferingInput { static func urlPathProvider(_ value: DescribeOfferingInput) -> Swift.String? { @@ -23622,6 +26565,32 @@ extension GetSignalMapInput { } } +extension ListChannelPlacementGroupsInput { + + static func urlPathProvider(_ value: ListChannelPlacementGroupsInput) -> Swift.String? { + guard let clusterId = value.clusterId else { + return nil + } + return "/prod/clusters/\(clusterId.urlPercentEncoding())/channelplacementgroups" + } +} + +extension ListChannelPlacementGroupsInput { + + static func queryItemProvider(_ value: ListChannelPlacementGroupsInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let nextToken = value.nextToken { + let nextTokenQueryItem = Smithy.URIQueryItem(name: "nextToken".urlPercentEncoding(), value: Swift.String(nextToken).urlPercentEncoding()) + items.append(nextTokenQueryItem) + } + if let maxResults = value.maxResults { + let maxResultsQueryItem = Smithy.URIQueryItem(name: "maxResults".urlPercentEncoding(), value: Swift.String(maxResults).urlPercentEncoding()) + items.append(maxResultsQueryItem) + } + return items + } +} + extension ListChannelsInput { static func urlPathProvider(_ value: ListChannelsInput) -> Swift.String? { @@ -23711,6 +26680,29 @@ extension ListCloudWatchAlarmTemplatesInput { } } +extension ListClustersInput { + + static func urlPathProvider(_ value: ListClustersInput) -> Swift.String? { + return "/prod/clusters" + } +} + +extension ListClustersInput { + + static func queryItemProvider(_ value: ListClustersInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let nextToken = value.nextToken { + let nextTokenQueryItem = Smithy.URIQueryItem(name: "nextToken".urlPercentEncoding(), value: Swift.String(nextToken).urlPercentEncoding()) + items.append(nextTokenQueryItem) + } + if let maxResults = value.maxResults { + let maxResultsQueryItem = Smithy.URIQueryItem(name: "maxResults".urlPercentEncoding(), value: Swift.String(maxResults).urlPercentEncoding()) + items.append(maxResultsQueryItem) + } + return items + } +} + extension ListEventBridgeRuleTemplateGroupsInput { static func urlPathProvider(_ value: ListEventBridgeRuleTemplateGroupsInput) -> Swift.String? { @@ -23916,6 +26908,55 @@ extension ListMultiplexProgramsInput { } } +extension ListNetworksInput { + + static func urlPathProvider(_ value: ListNetworksInput) -> Swift.String? { + return "/prod/networks" + } +} + +extension ListNetworksInput { + + static func queryItemProvider(_ value: ListNetworksInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let nextToken = value.nextToken { + let nextTokenQueryItem = Smithy.URIQueryItem(name: "nextToken".urlPercentEncoding(), value: Swift.String(nextToken).urlPercentEncoding()) + items.append(nextTokenQueryItem) + } + if let maxResults = value.maxResults { + let maxResultsQueryItem = Smithy.URIQueryItem(name: "maxResults".urlPercentEncoding(), value: Swift.String(maxResults).urlPercentEncoding()) + items.append(maxResultsQueryItem) + } + return items + } +} + +extension ListNodesInput { + + static func urlPathProvider(_ value: ListNodesInput) -> Swift.String? { + guard let clusterId = value.clusterId else { + return nil + } + return "/prod/clusters/\(clusterId.urlPercentEncoding())/nodes" + } +} + +extension ListNodesInput { + + static func queryItemProvider(_ value: ListNodesInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let nextToken = value.nextToken { + let nextTokenQueryItem = Smithy.URIQueryItem(name: "nextToken".urlPercentEncoding(), value: Swift.String(nextToken).urlPercentEncoding()) + items.append(nextTokenQueryItem) + } + if let maxResults = value.maxResults { + let maxResultsQueryItem = Smithy.URIQueryItem(name: "maxResults".urlPercentEncoding(), value: Swift.String(maxResults).urlPercentEncoding()) + items.append(maxResultsQueryItem) + } + return items + } +} + extension ListOfferingsInput { static func urlPathProvider(_ value: ListOfferingsInput) -> Swift.String? { @@ -24252,6 +27293,19 @@ extension UpdateChannelClassInput { } } +extension UpdateChannelPlacementGroupInput { + + static func urlPathProvider(_ value: UpdateChannelPlacementGroupInput) -> Swift.String? { + guard let clusterId = value.clusterId else { + return nil + } + guard let channelPlacementGroupId = value.channelPlacementGroupId else { + return nil + } + return "/prod/clusters/\(clusterId.urlPercentEncoding())/channelplacementgroups/\(channelPlacementGroupId.urlPercentEncoding())" + } +} + extension UpdateCloudWatchAlarmTemplateInput { static func urlPathProvider(_ value: UpdateCloudWatchAlarmTemplateInput) -> Swift.String? { @@ -24272,6 +27326,16 @@ extension UpdateCloudWatchAlarmTemplateGroupInput { } } +extension UpdateClusterInput { + + static func urlPathProvider(_ value: UpdateClusterInput) -> Swift.String? { + guard let clusterId = value.clusterId else { + return nil + } + return "/prod/clusters/\(clusterId.urlPercentEncoding())" + } +} + extension UpdateEventBridgeRuleTemplateInput { static func urlPathProvider(_ value: UpdateEventBridgeRuleTemplateInput) -> Swift.String? { @@ -24345,6 +27409,42 @@ extension UpdateMultiplexProgramInput { } } +extension UpdateNetworkInput { + + static func urlPathProvider(_ value: UpdateNetworkInput) -> Swift.String? { + guard let networkId = value.networkId else { + return nil + } + return "/prod/networks/\(networkId.urlPercentEncoding())" + } +} + +extension UpdateNodeInput { + + static func urlPathProvider(_ value: UpdateNodeInput) -> Swift.String? { + guard let clusterId = value.clusterId else { + return nil + } + guard let nodeId = value.nodeId else { + return nil + } + return "/prod/clusters/\(clusterId.urlPercentEncoding())/nodes/\(nodeId.urlPercentEncoding())" + } +} + +extension UpdateNodeStateInput { + + static func urlPathProvider(_ value: UpdateNodeStateInput) -> Swift.String? { + guard let clusterId = value.clusterId else { + return nil + } + guard let nodeId = value.nodeId else { + return nil + } + return "/prod/clusters/\(clusterId.urlPercentEncoding())/nodes/\(nodeId.urlPercentEncoding())/state" + } +} + extension UpdateReservationInput { static func urlPathProvider(_ value: UpdateReservationInput) -> Swift.String? { @@ -24405,6 +27505,7 @@ extension CreateChannelInput { static func write(value: CreateChannelInput?, to writer: SmithyJSON.Writer) throws { guard let value else { return } + try writer["anywhereSettings"].write(value.anywhereSettings, with: MediaLiveClientTypes.AnywhereSettings.write(value:to:)) try writer["cdiInputSpecification"].write(value.cdiInputSpecification, with: MediaLiveClientTypes.CdiInputSpecification.write(value:to:)) try writer["channelClass"].write(value.channelClass) try writer["destinations"].writeList(value.destinations, memberWritingClosure: MediaLiveClientTypes.OutputDestination.write(value:to:), memberNodeInfo: "member", isFlattened: false) @@ -24422,6 +27523,17 @@ extension CreateChannelInput { } } +extension CreateChannelPlacementGroupInput { + + static func write(value: CreateChannelPlacementGroupInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["name"].write(value.name) + try writer["nodes"].writeList(value.nodes, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["requestId"].write(value.requestId) + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + extension CreateCloudWatchAlarmTemplateInput { static func write(value: CreateCloudWatchAlarmTemplateInput?, to writer: SmithyJSON.Writer) throws { @@ -24442,12 +27554,25 @@ extension CreateCloudWatchAlarmTemplateInput { } } -extension CreateCloudWatchAlarmTemplateGroupInput { +extension CreateCloudWatchAlarmTemplateGroupInput { + + static func write(value: CreateCloudWatchAlarmTemplateGroupInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["description"].write(value.description) + try writer["name"].write(value.name) + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension CreateClusterInput { - static func write(value: CreateCloudWatchAlarmTemplateGroupInput?, to writer: SmithyJSON.Writer) throws { + static func write(value: CreateClusterInput?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["description"].write(value.description) + try writer["clusterType"].write(value.clusterType) + try writer["instanceRoleArn"].write(value.instanceRoleArn) try writer["name"].write(value.name) + try writer["networkSettings"].write(value.networkSettings, with: MediaLiveClientTypes.ClusterNetworkSettingsCreateRequest.write(value:to:)) + try writer["requestId"].write(value.requestId) try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) } } @@ -24481,8 +27606,10 @@ extension CreateInputInput { guard let value else { return } try writer["destinations"].writeList(value.destinations, memberWritingClosure: MediaLiveClientTypes.InputDestinationRequest.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["inputDevices"].writeList(value.inputDevices, memberWritingClosure: MediaLiveClientTypes.InputDeviceSettings.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["inputNetworkLocation"].write(value.inputNetworkLocation) try writer["inputSecurityGroups"].writeList(value.inputSecurityGroups, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["mediaConnectFlows"].writeList(value.mediaConnectFlows, memberWritingClosure: MediaLiveClientTypes.MediaConnectFlowRequest.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["multicastSettings"].write(value.multicastSettings, with: MediaLiveClientTypes.MulticastSettingsCreateRequest.write(value:to:)) try writer["name"].write(value.name) try writer["requestId"].write(value.requestId) try writer["roleArn"].write(value.roleArn) @@ -24525,6 +27652,42 @@ extension CreateMultiplexProgramInput { } } +extension CreateNetworkInput { + + static func write(value: CreateNetworkInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["ipPools"].writeList(value.ipPools, memberWritingClosure: MediaLiveClientTypes.IpPoolCreateRequest.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["name"].write(value.name) + try writer["requestId"].write(value.requestId) + try writer["routes"].writeList(value.routes, memberWritingClosure: MediaLiveClientTypes.RouteCreateRequest.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension CreateNodeInput { + + static func write(value: CreateNodeInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["name"].write(value.name) + try writer["nodeInterfaceMappings"].writeList(value.nodeInterfaceMappings, memberWritingClosure: MediaLiveClientTypes.NodeInterfaceMappingCreateRequest.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["requestId"].write(value.requestId) + try writer["role"].write(value.role) + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension CreateNodeRegistrationScriptInput { + + static func write(value: CreateNodeRegistrationScriptInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["id"].write(value.id) + try writer["name"].write(value.name) + try writer["nodeInterfaceMappings"].writeList(value.nodeInterfaceMappings, memberWritingClosure: MediaLiveClientTypes.NodeInterfaceMapping.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["requestId"].write(value.requestId) + try writer["role"].write(value.role) + } +} + extension CreatePartnerInputInput { static func write(value: CreatePartnerInputInput?, to writer: SmithyJSON.Writer) throws { @@ -24648,6 +27811,15 @@ extension UpdateChannelClassInput { } } +extension UpdateChannelPlacementGroupInput { + + static func write(value: UpdateChannelPlacementGroupInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["name"].write(value.name) + try writer["nodes"].writeList(value.nodes, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + extension UpdateCloudWatchAlarmTemplateInput { static func write(value: UpdateCloudWatchAlarmTemplateInput?, to writer: SmithyJSON.Writer) throws { @@ -24675,6 +27847,15 @@ extension UpdateCloudWatchAlarmTemplateGroupInput { } } +extension UpdateClusterInput { + + static func write(value: UpdateClusterInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["name"].write(value.name) + try writer["networkSettings"].write(value.networkSettings, with: MediaLiveClientTypes.ClusterNetworkSettingsUpdateRequest.write(value:to:)) + } +} + extension UpdateEventBridgeRuleTemplateInput { static func write(value: UpdateEventBridgeRuleTemplateInput?, to writer: SmithyJSON.Writer) throws { @@ -24703,6 +27884,7 @@ extension UpdateInputInput { try writer["inputDevices"].writeList(value.inputDevices, memberWritingClosure: MediaLiveClientTypes.InputDeviceRequest.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["inputSecurityGroups"].writeList(value.inputSecurityGroups, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["mediaConnectFlows"].writeList(value.mediaConnectFlows, memberWritingClosure: MediaLiveClientTypes.MediaConnectFlowRequest.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["multicastSettings"].write(value.multicastSettings, with: MediaLiveClientTypes.MulticastSettingsUpdateRequest.write(value:to:)) try writer["name"].write(value.name) try writer["roleArn"].write(value.roleArn) try writer["sources"].writeList(value.sources, memberWritingClosure: MediaLiveClientTypes.InputSourceRequest.write(value:to:), memberNodeInfo: "member", isFlattened: false) @@ -24748,6 +27930,33 @@ extension UpdateMultiplexProgramInput { } } +extension UpdateNetworkInput { + + static func write(value: UpdateNetworkInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["ipPools"].writeList(value.ipPools, memberWritingClosure: MediaLiveClientTypes.IpPoolUpdateRequest.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["name"].write(value.name) + try writer["routes"].writeList(value.routes, memberWritingClosure: MediaLiveClientTypes.RouteUpdateRequest.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + +extension UpdateNodeInput { + + static func write(value: UpdateNodeInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["name"].write(value.name) + try writer["role"].write(value.role) + } +} + +extension UpdateNodeStateInput { + + static func write(value: UpdateNodeStateInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["state"].write(value.state) + } +} + extension UpdateReservationInput { static func write(value: UpdateReservationInput?, to writer: SmithyJSON.Writer) throws { @@ -24842,6 +28051,24 @@ extension CreateChannelOutput { } } +extension CreateChannelPlacementGroupOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChannelPlacementGroupOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateChannelPlacementGroupOutput() + value.arn = try reader["arn"].readIfPresent() + value.channels = try reader["channels"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.clusterId = try reader["clusterId"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.nodes = try reader["nodes"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.state = try reader["state"].readIfPresent() + return value + } +} + extension CreateCloudWatchAlarmTemplateOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCloudWatchAlarmTemplateOutput { @@ -24888,6 +28115,25 @@ extension CreateCloudWatchAlarmTemplateGroupOutput { } } +extension CreateClusterOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateClusterOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateClusterOutput() + value.arn = try reader["arn"].readIfPresent() + value.channelIds = try reader["channelIds"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.clusterType = try reader["clusterType"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.instanceRoleArn = try reader["instanceRoleArn"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.networkSettings = try reader["networkSettings"].readIfPresent(with: MediaLiveClientTypes.ClusterNetworkSettings.read(from:)) + value.state = try reader["state"].readIfPresent() + return value + } +} + extension CreateEventBridgeRuleTemplateOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEventBridgeRuleTemplateOutput { @@ -24975,6 +28221,57 @@ extension CreateMultiplexProgramOutput { } } +extension CreateNetworkOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNetworkOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateNetworkOutput() + value.arn = try reader["arn"].readIfPresent() + value.associatedClusterIds = try reader["associatedClusterIds"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.id = try reader["id"].readIfPresent() + value.ipPools = try reader["ipPools"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.IpPool.read(from:), memberNodeInfo: "member", isFlattened: false) + value.name = try reader["name"].readIfPresent() + value.routes = try reader["routes"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.Route.read(from:), memberNodeInfo: "member", isFlattened: false) + value.state = try reader["state"].readIfPresent() + return value + } +} + +extension CreateNodeOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNodeOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateNodeOutput() + value.arn = try reader["arn"].readIfPresent() + value.channelPlacementGroups = try reader["channelPlacementGroups"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.clusterId = try reader["clusterId"].readIfPresent() + value.connectionState = try reader["connectionState"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.instanceArn = try reader["instanceArn"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.nodeInterfaceMappings = try reader["nodeInterfaceMappings"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.NodeInterfaceMapping.read(from:), memberNodeInfo: "member", isFlattened: false) + value.role = try reader["role"].readIfPresent() + value.state = try reader["state"].readIfPresent() + return value + } +} + +extension CreateNodeRegistrationScriptOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNodeRegistrationScriptOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateNodeRegistrationScriptOutput() + value.nodeRegistrationScript = try reader["nodeRegistrationScript"].readIfPresent() + return value + } +} + extension CreatePartnerInputOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePartnerInputOutput { @@ -25030,6 +28327,7 @@ extension DeleteChannelOutput { let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader var value = DeleteChannelOutput() + value.anywhereSettings = try reader["anywhereSettings"].readIfPresent(with: MediaLiveClientTypes.DescribeAnywhereSettings.read(from:)) value.arn = try reader["arn"].readIfPresent() value.cdiInputSpecification = try reader["cdiInputSpecification"].readIfPresent(with: MediaLiveClientTypes.CdiInputSpecification.read(from:)) value.channelClass = try reader["channelClass"].readIfPresent() @@ -25052,6 +28350,24 @@ extension DeleteChannelOutput { } } +extension DeleteChannelPlacementGroupOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChannelPlacementGroupOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DeleteChannelPlacementGroupOutput() + value.arn = try reader["arn"].readIfPresent() + value.channels = try reader["channels"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.clusterId = try reader["clusterId"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.nodes = try reader["nodes"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.state = try reader["state"].readIfPresent() + return value + } +} + extension DeleteCloudWatchAlarmTemplateOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCloudWatchAlarmTemplateOutput { @@ -25066,6 +28382,25 @@ extension DeleteCloudWatchAlarmTemplateGroupOutput { } } +extension DeleteClusterOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteClusterOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DeleteClusterOutput() + value.arn = try reader["arn"].readIfPresent() + value.channelIds = try reader["channelIds"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.clusterType = try reader["clusterType"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.instanceRoleArn = try reader["instanceRoleArn"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.networkSettings = try reader["networkSettings"].readIfPresent(with: MediaLiveClientTypes.ClusterNetworkSettings.read(from:)) + value.state = try reader["state"].readIfPresent() + return value + } +} + extension DeleteEventBridgeRuleTemplateOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEventBridgeRuleTemplateOutput { @@ -25131,6 +28466,45 @@ extension DeleteMultiplexProgramOutput { } } +extension DeleteNetworkOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNetworkOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DeleteNetworkOutput() + value.arn = try reader["arn"].readIfPresent() + value.associatedClusterIds = try reader["associatedClusterIds"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.id = try reader["id"].readIfPresent() + value.ipPools = try reader["ipPools"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.IpPool.read(from:), memberNodeInfo: "member", isFlattened: false) + value.name = try reader["name"].readIfPresent() + value.routes = try reader["routes"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.Route.read(from:), memberNodeInfo: "member", isFlattened: false) + value.state = try reader["state"].readIfPresent() + return value + } +} + +extension DeleteNodeOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNodeOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DeleteNodeOutput() + value.arn = try reader["arn"].readIfPresent() + value.channelPlacementGroups = try reader["channelPlacementGroups"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.clusterId = try reader["clusterId"].readIfPresent() + value.connectionState = try reader["connectionState"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.instanceArn = try reader["instanceArn"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.nodeInterfaceMappings = try reader["nodeInterfaceMappings"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.NodeInterfaceMapping.read(from:), memberNodeInfo: "member", isFlattened: false) + value.role = try reader["role"].readIfPresent() + value.state = try reader["state"].readIfPresent() + return value + } +} + extension DeleteReservationOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReservationOutput { @@ -25201,6 +28575,7 @@ extension DescribeChannelOutput { let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader var value = DescribeChannelOutput() + value.anywhereSettings = try reader["anywhereSettings"].readIfPresent(with: MediaLiveClientTypes.DescribeAnywhereSettings.read(from:)) value.arn = try reader["arn"].readIfPresent() value.cdiInputSpecification = try reader["cdiInputSpecification"].readIfPresent(with: MediaLiveClientTypes.CdiInputSpecification.read(from:)) value.channelClass = try reader["channelClass"].readIfPresent() @@ -25223,6 +28598,43 @@ extension DescribeChannelOutput { } } +extension DescribeChannelPlacementGroupOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChannelPlacementGroupOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DescribeChannelPlacementGroupOutput() + value.arn = try reader["arn"].readIfPresent() + value.channels = try reader["channels"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.clusterId = try reader["clusterId"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.nodes = try reader["nodes"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.state = try reader["state"].readIfPresent() + return value + } +} + +extension DescribeClusterOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClusterOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DescribeClusterOutput() + value.arn = try reader["arn"].readIfPresent() + value.channelIds = try reader["channelIds"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.clusterType = try reader["clusterType"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.instanceRoleArn = try reader["instanceRoleArn"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.networkSettings = try reader["networkSettings"].readIfPresent(with: MediaLiveClientTypes.ClusterNetworkSettings.read(from:)) + value.state = try reader["state"].readIfPresent() + return value + } +} + extension DescribeInputOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInputOutput { @@ -25236,9 +28648,11 @@ extension DescribeInputOutput { value.id = try reader["id"].readIfPresent() value.inputClass = try reader["inputClass"].readIfPresent() value.inputDevices = try reader["inputDevices"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.InputDeviceSettings.read(from:), memberNodeInfo: "member", isFlattened: false) + value.inputNetworkLocation = try reader["inputNetworkLocation"].readIfPresent() value.inputPartnerIds = try reader["inputPartnerIds"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) value.inputSourceType = try reader["inputSourceType"].readIfPresent() value.mediaConnectFlows = try reader["mediaConnectFlows"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.MediaConnectFlow.read(from:), memberNodeInfo: "member", isFlattened: false) + value.multicastSettings = try reader["multicastSettings"].readIfPresent(with: MediaLiveClientTypes.MulticastSettings.read(from:)) value.name = try reader["name"].readIfPresent() value.roleArn = try reader["roleArn"].readIfPresent() value.securityGroups = try reader["securityGroups"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) @@ -25360,6 +28774,45 @@ extension DescribeMultiplexProgramOutput { } } +extension DescribeNetworkOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNetworkOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DescribeNetworkOutput() + value.arn = try reader["arn"].readIfPresent() + value.associatedClusterIds = try reader["associatedClusterIds"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.id = try reader["id"].readIfPresent() + value.ipPools = try reader["ipPools"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.IpPool.read(from:), memberNodeInfo: "member", isFlattened: false) + value.name = try reader["name"].readIfPresent() + value.routes = try reader["routes"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.Route.read(from:), memberNodeInfo: "member", isFlattened: false) + value.state = try reader["state"].readIfPresent() + return value + } +} + +extension DescribeNodeOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNodeOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DescribeNodeOutput() + value.arn = try reader["arn"].readIfPresent() + value.channelPlacementGroups = try reader["channelPlacementGroups"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.clusterId = try reader["clusterId"].readIfPresent() + value.connectionState = try reader["connectionState"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.instanceArn = try reader["instanceArn"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.nodeInterfaceMappings = try reader["nodeInterfaceMappings"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.NodeInterfaceMapping.read(from:), memberNodeInfo: "member", isFlattened: false) + value.role = try reader["role"].readIfPresent() + value.state = try reader["state"].readIfPresent() + return value + } +} + extension DescribeOfferingOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOfferingOutput { @@ -25551,6 +29004,19 @@ extension GetSignalMapOutput { } } +extension ListChannelPlacementGroupsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelPlacementGroupsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListChannelPlacementGroupsOutput() + value.channelPlacementGroups = try reader["channelPlacementGroups"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.DescribeChannelPlacementGroupSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value + } +} + extension ListChannelsOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelsOutput { @@ -25590,6 +29056,19 @@ extension ListCloudWatchAlarmTemplatesOutput { } } +extension ListClustersOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListClustersOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListClustersOutput() + value.clusters = try reader["clusters"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.DescribeClusterSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value + } +} + extension ListEventBridgeRuleTemplateGroupsOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEventBridgeRuleTemplateGroupsOutput { @@ -25668,28 +29147,54 @@ extension ListInputSecurityGroupsOutput { } } -extension ListMultiplexesOutput { +extension ListMultiplexesOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMultiplexesOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListMultiplexesOutput() + value.multiplexes = try reader["multiplexes"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.MultiplexSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value + } +} + +extension ListMultiplexProgramsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMultiplexProgramsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListMultiplexProgramsOutput() + value.multiplexPrograms = try reader["multiplexPrograms"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.MultiplexProgramSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value + } +} + +extension ListNetworksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMultiplexesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNetworksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader - var value = ListMultiplexesOutput() - value.multiplexes = try reader["multiplexes"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.MultiplexSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + var value = ListNetworksOutput() + value.networks = try reader["networks"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.DescribeNetworkSummary.read(from:), memberNodeInfo: "member", isFlattened: false) value.nextToken = try reader["nextToken"].readIfPresent() return value } } -extension ListMultiplexProgramsOutput { +extension ListNodesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMultiplexProgramsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNodesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader - var value = ListMultiplexProgramsOutput() - value.multiplexPrograms = try reader["multiplexPrograms"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.MultiplexProgramSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + var value = ListNodesOutput() value.nextToken = try reader["nextToken"].readIfPresent() + value.nodes = try reader["nodes"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.DescribeNodeSummary.read(from:), memberNodeInfo: "member", isFlattened: false) return value } } @@ -25778,6 +29283,7 @@ extension RestartChannelPipelinesOutput { let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader var value = RestartChannelPipelinesOutput() + value.anywhereSettings = try reader["anywhereSettings"].readIfPresent(with: MediaLiveClientTypes.DescribeAnywhereSettings.read(from:)) value.arn = try reader["arn"].readIfPresent() value.cdiInputSpecification = try reader["cdiInputSpecification"].readIfPresent(with: MediaLiveClientTypes.CdiInputSpecification.read(from:)) value.channelClass = try reader["channelClass"].readIfPresent() @@ -25808,6 +29314,7 @@ extension StartChannelOutput { let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader var value = StartChannelOutput() + value.anywhereSettings = try reader["anywhereSettings"].readIfPresent(with: MediaLiveClientTypes.DescribeAnywhereSettings.read(from:)) value.arn = try reader["arn"].readIfPresent() value.cdiInputSpecification = try reader["cdiInputSpecification"].readIfPresent(with: MediaLiveClientTypes.CdiInputSpecification.read(from:)) value.channelClass = try reader["channelClass"].readIfPresent() @@ -25959,6 +29466,7 @@ extension StopChannelOutput { let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader var value = StopChannelOutput() + value.anywhereSettings = try reader["anywhereSettings"].readIfPresent(with: MediaLiveClientTypes.DescribeAnywhereSettings.read(from:)) value.arn = try reader["arn"].readIfPresent() value.cdiInputSpecification = try reader["cdiInputSpecification"].readIfPresent(with: MediaLiveClientTypes.CdiInputSpecification.read(from:)) value.channelClass = try reader["channelClass"].readIfPresent() @@ -26052,6 +29560,24 @@ extension UpdateChannelClassOutput { } } +extension UpdateChannelPlacementGroupOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateChannelPlacementGroupOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = UpdateChannelPlacementGroupOutput() + value.arn = try reader["arn"].readIfPresent() + value.channels = try reader["channels"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.clusterId = try reader["clusterId"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.nodes = try reader["nodes"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.state = try reader["state"].readIfPresent() + return value + } +} + extension UpdateCloudWatchAlarmTemplateOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCloudWatchAlarmTemplateOutput { @@ -26098,6 +29624,24 @@ extension UpdateCloudWatchAlarmTemplateGroupOutput { } } +extension UpdateClusterOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateClusterOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = UpdateClusterOutput() + value.arn = try reader["arn"].readIfPresent() + value.channelIds = try reader["channelIds"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.clusterType = try reader["clusterType"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.networkSettings = try reader["networkSettings"].readIfPresent(with: MediaLiveClientTypes.ClusterNetworkSettings.read(from:)) + value.state = try reader["state"].readIfPresent() + return value + } +} + extension UpdateEventBridgeRuleTemplateOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEventBridgeRuleTemplateOutput { @@ -26212,6 +29756,66 @@ extension UpdateMultiplexProgramOutput { } } +extension UpdateNetworkOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNetworkOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = UpdateNetworkOutput() + value.arn = try reader["arn"].readIfPresent() + value.associatedClusterIds = try reader["associatedClusterIds"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.id = try reader["id"].readIfPresent() + value.ipPools = try reader["ipPools"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.IpPool.read(from:), memberNodeInfo: "member", isFlattened: false) + value.name = try reader["name"].readIfPresent() + value.routes = try reader["routes"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.Route.read(from:), memberNodeInfo: "member", isFlattened: false) + value.state = try reader["state"].readIfPresent() + return value + } +} + +extension UpdateNodeOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNodeOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = UpdateNodeOutput() + value.arn = try reader["arn"].readIfPresent() + value.channelPlacementGroups = try reader["channelPlacementGroups"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.clusterId = try reader["clusterId"].readIfPresent() + value.connectionState = try reader["connectionState"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.instanceArn = try reader["instanceArn"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.nodeInterfaceMappings = try reader["nodeInterfaceMappings"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.NodeInterfaceMapping.read(from:), memberNodeInfo: "member", isFlattened: false) + value.role = try reader["role"].readIfPresent() + value.state = try reader["state"].readIfPresent() + return value + } +} + +extension UpdateNodeStateOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNodeStateOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = UpdateNodeStateOutput() + value.arn = try reader["arn"].readIfPresent() + value.channelPlacementGroups = try reader["channelPlacementGroups"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.clusterId = try reader["clusterId"].readIfPresent() + value.connectionState = try reader["connectionState"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.instanceArn = try reader["instanceArn"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.nodeInterfaceMappings = try reader["nodeInterfaceMappings"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.NodeInterfaceMapping.read(from:), memberNodeInfo: "member", isFlattened: false) + value.role = try reader["role"].readIfPresent() + value.state = try reader["state"].readIfPresent() + return value + } +} + extension UpdateReservationOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateReservationOutput { @@ -26224,7 +29828,197 @@ extension UpdateReservationOutput { } } -enum AcceptInputDeviceTransferOutputError { +enum AcceptInputDeviceTransferOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) + case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + case "UnprocessableEntityException": return try UnprocessableEntityException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum BatchDeleteOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) + case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum BatchStartOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) + case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum BatchStopOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) + case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum BatchUpdateScheduleOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) + case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + case "UnprocessableEntityException": return try UnprocessableEntityException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum CancelInputDeviceTransferOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) + case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + case "UnprocessableEntityException": return try UnprocessableEntityException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ClaimDeviceOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) + case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + case "UnprocessableEntityException": return try UnprocessableEntityException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum CreateChannelOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) + case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + case "UnprocessableEntityException": return try UnprocessableEntityException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum CreateChannelPlacementGroupOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) + case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + case "UnprocessableEntityException": return try UnprocessableEntityException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum CreateCloudWatchAlarmTemplateOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26232,21 +30026,18 @@ enum AcceptInputDeviceTransferOutputError { let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { - case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) - case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) - case "UnprocessableEntityException": return try UnprocessableEntityException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } } -enum BatchDeleteOutputError { +enum CreateCloudWatchAlarmTemplateGroupOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26254,11 +30045,9 @@ enum BatchDeleteOutputError { let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { - case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) - case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) @@ -26267,7 +30056,7 @@ enum BatchDeleteOutputError { } } -enum BatchStartOutputError { +enum CreateClusterOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26281,14 +30070,13 @@ enum BatchStartOutputError { case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) - case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } } -enum BatchStopOutputError { +enum CreateEventBridgeRuleTemplateOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26296,11 +30084,9 @@ enum BatchStopOutputError { let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { - case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) - case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) @@ -26309,7 +30095,7 @@ enum BatchStopOutputError { } } -enum BatchUpdateScheduleOutputError { +enum CreateEventBridgeRuleTemplateGroupOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26317,20 +30103,18 @@ enum BatchUpdateScheduleOutputError { let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { - case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) - case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) - case "UnprocessableEntityException": return try UnprocessableEntityException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } } -enum CancelInputDeviceTransferOutputError { +enum CreateInputOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26340,19 +30124,16 @@ enum CancelInputDeviceTransferOutputError { switch baseError.code { case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) - case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) - case "UnprocessableEntityException": return try UnprocessableEntityException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } } -enum ClaimDeviceOutputError { +enum CreateInputSecurityGroupOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26365,15 +30146,13 @@ enum ClaimDeviceOutputError { case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) - case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) - case "UnprocessableEntityException": return try UnprocessableEntityException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } } -enum CreateChannelOutputError { +enum CreateMultiplexOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26394,7 +30173,7 @@ enum CreateChannelOutputError { } } -enum CreateCloudWatchAlarmTemplateOutputError { +enum CreateMultiplexProgramOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26402,18 +30181,20 @@ enum CreateCloudWatchAlarmTemplateOutputError { let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) - case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + case "UnprocessableEntityException": return try UnprocessableEntityException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } } -enum CreateCloudWatchAlarmTemplateGroupOutputError { +enum CreateNetworkOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26421,18 +30202,19 @@ enum CreateCloudWatchAlarmTemplateGroupOutputError { let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) - case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } } -enum CreateEventBridgeRuleTemplateOutputError { +enum CreateNodeOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26440,18 +30222,19 @@ enum CreateEventBridgeRuleTemplateOutputError { let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) - case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + case "UnprocessableEntityException": return try UnprocessableEntityException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } } -enum CreateEventBridgeRuleTemplateGroupOutputError { +enum CreateNodeRegistrationScriptOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26459,18 +30242,19 @@ enum CreateEventBridgeRuleTemplateGroupOutputError { let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) - case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } } -enum CreateInputOutputError { +enum CreatePartnerInputOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26489,7 +30273,7 @@ enum CreateInputOutputError { } } -enum CreateInputSecurityGroupOutputError { +enum CreateSignalMapOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26497,18 +30281,18 @@ enum CreateInputSecurityGroupOutputError { let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { - case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) - case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } } -enum CreateMultiplexOutputError { +enum CreateTagsOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26516,20 +30300,16 @@ enum CreateMultiplexOutputError { let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { - case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) - case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) - case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) - case "UnprocessableEntityException": return try UnprocessableEntityException.makeError(baseError: baseError) + case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } } -enum CreateMultiplexProgramOutputError { +enum DeleteChannelOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26543,14 +30323,14 @@ enum CreateMultiplexProgramOutputError { case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) - case "UnprocessableEntityException": return try UnprocessableEntityException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } } -enum CreatePartnerInputOutputError { +enum DeleteChannelPlacementGroupOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26560,16 +30340,18 @@ enum CreatePartnerInputOutputError { switch baseError.code { case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } } -enum CreateSignalMapOutputError { +enum DeleteCloudWatchAlarmTemplateOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26588,7 +30370,7 @@ enum CreateSignalMapOutputError { } } -enum CreateTagsOutputError { +enum DeleteCloudWatchAlarmTemplateGroupOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26597,15 +30379,17 @@ enum CreateTagsOutputError { if let error = baseError.customError() { return error } switch baseError.code { case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } } -enum DeleteChannelOutputError { +enum DeleteClusterOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26626,7 +30410,7 @@ enum DeleteChannelOutputError { } } -enum DeleteCloudWatchAlarmTemplateOutputError { +enum DeleteEventBridgeRuleTemplateOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26645,7 +30429,7 @@ enum DeleteCloudWatchAlarmTemplateOutputError { } } -enum DeleteCloudWatchAlarmTemplateGroupOutputError { +enum DeleteEventBridgeRuleTemplateGroupOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26664,7 +30448,7 @@ enum DeleteCloudWatchAlarmTemplateGroupOutputError { } } -enum DeleteEventBridgeRuleTemplateOutputError { +enum DeleteInputOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26672,9 +30456,11 @@ enum DeleteEventBridgeRuleTemplateOutputError { let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) @@ -26683,7 +30469,7 @@ enum DeleteEventBridgeRuleTemplateOutputError { } } -enum DeleteEventBridgeRuleTemplateGroupOutputError { +enum DeleteInputSecurityGroupOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26691,9 +30477,10 @@ enum DeleteEventBridgeRuleTemplateGroupOutputError { let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) @@ -26702,7 +30489,7 @@ enum DeleteEventBridgeRuleTemplateGroupOutputError { } } -enum DeleteInputOutputError { +enum DeleteMultiplexOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26723,7 +30510,7 @@ enum DeleteInputOutputError { } } -enum DeleteInputSecurityGroupOutputError { +enum DeleteMultiplexProgramOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26733,6 +30520,7 @@ enum DeleteInputSecurityGroupOutputError { switch baseError.code { case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) @@ -26743,7 +30531,7 @@ enum DeleteInputSecurityGroupOutputError { } } -enum DeleteMultiplexOutputError { +enum DeleteNetworkOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26764,7 +30552,7 @@ enum DeleteMultiplexOutputError { } } -enum DeleteMultiplexProgramOutputError { +enum DeleteNodeOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -26901,6 +30689,46 @@ enum DescribeChannelOutputError { } } +enum DescribeChannelPlacementGroupOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) + case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DescribeClusterOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) + case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum DescribeInputOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -27021,6 +30849,46 @@ enum DescribeMultiplexProgramOutputError { } } +enum DescribeNetworkOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) + case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DescribeNodeOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) + case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum DescribeOfferingOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -27192,6 +31060,25 @@ enum GetSignalMapOutputError { } } +enum ListChannelPlacementGroupsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) + case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum ListChannelsOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -27247,6 +31134,25 @@ enum ListCloudWatchAlarmTemplatesOutputError { } } +enum ListClustersOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) + case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum ListEventBridgeRuleTemplateGroupsOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -27283,7 +31189,46 @@ enum ListEventBridgeRuleTemplatesOutputError { } } -enum ListInputDevicesOutputError { +enum ListInputDevicesOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) + case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ListInputDeviceTransfersOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) + case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + case "UnprocessableEntityException": return try UnprocessableEntityException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ListInputsOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -27302,7 +31247,7 @@ enum ListInputDevicesOutputError { } } -enum ListInputDeviceTransfersOutputError { +enum ListInputSecurityGroupsOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -27316,13 +31261,12 @@ enum ListInputDeviceTransfersOutputError { case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) - case "UnprocessableEntityException": return try UnprocessableEntityException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } } -enum ListInputsOutputError { +enum ListMultiplexesOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -27341,7 +31285,7 @@ enum ListInputsOutputError { } } -enum ListInputSecurityGroupsOutputError { +enum ListMultiplexProgramsOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -27354,13 +31298,14 @@ enum ListInputSecurityGroupsOutputError { case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } } -enum ListMultiplexesOutputError { +enum ListNetworksOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -27379,7 +31324,7 @@ enum ListMultiplexesOutputError { } } -enum ListMultiplexProgramsOutputError { +enum ListNodesOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() @@ -27392,7 +31337,6 @@ enum ListMultiplexProgramsOutputError { case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) - case "NotFoundException": return try NotFoundException.makeError(baseError: baseError) case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } @@ -27845,6 +31789,27 @@ enum UpdateChannelClassOutputError { } } +enum UpdateChannelPlacementGroupOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) + case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + case "UnprocessableEntityException": return try UnprocessableEntityException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum UpdateCloudWatchAlarmTemplateOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -27883,6 +31848,26 @@ enum UpdateCloudWatchAlarmTemplateGroupOutputError { } } +enum UpdateClusterOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) + case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum UpdateEventBridgeRuleTemplateOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -28024,6 +32009,67 @@ enum UpdateMultiplexProgramOutputError { } } +enum UpdateNetworkOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) + case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UpdateNodeOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) + case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UpdateNodeStateOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "BadRequestException": return try BadRequestException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "ForbiddenException": return try ForbiddenException.makeError(baseError: baseError) + case "GatewayTimeoutException": return try GatewayTimeoutException.makeError(baseError: baseError) + case "InternalServerErrorException": return try InternalServerErrorException.makeError(baseError: baseError) + case "TooManyRequestsException": return try TooManyRequestsException.makeError(baseError: baseError) + case "UnprocessableEntityException": return try UnprocessableEntityException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum UpdateReservationOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -28815,6 +32861,18 @@ extension MediaLiveClientTypes.Channel { value.state = try reader["state"].readIfPresent() value.tags = try reader["tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) value.vpc = try reader["vpc"].readIfPresent(with: MediaLiveClientTypes.VpcOutputSettingsDescription.read(from:)) + value.anywhereSettings = try reader["anywhereSettings"].readIfPresent(with: MediaLiveClientTypes.DescribeAnywhereSettings.read(from:)) + return value + } +} + +extension MediaLiveClientTypes.DescribeAnywhereSettings { + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.DescribeAnywhereSettings { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.DescribeAnywhereSettings() + value.channelPlacementGroupId = try reader["channelPlacementGroupId"].readIfPresent() + value.clusterId = try reader["clusterId"].readIfPresent() return value } } @@ -28886,6 +32944,7 @@ extension MediaLiveClientTypes.InputAttachment { try writer["inputAttachmentName"].write(value.inputAttachmentName) try writer["inputId"].write(value.inputId) try writer["inputSettings"].write(value.inputSettings, with: MediaLiveClientTypes.InputSettings.write(value:to:)) + try writer["logicalInterfaceNames"].writeList(value.logicalInterfaceNames, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) } static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.InputAttachment { @@ -28895,6 +32954,7 @@ extension MediaLiveClientTypes.InputAttachment { value.inputAttachmentName = try reader["inputAttachmentName"].readIfPresent() value.inputId = try reader["inputId"].readIfPresent() value.inputSettings = try reader["inputSettings"].readIfPresent(with: MediaLiveClientTypes.InputSettings.read(from:)) + value.logicalInterfaceNames = try reader["logicalInterfaceNames"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) return value } } @@ -29039,6 +33099,7 @@ extension MediaLiveClientTypes.NetworkInputSettings { static func write(value: MediaLiveClientTypes.NetworkInputSettings?, to writer: SmithyJSON.Writer) throws { guard let value else { return } try writer["hlsInputSettings"].write(value.hlsInputSettings, with: MediaLiveClientTypes.HlsInputSettings.write(value:to:)) + try writer["multicastInputSettings"].write(value.multicastInputSettings, with: MediaLiveClientTypes.MulticastInputSettings.write(value:to:)) try writer["serverValidation"].write(value.serverValidation) } @@ -29047,6 +33108,22 @@ extension MediaLiveClientTypes.NetworkInputSettings { var value = MediaLiveClientTypes.NetworkInputSettings() value.hlsInputSettings = try reader["hlsInputSettings"].readIfPresent(with: MediaLiveClientTypes.HlsInputSettings.read(from:)) value.serverValidation = try reader["serverValidation"].readIfPresent() + value.multicastInputSettings = try reader["multicastInputSettings"].readIfPresent(with: MediaLiveClientTypes.MulticastInputSettings.read(from:)) + return value + } +} + +extension MediaLiveClientTypes.MulticastInputSettings { + + static func write(value: MediaLiveClientTypes.MulticastInputSettings?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["sourceIpAddress"].write(value.sourceIpAddress) + } + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.MulticastInputSettings { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.MulticastInputSettings() + value.sourceIpAddress = try reader["sourceIpAddress"].readIfPresent() return value } } @@ -29537,100 +33614,228 @@ extension MediaLiveClientTypes.EncoderSettings { } } -extension MediaLiveClientTypes.ColorCorrectionSettings { +extension MediaLiveClientTypes.ColorCorrectionSettings { + + static func write(value: MediaLiveClientTypes.ColorCorrectionSettings?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["globalColorCorrections"].writeList(value.globalColorCorrections, memberWritingClosure: MediaLiveClientTypes.ColorCorrection.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.ColorCorrectionSettings { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.ColorCorrectionSettings() + value.globalColorCorrections = try reader["globalColorCorrections"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.ColorCorrection.read(from:), memberNodeInfo: "member", isFlattened: false) ?? [] + return value + } +} + +extension MediaLiveClientTypes.ColorCorrection { + + static func write(value: MediaLiveClientTypes.ColorCorrection?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["inputColorSpace"].write(value.inputColorSpace) + try writer["outputColorSpace"].write(value.outputColorSpace) + try writer["uri"].write(value.uri) + } + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.ColorCorrection { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.ColorCorrection() + value.inputColorSpace = try reader["inputColorSpace"].readIfPresent() ?? .sdkUnknown("") + value.outputColorSpace = try reader["outputColorSpace"].readIfPresent() ?? .sdkUnknown("") + value.uri = try reader["uri"].readIfPresent() ?? "" + return value + } +} + +extension MediaLiveClientTypes.ThumbnailConfiguration { + + static func write(value: MediaLiveClientTypes.ThumbnailConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["state"].write(value.state) + } + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.ThumbnailConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.ThumbnailConfiguration() + value.state = try reader["state"].readIfPresent() ?? .sdkUnknown("") + return value + } +} + +extension MediaLiveClientTypes.VideoDescription { + + static func write(value: MediaLiveClientTypes.VideoDescription?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["codecSettings"].write(value.codecSettings, with: MediaLiveClientTypes.VideoCodecSettings.write(value:to:)) + try writer["height"].write(value.height) + try writer["name"].write(value.name) + try writer["respondToAfd"].write(value.respondToAfd) + try writer["scalingBehavior"].write(value.scalingBehavior) + try writer["sharpness"].write(value.sharpness) + try writer["width"].write(value.width) + } + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.VideoDescription { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.VideoDescription() + value.codecSettings = try reader["codecSettings"].readIfPresent(with: MediaLiveClientTypes.VideoCodecSettings.read(from:)) + value.height = try reader["height"].readIfPresent() + value.name = try reader["name"].readIfPresent() ?? "" + value.respondToAfd = try reader["respondToAfd"].readIfPresent() + value.scalingBehavior = try reader["scalingBehavior"].readIfPresent() + value.sharpness = try reader["sharpness"].readIfPresent() + value.width = try reader["width"].readIfPresent() + return value + } +} + +extension MediaLiveClientTypes.VideoCodecSettings { + + static func write(value: MediaLiveClientTypes.VideoCodecSettings?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["av1Settings"].write(value.av1Settings, with: MediaLiveClientTypes.Av1Settings.write(value:to:)) + try writer["frameCaptureSettings"].write(value.frameCaptureSettings, with: MediaLiveClientTypes.FrameCaptureSettings.write(value:to:)) + try writer["h264Settings"].write(value.h264Settings, with: MediaLiveClientTypes.H264Settings.write(value:to:)) + try writer["h265Settings"].write(value.h265Settings, with: MediaLiveClientTypes.H265Settings.write(value:to:)) + try writer["mpeg2Settings"].write(value.mpeg2Settings, with: MediaLiveClientTypes.Mpeg2Settings.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.VideoCodecSettings { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.VideoCodecSettings() + value.frameCaptureSettings = try reader["frameCaptureSettings"].readIfPresent(with: MediaLiveClientTypes.FrameCaptureSettings.read(from:)) + value.h264Settings = try reader["h264Settings"].readIfPresent(with: MediaLiveClientTypes.H264Settings.read(from:)) + value.h265Settings = try reader["h265Settings"].readIfPresent(with: MediaLiveClientTypes.H265Settings.read(from:)) + value.mpeg2Settings = try reader["mpeg2Settings"].readIfPresent(with: MediaLiveClientTypes.Mpeg2Settings.read(from:)) + value.av1Settings = try reader["av1Settings"].readIfPresent(with: MediaLiveClientTypes.Av1Settings.read(from:)) + return value + } +} + +extension MediaLiveClientTypes.Av1Settings { + + static func write(value: MediaLiveClientTypes.Av1Settings?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["afdSignaling"].write(value.afdSignaling) + try writer["bufSize"].write(value.bufSize) + try writer["colorSpaceSettings"].write(value.colorSpaceSettings, with: MediaLiveClientTypes.Av1ColorSpaceSettings.write(value:to:)) + try writer["fixedAfd"].write(value.fixedAfd) + try writer["framerateDenominator"].write(value.framerateDenominator) + try writer["framerateNumerator"].write(value.framerateNumerator) + try writer["gopSize"].write(value.gopSize) + try writer["gopSizeUnits"].write(value.gopSizeUnits) + try writer["level"].write(value.level) + try writer["lookAheadRateControl"].write(value.lookAheadRateControl) + try writer["maxBitrate"].write(value.maxBitrate) + try writer["minIInterval"].write(value.minIInterval) + try writer["parDenominator"].write(value.parDenominator) + try writer["parNumerator"].write(value.parNumerator) + try writer["qvbrQualityLevel"].write(value.qvbrQualityLevel) + try writer["sceneChangeDetect"].write(value.sceneChangeDetect) + try writer["timecodeBurninSettings"].write(value.timecodeBurninSettings, with: MediaLiveClientTypes.TimecodeBurninSettings.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.Av1Settings { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.Av1Settings() + value.afdSignaling = try reader["afdSignaling"].readIfPresent() + value.bufSize = try reader["bufSize"].readIfPresent() + value.colorSpaceSettings = try reader["colorSpaceSettings"].readIfPresent(with: MediaLiveClientTypes.Av1ColorSpaceSettings.read(from:)) + value.fixedAfd = try reader["fixedAfd"].readIfPresent() + value.framerateDenominator = try reader["framerateDenominator"].readIfPresent() ?? 0 + value.framerateNumerator = try reader["framerateNumerator"].readIfPresent() ?? 0 + value.gopSize = try reader["gopSize"].readIfPresent() + value.gopSizeUnits = try reader["gopSizeUnits"].readIfPresent() + value.level = try reader["level"].readIfPresent() + value.lookAheadRateControl = try reader["lookAheadRateControl"].readIfPresent() + value.maxBitrate = try reader["maxBitrate"].readIfPresent() + value.minIInterval = try reader["minIInterval"].readIfPresent() + value.parDenominator = try reader["parDenominator"].readIfPresent() + value.parNumerator = try reader["parNumerator"].readIfPresent() + value.qvbrQualityLevel = try reader["qvbrQualityLevel"].readIfPresent() + value.sceneChangeDetect = try reader["sceneChangeDetect"].readIfPresent() + value.timecodeBurninSettings = try reader["timecodeBurninSettings"].readIfPresent(with: MediaLiveClientTypes.TimecodeBurninSettings.read(from:)) + return value + } +} + +extension MediaLiveClientTypes.TimecodeBurninSettings { - static func write(value: MediaLiveClientTypes.ColorCorrectionSettings?, to writer: SmithyJSON.Writer) throws { + static func write(value: MediaLiveClientTypes.TimecodeBurninSettings?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["globalColorCorrections"].writeList(value.globalColorCorrections, memberWritingClosure: MediaLiveClientTypes.ColorCorrection.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["fontSize"].write(value.fontSize) + try writer["position"].write(value.position) + try writer["prefix"].write(value.`prefix`) } - static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.ColorCorrectionSettings { + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.TimecodeBurninSettings { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = MediaLiveClientTypes.ColorCorrectionSettings() - value.globalColorCorrections = try reader["globalColorCorrections"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.ColorCorrection.read(from:), memberNodeInfo: "member", isFlattened: false) ?? [] + var value = MediaLiveClientTypes.TimecodeBurninSettings() + value.fontSize = try reader["fontSize"].readIfPresent() ?? .sdkUnknown("") + value.position = try reader["position"].readIfPresent() ?? .sdkUnknown("") + value.`prefix` = try reader["prefix"].readIfPresent() return value } } -extension MediaLiveClientTypes.ColorCorrection { +extension MediaLiveClientTypes.Av1ColorSpaceSettings { - static func write(value: MediaLiveClientTypes.ColorCorrection?, to writer: SmithyJSON.Writer) throws { + static func write(value: MediaLiveClientTypes.Av1ColorSpaceSettings?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["inputColorSpace"].write(value.inputColorSpace) - try writer["outputColorSpace"].write(value.outputColorSpace) - try writer["uri"].write(value.uri) + try writer["colorSpacePassthroughSettings"].write(value.colorSpacePassthroughSettings, with: MediaLiveClientTypes.ColorSpacePassthroughSettings.write(value:to:)) + try writer["hdr10Settings"].write(value.hdr10Settings, with: MediaLiveClientTypes.Hdr10Settings.write(value:to:)) + try writer["rec601Settings"].write(value.rec601Settings, with: MediaLiveClientTypes.Rec601Settings.write(value:to:)) + try writer["rec709Settings"].write(value.rec709Settings, with: MediaLiveClientTypes.Rec709Settings.write(value:to:)) } - static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.ColorCorrection { + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.Av1ColorSpaceSettings { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = MediaLiveClientTypes.ColorCorrection() - value.inputColorSpace = try reader["inputColorSpace"].readIfPresent() ?? .sdkUnknown("") - value.outputColorSpace = try reader["outputColorSpace"].readIfPresent() ?? .sdkUnknown("") - value.uri = try reader["uri"].readIfPresent() ?? "" + var value = MediaLiveClientTypes.Av1ColorSpaceSettings() + value.colorSpacePassthroughSettings = try reader["colorSpacePassthroughSettings"].readIfPresent(with: MediaLiveClientTypes.ColorSpacePassthroughSettings.read(from:)) + value.hdr10Settings = try reader["hdr10Settings"].readIfPresent(with: MediaLiveClientTypes.Hdr10Settings.read(from:)) + value.rec601Settings = try reader["rec601Settings"].readIfPresent(with: MediaLiveClientTypes.Rec601Settings.read(from:)) + value.rec709Settings = try reader["rec709Settings"].readIfPresent(with: MediaLiveClientTypes.Rec709Settings.read(from:)) return value } } -extension MediaLiveClientTypes.ThumbnailConfiguration { +extension MediaLiveClientTypes.Rec709Settings { - static func write(value: MediaLiveClientTypes.ThumbnailConfiguration?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["state"].write(value.state) + static func write(value: MediaLiveClientTypes.Rec709Settings?, to writer: SmithyJSON.Writer) throws { + guard value != nil else { return } + _ = writer[""] // create an empty structure } - static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.ThumbnailConfiguration { + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.Rec709Settings { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = MediaLiveClientTypes.ThumbnailConfiguration() - value.state = try reader["state"].readIfPresent() ?? .sdkUnknown("") - return value + return MediaLiveClientTypes.Rec709Settings() } } -extension MediaLiveClientTypes.VideoDescription { +extension MediaLiveClientTypes.Rec601Settings { - static func write(value: MediaLiveClientTypes.VideoDescription?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["codecSettings"].write(value.codecSettings, with: MediaLiveClientTypes.VideoCodecSettings.write(value:to:)) - try writer["height"].write(value.height) - try writer["name"].write(value.name) - try writer["respondToAfd"].write(value.respondToAfd) - try writer["scalingBehavior"].write(value.scalingBehavior) - try writer["sharpness"].write(value.sharpness) - try writer["width"].write(value.width) + static func write(value: MediaLiveClientTypes.Rec601Settings?, to writer: SmithyJSON.Writer) throws { + guard value != nil else { return } + _ = writer[""] // create an empty structure } - static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.VideoDescription { + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.Rec601Settings { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = MediaLiveClientTypes.VideoDescription() - value.codecSettings = try reader["codecSettings"].readIfPresent(with: MediaLiveClientTypes.VideoCodecSettings.read(from:)) - value.height = try reader["height"].readIfPresent() - value.name = try reader["name"].readIfPresent() ?? "" - value.respondToAfd = try reader["respondToAfd"].readIfPresent() - value.scalingBehavior = try reader["scalingBehavior"].readIfPresent() - value.sharpness = try reader["sharpness"].readIfPresent() - value.width = try reader["width"].readIfPresent() - return value + return MediaLiveClientTypes.Rec601Settings() } } -extension MediaLiveClientTypes.VideoCodecSettings { +extension MediaLiveClientTypes.ColorSpacePassthroughSettings { - static func write(value: MediaLiveClientTypes.VideoCodecSettings?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["frameCaptureSettings"].write(value.frameCaptureSettings, with: MediaLiveClientTypes.FrameCaptureSettings.write(value:to:)) - try writer["h264Settings"].write(value.h264Settings, with: MediaLiveClientTypes.H264Settings.write(value:to:)) - try writer["h265Settings"].write(value.h265Settings, with: MediaLiveClientTypes.H265Settings.write(value:to:)) - try writer["mpeg2Settings"].write(value.mpeg2Settings, with: MediaLiveClientTypes.Mpeg2Settings.write(value:to:)) + static func write(value: MediaLiveClientTypes.ColorSpacePassthroughSettings?, to writer: SmithyJSON.Writer) throws { + guard value != nil else { return } + _ = writer[""] // create an empty structure } - static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.VideoCodecSettings { + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.ColorSpacePassthroughSettings { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = MediaLiveClientTypes.VideoCodecSettings() - value.frameCaptureSettings = try reader["frameCaptureSettings"].readIfPresent(with: MediaLiveClientTypes.FrameCaptureSettings.read(from:)) - value.h264Settings = try reader["h264Settings"].readIfPresent(with: MediaLiveClientTypes.H264Settings.read(from:)) - value.h265Settings = try reader["h265Settings"].readIfPresent(with: MediaLiveClientTypes.H265Settings.read(from:)) - value.mpeg2Settings = try reader["mpeg2Settings"].readIfPresent(with: MediaLiveClientTypes.Mpeg2Settings.read(from:)) - return value + return MediaLiveClientTypes.ColorSpacePassthroughSettings() } } @@ -29681,25 +33886,6 @@ extension MediaLiveClientTypes.Mpeg2Settings { } } -extension MediaLiveClientTypes.TimecodeBurninSettings { - - static func write(value: MediaLiveClientTypes.TimecodeBurninSettings?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["fontSize"].write(value.fontSize) - try writer["position"].write(value.position) - try writer["prefix"].write(value.`prefix`) - } - - static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.TimecodeBurninSettings { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = MediaLiveClientTypes.TimecodeBurninSettings() - value.fontSize = try reader["fontSize"].readIfPresent() ?? .sdkUnknown("") - value.position = try reader["position"].readIfPresent() ?? .sdkUnknown("") - value.`prefix` = try reader["prefix"].readIfPresent() - return value - } -} - extension MediaLiveClientTypes.Mpeg2FilterSettings { static func write(value: MediaLiveClientTypes.Mpeg2FilterSettings?, to writer: SmithyJSON.Writer) throws { @@ -29857,32 +34043,6 @@ extension MediaLiveClientTypes.H265ColorSpaceSettings { } } -extension MediaLiveClientTypes.Rec709Settings { - - static func write(value: MediaLiveClientTypes.Rec709Settings?, to writer: SmithyJSON.Writer) throws { - guard value != nil else { return } - _ = writer[""] // create an empty structure - } - - static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.Rec709Settings { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - return MediaLiveClientTypes.Rec709Settings() - } -} - -extension MediaLiveClientTypes.Rec601Settings { - - static func write(value: MediaLiveClientTypes.Rec601Settings?, to writer: SmithyJSON.Writer) throws { - guard value != nil else { return } - _ = writer[""] // create an empty structure - } - - static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.Rec601Settings { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - return MediaLiveClientTypes.Rec601Settings() - } -} - extension MediaLiveClientTypes.DolbyVision81Settings { static func write(value: MediaLiveClientTypes.DolbyVision81Settings?, to writer: SmithyJSON.Writer) throws { @@ -29896,19 +34056,6 @@ extension MediaLiveClientTypes.DolbyVision81Settings { } } -extension MediaLiveClientTypes.ColorSpacePassthroughSettings { - - static func write(value: MediaLiveClientTypes.ColorSpacePassthroughSettings?, to writer: SmithyJSON.Writer) throws { - guard value != nil else { return } - _ = writer[""] // create an empty structure - } - - static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.ColorSpacePassthroughSettings { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - return MediaLiveClientTypes.ColorSpacePassthroughSettings() - } -} - extension MediaLiveClientTypes.H264Settings { static func write(value: MediaLiveClientTypes.H264Settings?, to writer: SmithyJSON.Writer) throws { @@ -30132,6 +34279,7 @@ extension MediaLiveClientTypes.OutputSettings { try writer["msSmoothOutputSettings"].write(value.msSmoothOutputSettings, with: MediaLiveClientTypes.MsSmoothOutputSettings.write(value:to:)) try writer["multiplexOutputSettings"].write(value.multiplexOutputSettings, with: MediaLiveClientTypes.MultiplexOutputSettings.write(value:to:)) try writer["rtmpOutputSettings"].write(value.rtmpOutputSettings, with: MediaLiveClientTypes.RtmpOutputSettings.write(value:to:)) + try writer["srtOutputSettings"].write(value.srtOutputSettings, with: MediaLiveClientTypes.SrtOutputSettings.write(value:to:)) try writer["udpOutputSettings"].write(value.udpOutputSettings, with: MediaLiveClientTypes.UdpOutputSettings.write(value:to:)) } @@ -30147,61 +34295,30 @@ extension MediaLiveClientTypes.OutputSettings { value.rtmpOutputSettings = try reader["rtmpOutputSettings"].readIfPresent(with: MediaLiveClientTypes.RtmpOutputSettings.read(from:)) value.udpOutputSettings = try reader["udpOutputSettings"].readIfPresent(with: MediaLiveClientTypes.UdpOutputSettings.read(from:)) value.cmafIngestOutputSettings = try reader["cmafIngestOutputSettings"].readIfPresent(with: MediaLiveClientTypes.CmafIngestOutputSettings.read(from:)) + value.srtOutputSettings = try reader["srtOutputSettings"].readIfPresent(with: MediaLiveClientTypes.SrtOutputSettings.read(from:)) return value } } -extension MediaLiveClientTypes.CmafIngestOutputSettings { - - static func write(value: MediaLiveClientTypes.CmafIngestOutputSettings?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["nameModifier"].write(value.nameModifier) - } - - static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.CmafIngestOutputSettings { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = MediaLiveClientTypes.CmafIngestOutputSettings() - value.nameModifier = try reader["nameModifier"].readIfPresent() - return value - } -} - -extension MediaLiveClientTypes.UdpOutputSettings { +extension MediaLiveClientTypes.SrtOutputSettings { - static func write(value: MediaLiveClientTypes.UdpOutputSettings?, to writer: SmithyJSON.Writer) throws { + static func write(value: MediaLiveClientTypes.SrtOutputSettings?, to writer: SmithyJSON.Writer) throws { guard let value else { return } try writer["bufferMsec"].write(value.bufferMsec) try writer["containerSettings"].write(value.containerSettings, with: MediaLiveClientTypes.UdpContainerSettings.write(value:to:)) try writer["destination"].write(value.destination, with: MediaLiveClientTypes.OutputLocationRef.write(value:to:)) - try writer["fecOutputSettings"].write(value.fecOutputSettings, with: MediaLiveClientTypes.FecOutputSettings.write(value:to:)) + try writer["encryptionType"].write(value.encryptionType) + try writer["latency"].write(value.latency) } - static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.UdpOutputSettings { + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.SrtOutputSettings { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = MediaLiveClientTypes.UdpOutputSettings() + var value = MediaLiveClientTypes.SrtOutputSettings() value.bufferMsec = try reader["bufferMsec"].readIfPresent() value.containerSettings = try reader["containerSettings"].readIfPresent(with: MediaLiveClientTypes.UdpContainerSettings.read(from:)) value.destination = try reader["destination"].readIfPresent(with: MediaLiveClientTypes.OutputLocationRef.read(from:)) - value.fecOutputSettings = try reader["fecOutputSettings"].readIfPresent(with: MediaLiveClientTypes.FecOutputSettings.read(from:)) - return value - } -} - -extension MediaLiveClientTypes.FecOutputSettings { - - static func write(value: MediaLiveClientTypes.FecOutputSettings?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["columnDepth"].write(value.columnDepth) - try writer["includeFec"].write(value.includeFec) - try writer["rowLength"].write(value.rowLength) - } - - static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.FecOutputSettings { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = MediaLiveClientTypes.FecOutputSettings() - value.columnDepth = try reader["columnDepth"].readIfPresent() - value.includeFec = try reader["includeFec"].readIfPresent() - value.rowLength = try reader["rowLength"].readIfPresent() + value.encryptionType = try reader["encryptionType"].readIfPresent() + value.latency = try reader["latency"].readIfPresent() return value } } @@ -30354,48 +34471,103 @@ extension MediaLiveClientTypes.DvbTdtSettings { static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.DvbTdtSettings { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = MediaLiveClientTypes.DvbTdtSettings() - value.repInterval = try reader["repInterval"].readIfPresent() + var value = MediaLiveClientTypes.DvbTdtSettings() + value.repInterval = try reader["repInterval"].readIfPresent() + return value + } +} + +extension MediaLiveClientTypes.DvbSdtSettings { + + static func write(value: MediaLiveClientTypes.DvbSdtSettings?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["outputSdt"].write(value.outputSdt) + try writer["repInterval"].write(value.repInterval) + try writer["serviceName"].write(value.serviceName) + try writer["serviceProviderName"].write(value.serviceProviderName) + } + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.DvbSdtSettings { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.DvbSdtSettings() + value.outputSdt = try reader["outputSdt"].readIfPresent() + value.repInterval = try reader["repInterval"].readIfPresent() + value.serviceName = try reader["serviceName"].readIfPresent() + value.serviceProviderName = try reader["serviceProviderName"].readIfPresent() + return value + } +} + +extension MediaLiveClientTypes.DvbNitSettings { + + static func write(value: MediaLiveClientTypes.DvbNitSettings?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["networkId"].write(value.networkId) + try writer["networkName"].write(value.networkName) + try writer["repInterval"].write(value.repInterval) + } + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.DvbNitSettings { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.DvbNitSettings() + value.networkId = try reader["networkId"].readIfPresent() ?? 0 + value.networkName = try reader["networkName"].readIfPresent() ?? "" + value.repInterval = try reader["repInterval"].readIfPresent() + return value + } +} + +extension MediaLiveClientTypes.CmafIngestOutputSettings { + + static func write(value: MediaLiveClientTypes.CmafIngestOutputSettings?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["nameModifier"].write(value.nameModifier) + } + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.CmafIngestOutputSettings { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.CmafIngestOutputSettings() + value.nameModifier = try reader["nameModifier"].readIfPresent() return value } } -extension MediaLiveClientTypes.DvbSdtSettings { +extension MediaLiveClientTypes.UdpOutputSettings { - static func write(value: MediaLiveClientTypes.DvbSdtSettings?, to writer: SmithyJSON.Writer) throws { + static func write(value: MediaLiveClientTypes.UdpOutputSettings?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["outputSdt"].write(value.outputSdt) - try writer["repInterval"].write(value.repInterval) - try writer["serviceName"].write(value.serviceName) - try writer["serviceProviderName"].write(value.serviceProviderName) + try writer["bufferMsec"].write(value.bufferMsec) + try writer["containerSettings"].write(value.containerSettings, with: MediaLiveClientTypes.UdpContainerSettings.write(value:to:)) + try writer["destination"].write(value.destination, with: MediaLiveClientTypes.OutputLocationRef.write(value:to:)) + try writer["fecOutputSettings"].write(value.fecOutputSettings, with: MediaLiveClientTypes.FecOutputSettings.write(value:to:)) } - static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.DvbSdtSettings { + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.UdpOutputSettings { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = MediaLiveClientTypes.DvbSdtSettings() - value.outputSdt = try reader["outputSdt"].readIfPresent() - value.repInterval = try reader["repInterval"].readIfPresent() - value.serviceName = try reader["serviceName"].readIfPresent() - value.serviceProviderName = try reader["serviceProviderName"].readIfPresent() + var value = MediaLiveClientTypes.UdpOutputSettings() + value.bufferMsec = try reader["bufferMsec"].readIfPresent() + value.containerSettings = try reader["containerSettings"].readIfPresent(with: MediaLiveClientTypes.UdpContainerSettings.read(from:)) + value.destination = try reader["destination"].readIfPresent(with: MediaLiveClientTypes.OutputLocationRef.read(from:)) + value.fecOutputSettings = try reader["fecOutputSettings"].readIfPresent(with: MediaLiveClientTypes.FecOutputSettings.read(from:)) return value } } -extension MediaLiveClientTypes.DvbNitSettings { +extension MediaLiveClientTypes.FecOutputSettings { - static func write(value: MediaLiveClientTypes.DvbNitSettings?, to writer: SmithyJSON.Writer) throws { + static func write(value: MediaLiveClientTypes.FecOutputSettings?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["networkId"].write(value.networkId) - try writer["networkName"].write(value.networkName) - try writer["repInterval"].write(value.repInterval) + try writer["columnDepth"].write(value.columnDepth) + try writer["includeFec"].write(value.includeFec) + try writer["rowLength"].write(value.rowLength) } - static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.DvbNitSettings { + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.FecOutputSettings { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = MediaLiveClientTypes.DvbNitSettings() - value.networkId = try reader["networkId"].readIfPresent() ?? 0 - value.networkName = try reader["networkName"].readIfPresent() ?? "" - value.repInterval = try reader["repInterval"].readIfPresent() + var value = MediaLiveClientTypes.FecOutputSettings() + value.columnDepth = try reader["columnDepth"].readIfPresent() + value.includeFec = try reader["includeFec"].readIfPresent() + value.rowLength = try reader["rowLength"].readIfPresent() return value } } @@ -30705,6 +34877,7 @@ extension MediaLiveClientTypes.OutputGroupSettings { try writer["msSmoothGroupSettings"].write(value.msSmoothGroupSettings, with: MediaLiveClientTypes.MsSmoothGroupSettings.write(value:to:)) try writer["multiplexGroupSettings"].write(value.multiplexGroupSettings, with: MediaLiveClientTypes.MultiplexGroupSettings.write(value:to:)) try writer["rtmpGroupSettings"].write(value.rtmpGroupSettings, with: MediaLiveClientTypes.RtmpGroupSettings.write(value:to:)) + try writer["srtGroupSettings"].write(value.srtGroupSettings, with: MediaLiveClientTypes.SrtGroupSettings.write(value:to:)) try writer["udpGroupSettings"].write(value.udpGroupSettings, with: MediaLiveClientTypes.UdpGroupSettings.write(value:to:)) } @@ -30720,6 +34893,22 @@ extension MediaLiveClientTypes.OutputGroupSettings { value.rtmpGroupSettings = try reader["rtmpGroupSettings"].readIfPresent(with: MediaLiveClientTypes.RtmpGroupSettings.read(from:)) value.udpGroupSettings = try reader["udpGroupSettings"].readIfPresent(with: MediaLiveClientTypes.UdpGroupSettings.read(from:)) value.cmafIngestGroupSettings = try reader["cmafIngestGroupSettings"].readIfPresent(with: MediaLiveClientTypes.CmafIngestGroupSettings.read(from:)) + value.srtGroupSettings = try reader["srtGroupSettings"].readIfPresent(with: MediaLiveClientTypes.SrtGroupSettings.read(from:)) + return value + } +} + +extension MediaLiveClientTypes.SrtGroupSettings { + + static func write(value: MediaLiveClientTypes.SrtGroupSettings?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["inputLossAction"].write(value.inputLossAction) + } + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.SrtGroupSettings { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.SrtGroupSettings() + value.inputLossAction = try reader["inputLossAction"].readIfPresent() return value } } @@ -32305,6 +36494,7 @@ extension MediaLiveClientTypes.OutputDestination { try writer["mediaPackageSettings"].writeList(value.mediaPackageSettings, memberWritingClosure: MediaLiveClientTypes.MediaPackageOutputDestinationSettings.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["multiplexSettings"].write(value.multiplexSettings, with: MediaLiveClientTypes.MultiplexProgramChannelDestinationSettings.write(value:to:)) try writer["settings"].writeList(value.settings, memberWritingClosure: MediaLiveClientTypes.OutputDestinationSettings.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["srtSettings"].writeList(value.srtSettings, memberWritingClosure: MediaLiveClientTypes.SrtOutputDestinationSettings.write(value:to:), memberNodeInfo: "member", isFlattened: false) } static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.OutputDestination { @@ -32314,6 +36504,26 @@ extension MediaLiveClientTypes.OutputDestination { value.mediaPackageSettings = try reader["mediaPackageSettings"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.MediaPackageOutputDestinationSettings.read(from:), memberNodeInfo: "member", isFlattened: false) value.multiplexSettings = try reader["multiplexSettings"].readIfPresent(with: MediaLiveClientTypes.MultiplexProgramChannelDestinationSettings.read(from:)) value.settings = try reader["settings"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.OutputDestinationSettings.read(from:), memberNodeInfo: "member", isFlattened: false) + value.srtSettings = try reader["srtSettings"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.SrtOutputDestinationSettings.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension MediaLiveClientTypes.SrtOutputDestinationSettings { + + static func write(value: MediaLiveClientTypes.SrtOutputDestinationSettings?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["encryptionPassphraseSecretArn"].write(value.encryptionPassphraseSecretArn) + try writer["streamId"].write(value.streamId) + try writer["url"].write(value.url) + } + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.SrtOutputDestinationSettings { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.SrtOutputDestinationSettings() + value.encryptionPassphraseSecretArn = try reader["encryptionPassphraseSecretArn"].readIfPresent() + value.streamId = try reader["streamId"].readIfPresent() + value.url = try reader["url"].readIfPresent() return value } } @@ -32386,6 +36596,28 @@ extension MediaLiveClientTypes.CdiInputSpecification { } } +extension MediaLiveClientTypes.ClusterNetworkSettings { + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.ClusterNetworkSettings { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.ClusterNetworkSettings() + value.defaultRoute = try reader["defaultRoute"].readIfPresent() + value.interfaceMappings = try reader["interfaceMappings"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.InterfaceMapping.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension MediaLiveClientTypes.InterfaceMapping { + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.InterfaceMapping { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.InterfaceMapping() + value.logicalInterfaceName = try reader["logicalInterfaceName"].readIfPresent() + value.networkId = try reader["networkId"].readIfPresent() + return value + } +} + extension MediaLiveClientTypes.EventBridgeRuleTemplateTarget { static func write(value: MediaLiveClientTypes.EventBridgeRuleTemplateTarget?, to writer: SmithyJSON.Writer) throws { @@ -32423,6 +36655,29 @@ extension MediaLiveClientTypes.Input { value.tags = try reader["tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) value.type = try reader["type"].readIfPresent() value.srtSettings = try reader["srtSettings"].readIfPresent(with: MediaLiveClientTypes.SrtSettings.read(from:)) + value.inputNetworkLocation = try reader["inputNetworkLocation"].readIfPresent() + value.multicastSettings = try reader["multicastSettings"].readIfPresent(with: MediaLiveClientTypes.MulticastSettings.read(from:)) + return value + } +} + +extension MediaLiveClientTypes.MulticastSettings { + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.MulticastSettings { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.MulticastSettings() + value.sources = try reader["sources"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.MulticastSource.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension MediaLiveClientTypes.MulticastSource { + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.MulticastSource { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.MulticastSource() + value.sourceIp = try reader["sourceIp"].readIfPresent() + value.url = try reader["url"].readIfPresent() ?? "" return value } } @@ -32508,6 +36763,19 @@ extension MediaLiveClientTypes.InputDestination { value.port = try reader["port"].readIfPresent() value.url = try reader["url"].readIfPresent() value.vpc = try reader["vpc"].readIfPresent(with: MediaLiveClientTypes.InputDestinationVpc.read(from:)) + value.network = try reader["network"].readIfPresent() + value.networkRoutes = try reader["networkRoutes"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.InputDestinationRoute.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension MediaLiveClientTypes.InputDestinationRoute { + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.InputDestinationRoute { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.InputDestinationRoute() + value.cidr = try reader["cidr"].readIfPresent() + value.gateway = try reader["gateway"].readIfPresent() return value } } @@ -32754,6 +37022,46 @@ extension MediaLiveClientTypes.MultiplexProgramServiceDescriptor { } } +extension MediaLiveClientTypes.IpPool { + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.IpPool { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.IpPool() + value.cidr = try reader["cidr"].readIfPresent() + return value + } +} + +extension MediaLiveClientTypes.Route { + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.Route { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.Route() + value.cidr = try reader["cidr"].readIfPresent() + value.gateway = try reader["gateway"].readIfPresent() + return value + } +} + +extension MediaLiveClientTypes.NodeInterfaceMapping { + + static func write(value: MediaLiveClientTypes.NodeInterfaceMapping?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["logicalInterfaceName"].write(value.logicalInterfaceName) + try writer["networkInterfaceMode"].write(value.networkInterfaceMode) + try writer["physicalInterfaceName"].write(value.physicalInterfaceName) + } + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.NodeInterfaceMapping { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.NodeInterfaceMapping() + value.logicalInterfaceName = try reader["logicalInterfaceName"].readIfPresent() + value.networkInterfaceMode = try reader["networkInterfaceMode"].readIfPresent() + value.physicalInterfaceName = try reader["physicalInterfaceName"].readIfPresent() + return value + } +} + extension MediaLiveClientTypes.MediaResource { static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.MediaResource { @@ -32950,6 +37258,22 @@ extension MediaLiveClientTypes.Thumbnail { } } +extension MediaLiveClientTypes.DescribeChannelPlacementGroupSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.DescribeChannelPlacementGroupSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.DescribeChannelPlacementGroupSummary() + value.arn = try reader["arn"].readIfPresent() + value.channels = try reader["channels"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.clusterId = try reader["clusterId"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.nodes = try reader["nodes"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.state = try reader["state"].readIfPresent() + return value + } +} + extension MediaLiveClientTypes.ChannelSummary { static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.ChannelSummary { @@ -32971,6 +37295,7 @@ extension MediaLiveClientTypes.ChannelSummary { value.state = try reader["state"].readIfPresent() value.tags = try reader["tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) value.vpc = try reader["vpc"].readIfPresent(with: MediaLiveClientTypes.VpcOutputSettingsDescription.read(from:)) + value.anywhereSettings = try reader["anywhereSettings"].readIfPresent(with: MediaLiveClientTypes.DescribeAnywhereSettings.read(from:)) return value } } @@ -33018,6 +37343,23 @@ extension MediaLiveClientTypes.CloudWatchAlarmTemplateSummary { } } +extension MediaLiveClientTypes.DescribeClusterSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.DescribeClusterSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.DescribeClusterSummary() + value.arn = try reader["arn"].readIfPresent() + value.channelIds = try reader["channelIds"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.clusterType = try reader["clusterType"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.instanceRoleArn = try reader["instanceRoleArn"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.networkSettings = try reader["networkSettings"].readIfPresent(with: MediaLiveClientTypes.ClusterNetworkSettings.read(from:)) + value.state = try reader["state"].readIfPresent() + return value + } +} + extension MediaLiveClientTypes.EventBridgeRuleTemplateGroupSummary { static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.EventBridgeRuleTemplateGroupSummary { @@ -33131,6 +37473,42 @@ extension MediaLiveClientTypes.MultiplexProgramSummary { } } +extension MediaLiveClientTypes.DescribeNetworkSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.DescribeNetworkSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.DescribeNetworkSummary() + value.arn = try reader["arn"].readIfPresent() + value.associatedClusterIds = try reader["associatedClusterIds"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.id = try reader["id"].readIfPresent() + value.ipPools = try reader["ipPools"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.IpPool.read(from:), memberNodeInfo: "member", isFlattened: false) + value.name = try reader["name"].readIfPresent() + value.routes = try reader["routes"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.Route.read(from:), memberNodeInfo: "member", isFlattened: false) + value.state = try reader["state"].readIfPresent() + return value + } +} + +extension MediaLiveClientTypes.DescribeNodeSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.DescribeNodeSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaLiveClientTypes.DescribeNodeSummary() + value.arn = try reader["arn"].readIfPresent() + value.channelPlacementGroups = try reader["channelPlacementGroups"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.clusterId = try reader["clusterId"].readIfPresent() + value.connectionState = try reader["connectionState"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.instanceArn = try reader["instanceArn"].readIfPresent() + value.managedInstanceId = try reader["managedInstanceId"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.nodeInterfaceMappings = try reader["nodeInterfaceMappings"].readListIfPresent(memberReadingClosure: MediaLiveClientTypes.NodeInterfaceMapping.read(from:), memberNodeInfo: "member", isFlattened: false) + value.role = try reader["role"].readIfPresent() + value.state = try reader["state"].readIfPresent() + return value + } +} + extension MediaLiveClientTypes.Offering { static func read(from reader: SmithyJSON.Reader) throws -> MediaLiveClientTypes.Offering { @@ -33243,14 +37621,53 @@ extension MediaLiveClientTypes.VpcOutputSettings { } } +extension MediaLiveClientTypes.AnywhereSettings { + + static func write(value: MediaLiveClientTypes.AnywhereSettings?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["channelPlacementGroupId"].write(value.channelPlacementGroupId) + try writer["clusterId"].write(value.clusterId) + } +} + +extension MediaLiveClientTypes.ClusterNetworkSettingsCreateRequest { + + static func write(value: MediaLiveClientTypes.ClusterNetworkSettingsCreateRequest?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["defaultRoute"].write(value.defaultRoute) + try writer["interfaceMappings"].writeList(value.interfaceMappings, memberWritingClosure: MediaLiveClientTypes.InterfaceMappingCreateRequest.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + +extension MediaLiveClientTypes.InterfaceMappingCreateRequest { + + static func write(value: MediaLiveClientTypes.InterfaceMappingCreateRequest?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["logicalInterfaceName"].write(value.logicalInterfaceName) + try writer["networkId"].write(value.networkId) + } +} + extension MediaLiveClientTypes.InputDestinationRequest { static func write(value: MediaLiveClientTypes.InputDestinationRequest?, to writer: SmithyJSON.Writer) throws { guard let value else { return } + try writer["network"].write(value.network) + try writer["networkRoutes"].writeList(value.networkRoutes, memberWritingClosure: MediaLiveClientTypes.InputRequestDestinationRoute.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["staticIpAddress"].write(value.staticIpAddress) try writer["streamName"].write(value.streamName) } } +extension MediaLiveClientTypes.InputRequestDestinationRoute { + + static func write(value: MediaLiveClientTypes.InputRequestDestinationRoute?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["cidr"].write(value.cidr) + try writer["gateway"].write(value.gateway) + } +} + extension MediaLiveClientTypes.MediaConnectFlowRequest { static func write(value: MediaLiveClientTypes.MediaConnectFlowRequest?, to writer: SmithyJSON.Writer) throws { @@ -33307,6 +37724,23 @@ extension MediaLiveClientTypes.SrtCallerDecryptionRequest { } } +extension MediaLiveClientTypes.MulticastSettingsCreateRequest { + + static func write(value: MediaLiveClientTypes.MulticastSettingsCreateRequest?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["sources"].writeList(value.sources, memberWritingClosure: MediaLiveClientTypes.MulticastSourceCreateRequest.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + +extension MediaLiveClientTypes.MulticastSourceCreateRequest { + + static func write(value: MediaLiveClientTypes.MulticastSourceCreateRequest?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["sourceIp"].write(value.sourceIp) + try writer["url"].write(value.url) + } +} + extension MediaLiveClientTypes.InputWhitelistRuleCidr { static func write(value: MediaLiveClientTypes.InputWhitelistRuleCidr?, to writer: SmithyJSON.Writer) throws { @@ -33315,6 +37749,33 @@ extension MediaLiveClientTypes.InputWhitelistRuleCidr { } } +extension MediaLiveClientTypes.IpPoolCreateRequest { + + static func write(value: MediaLiveClientTypes.IpPoolCreateRequest?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["cidr"].write(value.cidr) + } +} + +extension MediaLiveClientTypes.RouteCreateRequest { + + static func write(value: MediaLiveClientTypes.RouteCreateRequest?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["cidr"].write(value.cidr) + try writer["gateway"].write(value.gateway) + } +} + +extension MediaLiveClientTypes.NodeInterfaceMappingCreateRequest { + + static func write(value: MediaLiveClientTypes.NodeInterfaceMappingCreateRequest?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["logicalInterfaceName"].write(value.logicalInterfaceName) + try writer["networkInterfaceMode"].write(value.networkInterfaceMode) + try writer["physicalInterfaceName"].write(value.physicalInterfaceName) + } +} + extension MediaLiveClientTypes.MaintenanceUpdateSettings { static func write(value: MediaLiveClientTypes.MaintenanceUpdateSettings?, to writer: SmithyJSON.Writer) throws { @@ -33325,6 +37786,24 @@ extension MediaLiveClientTypes.MaintenanceUpdateSettings { } } +extension MediaLiveClientTypes.ClusterNetworkSettingsUpdateRequest { + + static func write(value: MediaLiveClientTypes.ClusterNetworkSettingsUpdateRequest?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["defaultRoute"].write(value.defaultRoute) + try writer["interfaceMappings"].writeList(value.interfaceMappings, memberWritingClosure: MediaLiveClientTypes.InterfaceMappingUpdateRequest.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + +extension MediaLiveClientTypes.InterfaceMappingUpdateRequest { + + static func write(value: MediaLiveClientTypes.InterfaceMappingUpdateRequest?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["logicalInterfaceName"].write(value.logicalInterfaceName) + try writer["networkId"].write(value.networkId) + } +} + extension MediaLiveClientTypes.InputDeviceRequest { static func write(value: MediaLiveClientTypes.InputDeviceRequest?, to writer: SmithyJSON.Writer) throws { @@ -33333,6 +37812,23 @@ extension MediaLiveClientTypes.InputDeviceRequest { } } +extension MediaLiveClientTypes.MulticastSettingsUpdateRequest { + + static func write(value: MediaLiveClientTypes.MulticastSettingsUpdateRequest?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["sources"].writeList(value.sources, memberWritingClosure: MediaLiveClientTypes.MulticastSourceUpdateRequest.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + +extension MediaLiveClientTypes.MulticastSourceUpdateRequest { + + static func write(value: MediaLiveClientTypes.MulticastSourceUpdateRequest?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["sourceIp"].write(value.sourceIp) + try writer["url"].write(value.url) + } +} + extension MediaLiveClientTypes.InputDeviceConfigurableSettings { static func write(value: MediaLiveClientTypes.InputDeviceConfigurableSettings?, to writer: SmithyJSON.Writer) throws { @@ -33366,4 +37862,21 @@ extension MediaLiveClientTypes.InputDeviceMediaConnectConfigurableSettings { } } +extension MediaLiveClientTypes.IpPoolUpdateRequest { + + static func write(value: MediaLiveClientTypes.IpPoolUpdateRequest?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["cidr"].write(value.cidr) + } +} + +extension MediaLiveClientTypes.RouteUpdateRequest { + + static func write(value: MediaLiveClientTypes.RouteUpdateRequest?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["cidr"].write(value.cidr) + try writer["gateway"].write(value.gateway) + } +} + public enum MediaLiveClientTypes {} diff --git a/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/Paginators.swift b/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/Paginators.swift index 8180134592f..e2af4cee927 100644 --- a/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/Paginators.swift +++ b/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/Paginators.swift @@ -41,6 +41,37 @@ extension PaginatorSequence where OperationStackInput == DescribeScheduleInput, return try await self.asyncCompactMap { item in item.scheduleActions } } } +extension MediaLiveClient { + /// Paginate over `[ListChannelPlacementGroupsOutput]` results. + /// + /// When this operation is called, an `AsyncSequence` is created. AsyncSequences are lazy so no service + /// calls are made until the sequence is iterated over. This also means there is no guarantee that the request is valid + /// until then. If there are errors in your request, you will see the failures only after you start iterating. + /// - Parameters: + /// - input: A `[ListChannelPlacementGroupsInput]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListChannelPlacementGroupsOutput` + public func listChannelPlacementGroupsPaginated(input: ListChannelPlacementGroupsInput) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listChannelPlacementGroups(input:)) + } +} + +extension ListChannelPlacementGroupsInput: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListChannelPlacementGroupsInput { + return ListChannelPlacementGroupsInput( + clusterId: self.clusterId, + maxResults: self.maxResults, + nextToken: token + )} +} + +extension PaginatorSequence where OperationStackInput == ListChannelPlacementGroupsInput, OperationStackOutput == ListChannelPlacementGroupsOutput { + /// This paginator transforms the `AsyncSequence` returned by `listChannelPlacementGroupsPaginated` + /// to access the nested member `[MediaLiveClientTypes.DescribeChannelPlacementGroupSummary]` + /// - Returns: `[MediaLiveClientTypes.DescribeChannelPlacementGroupSummary]` + public func channelPlacementGroups() async throws -> [MediaLiveClientTypes.DescribeChannelPlacementGroupSummary] { + return try await self.asyncCompactMap { item in item.channelPlacementGroups } + } +} extension MediaLiveClient { /// Paginate over `[ListChannelsOutput]` results. /// @@ -136,6 +167,36 @@ extension PaginatorSequence where OperationStackInput == ListCloudWatchAlarmTemp return try await self.asyncCompactMap { item in item.cloudWatchAlarmTemplates } } } +extension MediaLiveClient { + /// Paginate over `[ListClustersOutput]` results. + /// + /// When this operation is called, an `AsyncSequence` is created. AsyncSequences are lazy so no service + /// calls are made until the sequence is iterated over. This also means there is no guarantee that the request is valid + /// until then. If there are errors in your request, you will see the failures only after you start iterating. + /// - Parameters: + /// - input: A `[ListClustersInput]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListClustersOutput` + public func listClustersPaginated(input: ListClustersInput) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listClusters(input:)) + } +} + +extension ListClustersInput: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListClustersInput { + return ListClustersInput( + maxResults: self.maxResults, + nextToken: token + )} +} + +extension PaginatorSequence where OperationStackInput == ListClustersInput, OperationStackOutput == ListClustersOutput { + /// This paginator transforms the `AsyncSequence` returned by `listClustersPaginated` + /// to access the nested member `[MediaLiveClientTypes.DescribeClusterSummary]` + /// - Returns: `[MediaLiveClientTypes.DescribeClusterSummary]` + public func clusters() async throws -> [MediaLiveClientTypes.DescribeClusterSummary] { + return try await self.asyncCompactMap { item in item.clusters } + } +} extension MediaLiveClient { /// Paginate over `[ListEventBridgeRuleTemplateGroupsOutput]` results. /// @@ -381,6 +442,67 @@ extension PaginatorSequence where OperationStackInput == ListMultiplexProgramsIn return try await self.asyncCompactMap { item in item.multiplexPrograms } } } +extension MediaLiveClient { + /// Paginate over `[ListNetworksOutput]` results. + /// + /// When this operation is called, an `AsyncSequence` is created. AsyncSequences are lazy so no service + /// calls are made until the sequence is iterated over. This also means there is no guarantee that the request is valid + /// until then. If there are errors in your request, you will see the failures only after you start iterating. + /// - Parameters: + /// - input: A `[ListNetworksInput]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListNetworksOutput` + public func listNetworksPaginated(input: ListNetworksInput) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listNetworks(input:)) + } +} + +extension ListNetworksInput: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListNetworksInput { + return ListNetworksInput( + maxResults: self.maxResults, + nextToken: token + )} +} + +extension PaginatorSequence where OperationStackInput == ListNetworksInput, OperationStackOutput == ListNetworksOutput { + /// This paginator transforms the `AsyncSequence` returned by `listNetworksPaginated` + /// to access the nested member `[MediaLiveClientTypes.DescribeNetworkSummary]` + /// - Returns: `[MediaLiveClientTypes.DescribeNetworkSummary]` + public func networks() async throws -> [MediaLiveClientTypes.DescribeNetworkSummary] { + return try await self.asyncCompactMap { item in item.networks } + } +} +extension MediaLiveClient { + /// Paginate over `[ListNodesOutput]` results. + /// + /// When this operation is called, an `AsyncSequence` is created. AsyncSequences are lazy so no service + /// calls are made until the sequence is iterated over. This also means there is no guarantee that the request is valid + /// until then. If there are errors in your request, you will see the failures only after you start iterating. + /// - Parameters: + /// - input: A `[ListNodesInput]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListNodesOutput` + public func listNodesPaginated(input: ListNodesInput) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listNodes(input:)) + } +} + +extension ListNodesInput: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListNodesInput { + return ListNodesInput( + clusterId: self.clusterId, + maxResults: self.maxResults, + nextToken: token + )} +} + +extension PaginatorSequence where OperationStackInput == ListNodesInput, OperationStackOutput == ListNodesOutput { + /// This paginator transforms the `AsyncSequence` returned by `listNodesPaginated` + /// to access the nested member `[MediaLiveClientTypes.DescribeNodeSummary]` + /// - Returns: `[MediaLiveClientTypes.DescribeNodeSummary]` + public func nodes() async throws -> [MediaLiveClientTypes.DescribeNodeSummary] { + return try await self.asyncCompactMap { item in item.nodes } + } +} extension MediaLiveClient { /// Paginate over `[ListOfferingsOutput]` results. /// diff --git a/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/Waiters.swift b/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/Waiters.swift index 250db0f1daa..2ebd46b91fa 100644 --- a/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/Waiters.swift +++ b/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/Waiters.swift @@ -192,6 +192,224 @@ extension MediaLiveClient { return try await waiter.waitUntil(options: options, input: input) } + static func channelPlacementGroupAssignedWaiterConfig() throws -> SmithyWaitersAPI.WaiterConfiguration { + let acceptors: [SmithyWaitersAPI.WaiterConfiguration.Acceptor] = [ + .init(state: .success, matcher: { (input: DescribeChannelPlacementGroupInput, result: Swift.Result) -> Bool in + // JMESPath expression: "State" + // JMESPath comparator: "stringEquals" + // JMESPath expected value: "ASSIGNED" + guard case .success(let output) = result else { return false } + let state = output.state + return SmithyWaitersAPI.JMESUtils.compare(state, ==, "ASSIGNED") + }), + .init(state: .retry, matcher: { (input: DescribeChannelPlacementGroupInput, result: Swift.Result) -> Bool in + // JMESPath expression: "State" + // JMESPath comparator: "stringEquals" + // JMESPath expected value: "ASSIGNING" + guard case .success(let output) = result else { return false } + let state = output.state + return SmithyWaitersAPI.JMESUtils.compare(state, ==, "ASSIGNING") + }), + .init(state: .retry, matcher: { (input: DescribeChannelPlacementGroupInput, result: Swift.Result) -> Bool in + guard case .failure(let error) = result else { return false } + return (error as? ClientRuntime.ServiceError)?.typeName == "InternalServerErrorException" + }), + ] + return try SmithyWaitersAPI.WaiterConfiguration(acceptors: acceptors, minDelay: 3.0, maxDelay: 120.0) + } + + /// Initiates waiting for the ChannelPlacementGroupAssigned event on the describeChannelPlacementGroup operation. + /// The operation will be tried and (if necessary) retried until the wait succeeds, fails, or times out. + /// Returns a `WaiterOutcome` asynchronously on waiter success, throws an error asynchronously on + /// waiter failure or timeout. + /// - Parameters: + /// - options: `WaiterOptions` to be used to configure this wait. + /// - input: The `DescribeChannelPlacementGroupInput` object to be used as a parameter when performing the operation. + /// - Returns: A `WaiterOutcome` with the result of the final, successful performance of the operation. + /// - Throws: `WaiterFailureError` if the waiter fails due to matching an `Acceptor` with state `failure` + /// or there is an error not handled by any `Acceptor.` + /// `WaiterTimeoutError` if the waiter times out. + public func waitUntilChannelPlacementGroupAssigned(options: SmithyWaitersAPI.WaiterOptions, input: DescribeChannelPlacementGroupInput) async throws -> SmithyWaitersAPI.WaiterOutcome { + let waiter = SmithyWaitersAPI.Waiter(config: try Self.channelPlacementGroupAssignedWaiterConfig(), operation: self.describeChannelPlacementGroup(input:)) + return try await waiter.waitUntil(options: options, input: input) + } + + static func channelPlacementGroupDeletedWaiterConfig() throws -> SmithyWaitersAPI.WaiterConfiguration { + let acceptors: [SmithyWaitersAPI.WaiterConfiguration.Acceptor] = [ + .init(state: .success, matcher: { (input: DescribeChannelPlacementGroupInput, result: Swift.Result) -> Bool in + // JMESPath expression: "State" + // JMESPath comparator: "stringEquals" + // JMESPath expected value: "DELETED" + guard case .success(let output) = result else { return false } + let state = output.state + return SmithyWaitersAPI.JMESUtils.compare(state, ==, "DELETED") + }), + .init(state: .retry, matcher: { (input: DescribeChannelPlacementGroupInput, result: Swift.Result) -> Bool in + // JMESPath expression: "State" + // JMESPath comparator: "stringEquals" + // JMESPath expected value: "DELETING" + guard case .success(let output) = result else { return false } + let state = output.state + return SmithyWaitersAPI.JMESUtils.compare(state, ==, "DELETING") + }), + .init(state: .retry, matcher: { (input: DescribeChannelPlacementGroupInput, result: Swift.Result) -> Bool in + guard case .failure(let error) = result else { return false } + return (error as? ClientRuntime.ServiceError)?.typeName == "InternalServerErrorException" + }), + ] + return try SmithyWaitersAPI.WaiterConfiguration(acceptors: acceptors, minDelay: 5.0, maxDelay: 120.0) + } + + /// Initiates waiting for the ChannelPlacementGroupDeleted event on the describeChannelPlacementGroup operation. + /// The operation will be tried and (if necessary) retried until the wait succeeds, fails, or times out. + /// Returns a `WaiterOutcome` asynchronously on waiter success, throws an error asynchronously on + /// waiter failure or timeout. + /// - Parameters: + /// - options: `WaiterOptions` to be used to configure this wait. + /// - input: The `DescribeChannelPlacementGroupInput` object to be used as a parameter when performing the operation. + /// - Returns: A `WaiterOutcome` with the result of the final, successful performance of the operation. + /// - Throws: `WaiterFailureError` if the waiter fails due to matching an `Acceptor` with state `failure` + /// or there is an error not handled by any `Acceptor.` + /// `WaiterTimeoutError` if the waiter times out. + public func waitUntilChannelPlacementGroupDeleted(options: SmithyWaitersAPI.WaiterOptions, input: DescribeChannelPlacementGroupInput) async throws -> SmithyWaitersAPI.WaiterOutcome { + let waiter = SmithyWaitersAPI.Waiter(config: try Self.channelPlacementGroupDeletedWaiterConfig(), operation: self.describeChannelPlacementGroup(input:)) + return try await waiter.waitUntil(options: options, input: input) + } + + static func channelPlacementGroupUnassignedWaiterConfig() throws -> SmithyWaitersAPI.WaiterConfiguration { + let acceptors: [SmithyWaitersAPI.WaiterConfiguration.Acceptor] = [ + .init(state: .success, matcher: { (input: DescribeChannelPlacementGroupInput, result: Swift.Result) -> Bool in + // JMESPath expression: "State" + // JMESPath comparator: "stringEquals" + // JMESPath expected value: "UNASSIGNED" + guard case .success(let output) = result else { return false } + let state = output.state + return SmithyWaitersAPI.JMESUtils.compare(state, ==, "UNASSIGNED") + }), + .init(state: .retry, matcher: { (input: DescribeChannelPlacementGroupInput, result: Swift.Result) -> Bool in + // JMESPath expression: "State" + // JMESPath comparator: "stringEquals" + // JMESPath expected value: "UNASSIGNING" + guard case .success(let output) = result else { return false } + let state = output.state + return SmithyWaitersAPI.JMESUtils.compare(state, ==, "UNASSIGNING") + }), + .init(state: .retry, matcher: { (input: DescribeChannelPlacementGroupInput, result: Swift.Result) -> Bool in + guard case .failure(let error) = result else { return false } + return (error as? ClientRuntime.ServiceError)?.typeName == "InternalServerErrorException" + }), + ] + return try SmithyWaitersAPI.WaiterConfiguration(acceptors: acceptors, minDelay: 5.0, maxDelay: 120.0) + } + + /// Initiates waiting for the ChannelPlacementGroupUnassigned event on the describeChannelPlacementGroup operation. + /// The operation will be tried and (if necessary) retried until the wait succeeds, fails, or times out. + /// Returns a `WaiterOutcome` asynchronously on waiter success, throws an error asynchronously on + /// waiter failure or timeout. + /// - Parameters: + /// - options: `WaiterOptions` to be used to configure this wait. + /// - input: The `DescribeChannelPlacementGroupInput` object to be used as a parameter when performing the operation. + /// - Returns: A `WaiterOutcome` with the result of the final, successful performance of the operation. + /// - Throws: `WaiterFailureError` if the waiter fails due to matching an `Acceptor` with state `failure` + /// or there is an error not handled by any `Acceptor.` + /// `WaiterTimeoutError` if the waiter times out. + public func waitUntilChannelPlacementGroupUnassigned(options: SmithyWaitersAPI.WaiterOptions, input: DescribeChannelPlacementGroupInput) async throws -> SmithyWaitersAPI.WaiterOutcome { + let waiter = SmithyWaitersAPI.Waiter(config: try Self.channelPlacementGroupUnassignedWaiterConfig(), operation: self.describeChannelPlacementGroup(input:)) + return try await waiter.waitUntil(options: options, input: input) + } + + static func clusterCreatedWaiterConfig() throws -> SmithyWaitersAPI.WaiterConfiguration { + let acceptors: [SmithyWaitersAPI.WaiterConfiguration.Acceptor] = [ + .init(state: .success, matcher: { (input: DescribeClusterInput, result: Swift.Result) -> Bool in + // JMESPath expression: "State" + // JMESPath comparator: "stringEquals" + // JMESPath expected value: "ACTIVE" + guard case .success(let output) = result else { return false } + let state = output.state + return SmithyWaitersAPI.JMESUtils.compare(state, ==, "ACTIVE") + }), + .init(state: .retry, matcher: { (input: DescribeClusterInput, result: Swift.Result) -> Bool in + // JMESPath expression: "State" + // JMESPath comparator: "stringEquals" + // JMESPath expected value: "CREATING" + guard case .success(let output) = result else { return false } + let state = output.state + return SmithyWaitersAPI.JMESUtils.compare(state, ==, "CREATING") + }), + .init(state: .retry, matcher: { (input: DescribeClusterInput, result: Swift.Result) -> Bool in + guard case .failure(let error) = result else { return false } + return (error as? ClientRuntime.ServiceError)?.typeName == "InternalServerErrorException" + }), + .init(state: .failure, matcher: { (input: DescribeClusterInput, result: Swift.Result) -> Bool in + // JMESPath expression: "State" + // JMESPath comparator: "stringEquals" + // JMESPath expected value: "CREATE_FAILED" + guard case .success(let output) = result else { return false } + let state = output.state + return SmithyWaitersAPI.JMESUtils.compare(state, ==, "CREATE_FAILED") + }), + ] + return try SmithyWaitersAPI.WaiterConfiguration(acceptors: acceptors, minDelay: 3.0, maxDelay: 120.0) + } + + /// Initiates waiting for the ClusterCreated event on the describeCluster operation. + /// The operation will be tried and (if necessary) retried until the wait succeeds, fails, or times out. + /// Returns a `WaiterOutcome` asynchronously on waiter success, throws an error asynchronously on + /// waiter failure or timeout. + /// - Parameters: + /// - options: `WaiterOptions` to be used to configure this wait. + /// - input: The `DescribeClusterInput` object to be used as a parameter when performing the operation. + /// - Returns: A `WaiterOutcome` with the result of the final, successful performance of the operation. + /// - Throws: `WaiterFailureError` if the waiter fails due to matching an `Acceptor` with state `failure` + /// or there is an error not handled by any `Acceptor.` + /// `WaiterTimeoutError` if the waiter times out. + public func waitUntilClusterCreated(options: SmithyWaitersAPI.WaiterOptions, input: DescribeClusterInput) async throws -> SmithyWaitersAPI.WaiterOutcome { + let waiter = SmithyWaitersAPI.Waiter(config: try Self.clusterCreatedWaiterConfig(), operation: self.describeCluster(input:)) + return try await waiter.waitUntil(options: options, input: input) + } + + static func clusterDeletedWaiterConfig() throws -> SmithyWaitersAPI.WaiterConfiguration { + let acceptors: [SmithyWaitersAPI.WaiterConfiguration.Acceptor] = [ + .init(state: .success, matcher: { (input: DescribeClusterInput, result: Swift.Result) -> Bool in + // JMESPath expression: "State" + // JMESPath comparator: "stringEquals" + // JMESPath expected value: "DELETED" + guard case .success(let output) = result else { return false } + let state = output.state + return SmithyWaitersAPI.JMESUtils.compare(state, ==, "DELETED") + }), + .init(state: .retry, matcher: { (input: DescribeClusterInput, result: Swift.Result) -> Bool in + // JMESPath expression: "State" + // JMESPath comparator: "stringEquals" + // JMESPath expected value: "DELETING" + guard case .success(let output) = result else { return false } + let state = output.state + return SmithyWaitersAPI.JMESUtils.compare(state, ==, "DELETING") + }), + .init(state: .retry, matcher: { (input: DescribeClusterInput, result: Swift.Result) -> Bool in + guard case .failure(let error) = result else { return false } + return (error as? ClientRuntime.ServiceError)?.typeName == "InternalServerErrorException" + }), + ] + return try SmithyWaitersAPI.WaiterConfiguration(acceptors: acceptors, minDelay: 5.0, maxDelay: 120.0) + } + + /// Initiates waiting for the ClusterDeleted event on the describeCluster operation. + /// The operation will be tried and (if necessary) retried until the wait succeeds, fails, or times out. + /// Returns a `WaiterOutcome` asynchronously on waiter success, throws an error asynchronously on + /// waiter failure or timeout. + /// - Parameters: + /// - options: `WaiterOptions` to be used to configure this wait. + /// - input: The `DescribeClusterInput` object to be used as a parameter when performing the operation. + /// - Returns: A `WaiterOutcome` with the result of the final, successful performance of the operation. + /// - Throws: `WaiterFailureError` if the waiter fails due to matching an `Acceptor` with state `failure` + /// or there is an error not handled by any `Acceptor.` + /// `WaiterTimeoutError` if the waiter times out. + public func waitUntilClusterDeleted(options: SmithyWaitersAPI.WaiterOptions, input: DescribeClusterInput) async throws -> SmithyWaitersAPI.WaiterOutcome { + let waiter = SmithyWaitersAPI.Waiter(config: try Self.clusterDeletedWaiterConfig(), operation: self.describeCluster(input:)) + return try await waiter.waitUntil(options: options, input: input) + } + static func inputAttachedWaiterConfig() throws -> SmithyWaitersAPI.WaiterConfiguration { let acceptors: [SmithyWaitersAPI.WaiterConfiguration.Acceptor] = [ .init(state: .success, matcher: { (input: DescribeInputInput, result: Swift.Result) -> Bool in @@ -502,6 +720,110 @@ extension MediaLiveClient { return try await waiter.waitUntil(options: options, input: input) } + static func nodeDeregisteredWaiterConfig() throws -> SmithyWaitersAPI.WaiterConfiguration { + let acceptors: [SmithyWaitersAPI.WaiterConfiguration.Acceptor] = [ + .init(state: .success, matcher: { (input: DescribeNodeInput, result: Swift.Result) -> Bool in + // JMESPath expression: "State" + // JMESPath comparator: "stringEquals" + // JMESPath expected value: "DEREGISTERED" + guard case .success(let output) = result else { return false } + let state = output.state + return SmithyWaitersAPI.JMESUtils.compare(state, ==, "DEREGISTERED") + }), + .init(state: .retry, matcher: { (input: DescribeNodeInput, result: Swift.Result) -> Bool in + // JMESPath expression: "State" + // JMESPath comparator: "stringEquals" + // JMESPath expected value: "DEREGISTERING" + guard case .success(let output) = result else { return false } + let state = output.state + return SmithyWaitersAPI.JMESUtils.compare(state, ==, "DEREGISTERING") + }), + .init(state: .retry, matcher: { (input: DescribeNodeInput, result: Swift.Result) -> Bool in + // JMESPath expression: "State" + // JMESPath comparator: "stringEquals" + // JMESPath expected value: "DRAINING" + guard case .success(let output) = result else { return false } + let state = output.state + return SmithyWaitersAPI.JMESUtils.compare(state, ==, "DRAINING") + }), + .init(state: .retry, matcher: { (input: DescribeNodeInput, result: Swift.Result) -> Bool in + guard case .failure(let error) = result else { return false } + return (error as? ClientRuntime.ServiceError)?.typeName == "InternalServerErrorException" + }), + ] + return try SmithyWaitersAPI.WaiterConfiguration(acceptors: acceptors, minDelay: 5.0, maxDelay: 120.0) + } + + /// Initiates waiting for the NodeDeregistered event on the describeNode operation. + /// The operation will be tried and (if necessary) retried until the wait succeeds, fails, or times out. + /// Returns a `WaiterOutcome` asynchronously on waiter success, throws an error asynchronously on + /// waiter failure or timeout. + /// - Parameters: + /// - options: `WaiterOptions` to be used to configure this wait. + /// - input: The `DescribeNodeInput` object to be used as a parameter when performing the operation. + /// - Returns: A `WaiterOutcome` with the result of the final, successful performance of the operation. + /// - Throws: `WaiterFailureError` if the waiter fails due to matching an `Acceptor` with state `failure` + /// or there is an error not handled by any `Acceptor.` + /// `WaiterTimeoutError` if the waiter times out. + public func waitUntilNodeDeregistered(options: SmithyWaitersAPI.WaiterOptions, input: DescribeNodeInput) async throws -> SmithyWaitersAPI.WaiterOutcome { + let waiter = SmithyWaitersAPI.Waiter(config: try Self.nodeDeregisteredWaiterConfig(), operation: self.describeNode(input:)) + return try await waiter.waitUntil(options: options, input: input) + } + + static func nodeRegisteredWaiterConfig() throws -> SmithyWaitersAPI.WaiterConfiguration { + let acceptors: [SmithyWaitersAPI.WaiterConfiguration.Acceptor] = [ + .init(state: .success, matcher: { (input: DescribeNodeInput, result: Swift.Result) -> Bool in + // JMESPath expression: "State" + // JMESPath comparator: "stringEquals" + // JMESPath expected value: "ACTIVE" + guard case .success(let output) = result else { return false } + let state = output.state + return SmithyWaitersAPI.JMESUtils.compare(state, ==, "ACTIVE") + }), + .init(state: .retry, matcher: { (input: DescribeNodeInput, result: Swift.Result) -> Bool in + // JMESPath expression: "State" + // JMESPath comparator: "stringEquals" + // JMESPath expected value: "REGISTERING" + guard case .success(let output) = result else { return false } + let state = output.state + return SmithyWaitersAPI.JMESUtils.compare(state, ==, "REGISTERING") + }), + .init(state: .retry, matcher: { (input: DescribeNodeInput, result: Swift.Result) -> Bool in + guard case .failure(let error) = result else { return false } + return (error as? ClientRuntime.ServiceError)?.typeName == "NotFoundException" + }), + .init(state: .failure, matcher: { (input: DescribeNodeInput, result: Swift.Result) -> Bool in + // JMESPath expression: "State" + // JMESPath comparator: "stringEquals" + // JMESPath expected value: "REGISTRATION_FAILED" + guard case .success(let output) = result else { return false } + let state = output.state + return SmithyWaitersAPI.JMESUtils.compare(state, ==, "REGISTRATION_FAILED") + }), + .init(state: .retry, matcher: { (input: DescribeNodeInput, result: Swift.Result) -> Bool in + guard case .failure(let error) = result else { return false } + return (error as? ClientRuntime.ServiceError)?.typeName == "InternalServerErrorException" + }), + ] + return try SmithyWaitersAPI.WaiterConfiguration(acceptors: acceptors, minDelay: 3.0, maxDelay: 120.0) + } + + /// Initiates waiting for the NodeRegistered event on the describeNode operation. + /// The operation will be tried and (if necessary) retried until the wait succeeds, fails, or times out. + /// Returns a `WaiterOutcome` asynchronously on waiter success, throws an error asynchronously on + /// waiter failure or timeout. + /// - Parameters: + /// - options: `WaiterOptions` to be used to configure this wait. + /// - input: The `DescribeNodeInput` object to be used as a parameter when performing the operation. + /// - Returns: A `WaiterOutcome` with the result of the final, successful performance of the operation. + /// - Throws: `WaiterFailureError` if the waiter fails due to matching an `Acceptor` with state `failure` + /// or there is an error not handled by any `Acceptor.` + /// `WaiterTimeoutError` if the waiter times out. + public func waitUntilNodeRegistered(options: SmithyWaitersAPI.WaiterOptions, input: DescribeNodeInput) async throws -> SmithyWaitersAPI.WaiterOutcome { + let waiter = SmithyWaitersAPI.Waiter(config: try Self.nodeRegisteredWaiterConfig(), operation: self.describeNode(input:)) + return try await waiter.waitUntil(options: options, input: input) + } + static func signalMapCreatedWaiterConfig() throws -> SmithyWaitersAPI.WaiterConfiguration { let acceptors: [SmithyWaitersAPI.WaiterConfiguration.Acceptor] = [ .init(state: .success, matcher: { (input: GetSignalMapInput, result: Swift.Result) -> Bool in diff --git a/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/MediaPackageClient.swift b/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/MediaPackageClient.swift index 59cdc769b4d..4fc22439ac0 100644 --- a/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/MediaPackageClient.swift +++ b/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/MediaPackageClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension MediaPackageClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConfigureLogsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension MediaPackageClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -381,9 +378,8 @@ extension MediaPackageClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateHarvestJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -456,9 +452,8 @@ extension MediaPackageClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateOriginEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -531,9 +526,8 @@ extension MediaPackageClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -603,9 +597,8 @@ extension MediaPackageClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOriginEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -675,9 +668,8 @@ extension MediaPackageClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -747,9 +739,8 @@ extension MediaPackageClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeHarvestJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -819,9 +810,8 @@ extension MediaPackageClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOriginEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -891,9 +881,8 @@ extension MediaPackageClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -964,9 +953,8 @@ extension MediaPackageClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHarvestJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1037,9 +1025,8 @@ extension MediaPackageClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOriginEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1099,9 +1086,8 @@ extension MediaPackageClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1172,9 +1158,8 @@ extension MediaPackageClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RotateChannelCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1244,9 +1229,8 @@ extension MediaPackageClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RotateIngestEndpointCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1305,9 +1289,8 @@ extension MediaPackageClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1369,9 +1352,8 @@ extension MediaPackageClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1442,9 +1424,8 @@ extension MediaPackageClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1517,9 +1498,8 @@ extension MediaPackageClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateOriginEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/MediaPackageV2Client.swift b/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/MediaPackageV2Client.swift index 94cb343fed5..3f13816b84a 100644 --- a/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/MediaPackageV2Client.swift +++ b/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/MediaPackageV2Client.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -235,9 +234,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChannelInput.urlPathProvider(_:))) @@ -313,9 +311,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChannelGroupInput.urlPathProvider(_:))) @@ -391,9 +388,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateOriginEndpointInput.urlPathProvider(_:))) @@ -467,9 +463,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -538,9 +533,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -609,9 +603,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -679,9 +672,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOriginEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -750,9 +742,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOriginEndpointPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -821,9 +812,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -892,9 +882,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetChannelGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -963,9 +952,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetChannelPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1034,9 +1022,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOriginEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1105,9 +1092,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOriginEndpointPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1175,9 +1161,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1247,9 +1232,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1319,9 +1303,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOriginEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1387,9 +1370,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1459,9 +1441,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutChannelPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1534,9 +1515,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutOriginEndpointPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1604,9 +1584,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1674,9 +1653,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1747,9 +1725,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1823,9 +1800,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateChannelGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1900,9 +1876,8 @@ extension MediaPackageV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateOriginEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/MediaPackageVodClient.swift b/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/MediaPackageVodClient.swift index 77ca0cfbef9..b4aff480bb7 100644 --- a/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/MediaPackageVodClient.swift +++ b/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/MediaPackageVodClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension MediaPackageVodClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConfigureLogsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension MediaPackageVodClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAssetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -381,9 +378,8 @@ extension MediaPackageVodClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePackagingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -456,9 +452,8 @@ extension MediaPackageVodClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePackagingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -531,9 +526,8 @@ extension MediaPackageVodClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAssetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -603,9 +597,8 @@ extension MediaPackageVodClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePackagingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -675,9 +668,8 @@ extension MediaPackageVodClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePackagingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -747,9 +739,8 @@ extension MediaPackageVodClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAssetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -819,9 +810,8 @@ extension MediaPackageVodClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePackagingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -891,9 +881,8 @@ extension MediaPackageVodClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePackagingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -963,9 +952,8 @@ extension MediaPackageVodClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1036,9 +1024,8 @@ extension MediaPackageVodClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPackagingConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1109,9 +1096,8 @@ extension MediaPackageVodClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPackagingGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1172,9 +1158,8 @@ extension MediaPackageVodClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1234,9 +1219,8 @@ extension MediaPackageVodClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1299,9 +1283,8 @@ extension MediaPackageVodClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1372,9 +1355,8 @@ extension MediaPackageVodClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePackagingGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/MediaStoreClient.swift b/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/MediaStoreClient.swift index f1b88dbe840..aa95a4512f2 100644 --- a/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/MediaStoreClient.swift +++ b/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/MediaStoreClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension MediaStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateContainerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -301,9 +299,8 @@ extension MediaStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteContainerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -375,9 +372,8 @@ extension MediaStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteContainerPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -449,9 +445,8 @@ extension MediaStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCorsPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -523,9 +518,8 @@ extension MediaStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLifecyclePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -597,9 +591,8 @@ extension MediaStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMetricPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -669,9 +662,8 @@ extension MediaStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeContainerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -743,9 +735,8 @@ extension MediaStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContainerPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -817,9 +808,8 @@ extension MediaStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCorsPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -891,9 +881,8 @@ extension MediaStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLifecyclePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -965,9 +954,8 @@ extension MediaStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMetricPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1036,9 +1024,8 @@ extension MediaStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListContainersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1109,9 +1096,8 @@ extension MediaStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1182,9 +1168,8 @@ extension MediaStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutContainerPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1255,9 +1240,8 @@ extension MediaStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutCorsPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1328,9 +1312,8 @@ extension MediaStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutLifecyclePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1401,9 +1384,8 @@ extension MediaStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutMetricPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1474,9 +1456,8 @@ extension MediaStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartAccessLoggingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1547,9 +1528,8 @@ extension MediaStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopAccessLoggingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1620,9 +1600,8 @@ extension MediaStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1693,9 +1672,8 @@ extension MediaStoreClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/MediaStoreDataClient.swift b/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/MediaStoreDataClient.swift index 490a7813bbc..4337eecba49 100644 --- a/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/MediaStoreDataClient.swift +++ b/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/MediaStoreDataClient.swift @@ -32,7 +32,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension MediaStoreDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteObjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -299,9 +297,8 @@ extension MediaStoreDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeObjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -369,9 +366,8 @@ extension MediaStoreDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetObjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -438,9 +434,8 @@ extension MediaStoreDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListItemsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -507,9 +502,8 @@ extension MediaStoreDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutObjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/MediaTailorClient.swift b/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/MediaTailorClient.swift index 2285e31ecf3..e2c6dc8e63b 100644 --- a/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/MediaTailorClient.swift +++ b/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/MediaTailorClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -222,9 +221,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConfigureLogsForChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -287,9 +285,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConfigureLogsForPlaybackConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -352,9 +349,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -417,9 +413,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLiveSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -482,9 +477,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePrefetchScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -547,9 +541,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProgramInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -612,9 +605,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSourceLocationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -677,9 +669,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVodSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -742,9 +733,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -804,9 +794,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChannelPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -866,9 +855,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLiveSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -928,9 +916,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePlaybackConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -990,9 +977,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePrefetchScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1052,9 +1038,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProgramInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1114,9 +1099,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSourceLocationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1176,9 +1160,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVodSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1238,9 +1221,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1300,9 +1282,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLiveSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1362,9 +1343,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProgramInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1424,9 +1404,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSourceLocationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1486,9 +1465,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVodSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1548,9 +1526,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetChannelPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1610,9 +1587,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetChannelScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1673,9 +1649,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPlaybackConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1735,9 +1710,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPrefetchScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1797,9 +1771,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAlertsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1860,9 +1833,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChannelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1923,9 +1895,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLiveSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1986,9 +1957,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPlaybackConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2049,9 +2019,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPrefetchSchedulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2114,9 +2083,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSourceLocationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2182,9 +2150,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2244,9 +2211,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVodSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2307,9 +2273,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutChannelPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2372,9 +2337,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutPlaybackConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2437,9 +2401,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2499,9 +2462,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2566,9 +2528,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2636,9 +2597,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2699,9 +2659,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2764,9 +2723,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLiveSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2829,9 +2787,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProgramInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2894,9 +2851,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSourceLocationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2959,9 +2915,8 @@ extension MediaTailorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVodSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/MedicalImagingClient.swift b/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/MedicalImagingClient.swift index f58b89e2695..037edfd32eb 100644 --- a/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/MedicalImagingClient.swift +++ b/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/MedicalImagingClient.swift @@ -32,7 +32,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -236,9 +235,8 @@ extension MedicalImagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyImageSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "runtime-")) @@ -311,9 +309,8 @@ extension MedicalImagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDatastoreInput.urlPathProvider(_:))) @@ -387,9 +384,8 @@ extension MedicalImagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDatastoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -459,9 +455,8 @@ extension MedicalImagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteImageSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "runtime-")) @@ -531,9 +526,8 @@ extension MedicalImagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDICOMImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -602,9 +596,8 @@ extension MedicalImagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDatastoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -674,9 +667,8 @@ extension MedicalImagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetImageFrameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "runtime-")) @@ -749,9 +741,8 @@ extension MedicalImagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetImageSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "runtime-")) @@ -822,9 +813,8 @@ extension MedicalImagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetImageSetMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "runtime-")) @@ -895,9 +885,8 @@ extension MedicalImagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDICOMImportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -966,9 +955,8 @@ extension MedicalImagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatastoresInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1039,9 +1027,8 @@ extension MedicalImagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImageSetVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "runtime-")) @@ -1111,9 +1098,8 @@ extension MedicalImagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1183,9 +1169,8 @@ extension MedicalImagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchImageSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "runtime-")) @@ -1260,9 +1245,8 @@ extension MedicalImagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDICOMImportJobInput.urlPathProvider(_:))) @@ -1335,9 +1319,8 @@ extension MedicalImagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1409,9 +1392,8 @@ extension MedicalImagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1483,9 +1465,8 @@ extension MedicalImagingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateImageSetMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "runtime-")) diff --git a/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/MemoryDBClient.swift b/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/MemoryDBClient.swift index 128fa1a51e1..cf68d935471 100644 --- a/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/MemoryDBClient.swift +++ b/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/MemoryDBClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchUpdateClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopySnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -383,9 +380,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateACLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -469,9 +465,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -546,9 +541,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -624,9 +618,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -701,9 +694,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -777,9 +769,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -850,9 +841,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteACLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -926,9 +916,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1001,9 +990,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1076,9 +1064,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1149,9 +1136,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1222,9 +1208,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1294,9 +1279,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeACLsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1368,9 +1352,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1441,9 +1424,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEngineVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1514,9 +1496,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1588,9 +1569,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeParameterGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1662,9 +1642,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1736,9 +1715,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReservedNodesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1810,9 +1788,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReservedNodesOfferingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1882,9 +1859,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeServiceUpdatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1956,9 +1932,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2028,9 +2003,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSubnetGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2100,9 +2074,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2178,9 +2151,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(FailoverShardInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2252,9 +2224,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAllowedNodeTypeUpdatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2331,9 +2302,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2408,9 +2378,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PurchaseReservedNodesOfferingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2483,9 +2452,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2563,9 +2531,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2643,9 +2610,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2720,9 +2686,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateACLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2806,9 +2771,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2881,9 +2845,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2957,9 +2920,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3031,9 +2993,8 @@ extension MemoryDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMgn/Sources/AWSMgn/MgnClient.swift b/Sources/Services/AWSMgn/Sources/AWSMgn/MgnClient.swift index ed85ccea4e7..1970d70f541 100644 --- a/Sources/Services/AWSMgn/Sources/AWSMgn/MgnClient.swift +++ b/Sources/Services/AWSMgn/Sources/AWSMgn/MgnClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ArchiveApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -303,9 +301,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ArchiveWaveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -376,9 +373,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -449,9 +445,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateSourceServersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -522,9 +517,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ChangeServerLifeCycleStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -594,9 +588,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -665,9 +658,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -737,9 +729,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLaunchConfigurationTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -809,9 +800,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReplicationConfigurationTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -881,9 +871,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWaveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -953,9 +942,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1025,9 +1013,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1097,9 +1084,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1169,9 +1155,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLaunchConfigurationTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1241,9 +1226,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReplicationConfigurationTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1313,9 +1297,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSourceServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1385,9 +1368,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVcenterClientInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1457,9 +1439,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWaveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1528,9 +1509,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeJobLogItemsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1599,9 +1579,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1671,9 +1650,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLaunchConfigurationTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1743,9 +1721,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReplicationConfigurationTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1814,9 +1791,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSourceServersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1886,9 +1862,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVcenterClientsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1956,9 +1931,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2028,9 +2002,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateSourceServersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2100,9 +2073,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisconnectFromServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2173,9 +2145,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(FinalizeCutoverInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2244,9 +2215,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLaunchConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2315,9 +2285,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReplicationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2386,9 +2355,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InitializeServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2453,9 +2421,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2524,9 +2491,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConnectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2595,9 +2561,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExportErrorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2665,9 +2630,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2736,9 +2700,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImportErrorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2807,9 +2770,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2878,9 +2840,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListManagedAccountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2949,9 +2910,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSourceServerActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3023,9 +2983,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3091,9 +3050,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTemplateActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3161,9 +3119,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWavesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3233,9 +3190,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(MarkAsArchivedInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3307,9 +3263,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PauseReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3380,9 +3335,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutSourceServerActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3453,9 +3407,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutTemplateActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3525,9 +3478,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveSourceServerActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3597,9 +3549,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTemplateActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3671,9 +3622,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResumeReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3743,9 +3693,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RetryDataReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3815,9 +3764,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartCutoverInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3887,9 +3835,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3961,9 +3908,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartImportInput.urlPathProvider(_:))) @@ -4036,9 +3982,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4108,9 +4053,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartTestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4182,9 +4126,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4256,9 +4199,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4328,9 +4270,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TerminateTargetInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4400,9 +4341,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UnarchiveApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4472,9 +4412,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UnarchiveWaveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4546,9 +4485,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4616,9 +4554,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4688,9 +4625,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4761,9 +4697,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLaunchConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4834,9 +4769,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLaunchConfigurationTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4908,9 +4842,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateReplicationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4981,9 +4914,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateReplicationConfigurationTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5053,9 +4985,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSourceServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5126,9 +5057,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSourceServerReplicationTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5198,9 +5128,8 @@ extension MgnClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWaveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/MigrationHubClient.swift b/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/MigrationHubClient.swift index e0008c27515..e147932a5b8 100644 --- a/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/MigrationHubClient.swift +++ b/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/MigrationHubClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -241,9 +240,8 @@ extension MigrationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateCreatedArtifactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -321,9 +319,8 @@ extension MigrationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateDiscoveredResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -399,9 +396,8 @@ extension MigrationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProgressUpdateStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -488,9 +484,8 @@ extension MigrationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProgressUpdateStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -566,9 +561,8 @@ extension MigrationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeApplicationStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -643,9 +637,8 @@ extension MigrationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMigrationTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -728,9 +721,8 @@ extension MigrationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateCreatedArtifactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -807,9 +799,8 @@ extension MigrationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateDiscoveredResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -886,9 +877,8 @@ extension MigrationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportMigrationTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -962,9 +952,8 @@ extension MigrationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationStatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1045,9 +1034,8 @@ extension MigrationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCreatedArtifactsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1122,9 +1110,8 @@ extension MigrationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDiscoveredResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1206,9 +1193,8 @@ extension MigrationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMigrationTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1282,9 +1268,8 @@ extension MigrationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProgressUpdateStreamsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1362,9 +1347,8 @@ extension MigrationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(NotifyApplicationStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1447,9 +1431,8 @@ extension MigrationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(NotifyMigrationTaskStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1533,9 +1516,8 @@ extension MigrationHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourceAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/MigrationHubConfigClient.swift b/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/MigrationHubConfigClient.swift index 0bc320a12a0..2e2fb90af3d 100644 --- a/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/MigrationHubConfigClient.swift +++ b/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/MigrationHubConfigClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension MigrationHubConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateHomeRegionControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension MigrationHubConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteHomeRegionControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -381,9 +378,8 @@ extension MigrationHubConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeHomeRegionControlsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -456,9 +452,8 @@ extension MigrationHubConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetHomeRegionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/MigrationHubOrchestratorClient.swift b/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/MigrationHubOrchestratorClient.swift index 8b973b46d23..ce12696fd00 100644 --- a/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/MigrationHubOrchestratorClient.swift +++ b/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/MigrationHubOrchestratorClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTemplateInput.urlPathProvider(_:))) @@ -306,9 +304,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -379,9 +376,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkflowStepInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -452,9 +448,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkflowStepGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -526,9 +521,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -597,9 +591,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -668,9 +661,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkflowStepInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -740,9 +732,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkflowStepGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -811,9 +802,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -882,9 +872,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTemplateStepInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -954,9 +943,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTemplateStepGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1025,9 +1013,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1095,9 +1082,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkflowStepInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1167,9 +1153,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkflowStepGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1237,9 +1222,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPluginsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1306,9 +1290,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1376,9 +1359,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTemplateStepGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1448,9 +1430,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTemplateStepsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1518,9 +1499,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1590,9 +1570,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkflowStepGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1661,9 +1640,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkflowStepsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1733,9 +1711,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkflowsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1804,9 +1781,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RetryWorkflowStepInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1876,9 +1852,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1947,9 +1922,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2015,9 +1989,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2086,9 +2059,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2158,9 +2130,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTemplateInput.urlPathProvider(_:))) @@ -2233,9 +2204,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2306,9 +2276,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorkflowStepInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2380,9 +2349,8 @@ extension MigrationHubOrchestratorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorkflowStepGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/MigrationHubRefactorSpacesClient.swift b/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/MigrationHubRefactorSpacesClient.swift index 363ca22abc2..c973ff2a80b 100644 --- a/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/MigrationHubRefactorSpacesClient.swift +++ b/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/MigrationHubRefactorSpacesClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationInput.urlPathProvider(_:))) @@ -311,9 +309,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEnvironmentInput.urlPathProvider(_:))) @@ -395,9 +392,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRouteInput.urlPathProvider(_:))) @@ -472,9 +468,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServiceInput.urlPathProvider(_:))) @@ -548,9 +543,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -620,9 +614,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -691,9 +684,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -763,9 +755,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -835,9 +826,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -906,9 +896,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -977,9 +966,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1048,9 +1036,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1119,9 +1106,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1190,9 +1176,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1263,9 +1248,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1335,9 +1319,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnvironmentVpcsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1407,9 +1390,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnvironmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1481,9 +1463,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRoutesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1555,9 +1536,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1625,9 +1605,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1697,9 +1676,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1769,9 +1747,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1841,9 +1818,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1913,9 +1889,8 @@ extension MigrationHubRefactorSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRouteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/MigrationHubStrategyClient.swift b/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/MigrationHubStrategyClient.swift index 319f764a283..d9d5b93b50a 100644 --- a/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/MigrationHubStrategyClient.swift +++ b/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/MigrationHubStrategyClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension MigrationHubStrategyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApplicationComponentDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -298,9 +296,8 @@ extension MigrationHubStrategyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApplicationComponentStrategiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -368,9 +365,8 @@ extension MigrationHubStrategyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssessmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -439,9 +435,8 @@ extension MigrationHubStrategyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetImportFileTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -509,9 +504,8 @@ extension MigrationHubStrategyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLatestAssessmentIdInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -579,9 +573,8 @@ extension MigrationHubStrategyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPortfolioPreferencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -648,9 +641,8 @@ extension MigrationHubStrategyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPortfolioSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -719,9 +711,8 @@ extension MigrationHubStrategyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRecommendationReportDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -790,9 +781,8 @@ extension MigrationHubStrategyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServerDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -862,9 +852,8 @@ extension MigrationHubStrategyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServerStrategiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -932,9 +921,8 @@ extension MigrationHubStrategyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAnalyzableServersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1005,9 +993,8 @@ extension MigrationHubStrategyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationComponentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1078,9 +1065,8 @@ extension MigrationHubStrategyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCollectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1149,9 +1135,8 @@ extension MigrationHubStrategyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImportFileTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1220,9 +1205,8 @@ extension MigrationHubStrategyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1294,9 +1278,8 @@ extension MigrationHubStrategyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutPortfolioPreferencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1367,9 +1350,8 @@ extension MigrationHubStrategyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartAssessmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1441,9 +1423,8 @@ extension MigrationHubStrategyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartImportFileTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1515,9 +1496,8 @@ extension MigrationHubStrategyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartRecommendationReportGenerationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1588,9 +1568,8 @@ extension MigrationHubStrategyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopAssessmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1661,9 +1640,8 @@ extension MigrationHubStrategyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationComponentConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1734,9 +1712,8 @@ extension MigrationHubStrategyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServerConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSMq/Sources/AWSMq/MqClient.swift b/Sources/Services/AWSMq/Sources/AWSMq/MqClient.swift index 287553d5713..880865009ad 100644 --- a/Sources/Services/AWSMq/Sources/AWSMq/MqClient.swift +++ b/Sources/Services/AWSMq/Sources/AWSMq/MqClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -259,9 +258,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.creatorRequestId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBrokerInput.urlPathProvider(_:))) @@ -333,9 +331,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -406,9 +403,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -480,9 +476,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -553,9 +548,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBrokerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -623,9 +617,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -694,9 +687,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -764,9 +756,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBrokerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -833,9 +824,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBrokerEngineTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -903,9 +893,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBrokerInstanceOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -974,9 +963,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1044,9 +1032,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConfigurationRevisionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1114,9 +1101,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1183,9 +1169,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBrokersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1254,9 +1239,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConfigurationRevisionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1324,9 +1308,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1395,9 +1378,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1465,9 +1447,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1536,9 +1517,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PromoteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1609,9 +1589,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RebootBrokerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1680,9 +1659,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBrokerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1754,9 +1732,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1828,9 +1805,8 @@ extension MqClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSNeptune/Sources/AWSNeptune/NeptuneClient.swift b/Sources/Services/AWSNeptune/Sources/AWSNeptune/NeptuneClient.swift index 05070e5251c..c4e3b672c44 100644 --- a/Sources/Services/AWSNeptune/Sources/AWSNeptune/NeptuneClient.swift +++ b/Sources/Services/AWSNeptune/Sources/AWSNeptune/NeptuneClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddRoleToDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -300,9 +298,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddSourceIdentifierToSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -372,9 +369,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddTagsToResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -442,9 +438,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ApplyPendingMaintenanceActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -514,9 +509,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyDBClusterParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -589,9 +583,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyDBClusterSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -661,9 +654,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyDBParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -747,9 +739,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -833,9 +824,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBClusterEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -904,9 +894,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBClusterParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -978,9 +967,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBClusterSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1065,9 +1053,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1136,9 +1123,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1210,9 +1196,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1286,9 +1271,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEventSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1359,9 +1343,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGlobalClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1433,9 +1416,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1516,9 +1498,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBClusterEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1587,9 +1568,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBClusterParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1658,9 +1638,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBClusterSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1732,9 +1711,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1803,9 +1781,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1875,9 +1852,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1946,9 +1922,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEventSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2017,9 +1992,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGlobalClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2087,9 +2061,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBClusterEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2157,9 +2130,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBClusterParameterGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2227,9 +2199,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBClusterParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2297,9 +2268,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBClusterSnapshotAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2367,9 +2337,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBClusterSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2437,9 +2406,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2502,9 +2470,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBEngineVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2572,9 +2539,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2642,9 +2608,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBParameterGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2712,9 +2677,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2782,9 +2746,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBSubnetGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2847,9 +2810,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEngineDefaultClusterParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2912,9 +2874,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEngineDefaultParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2977,9 +2938,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventCategoriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3047,9 +3007,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventSubscriptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3112,9 +3071,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3182,9 +3140,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGlobalClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3247,9 +3204,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOrderableDBInstanceOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3317,9 +3273,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePendingMaintenanceActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3388,9 +3343,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeValidDBInstanceModificationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3460,9 +3414,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(FailoverDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3533,9 +3486,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(FailoverGlobalClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3605,9 +3557,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3686,9 +3637,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3771,9 +3721,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBClusterEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3842,9 +3791,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBClusterParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3914,9 +3862,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBClusterSnapshotAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3999,9 +3946,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4070,9 +4016,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4144,9 +4089,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4219,9 +4163,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyEventSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4290,9 +4233,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyGlobalClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4361,9 +4303,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PromoteReadReplicaDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4432,9 +4373,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RebootDBInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4504,9 +4444,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveFromGlobalClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4576,9 +4515,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveRoleFromDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4647,9 +4585,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveSourceIdentifierFromSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4719,9 +4656,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTagsFromResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4790,9 +4726,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetDBClusterParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4861,9 +4796,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetDBParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4946,9 +4880,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreDBClusterFromSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5032,9 +4965,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreDBClusterToPointInTimeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5104,9 +5036,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5176,9 +5107,8 @@ extension NeptuneClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/NeptuneGraphClient.swift b/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/NeptuneGraphClient.swift index 31179f58a93..ea2cec59e26 100644 --- a/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/NeptuneGraphClient.swift +++ b/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/NeptuneGraphClient.swift @@ -33,7 +33,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelImportTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "\(input.graphIdentifier!).")) @@ -377,9 +374,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGraphInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -452,9 +448,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGraphSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -526,9 +521,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGraphUsingImportTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -601,9 +595,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePrivateGraphEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -675,9 +668,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGraphInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -747,9 +739,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGraphSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -818,9 +809,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePrivateGraphEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -896,9 +886,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExecuteQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "\(input.graphIdentifier!).")) @@ -970,9 +959,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGraphInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1040,9 +1028,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGraphSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1111,9 +1098,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGraphSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "\(input.graphIdentifier!).")) @@ -1183,9 +1169,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetImportTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1253,9 +1238,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPrivateGraphEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1324,9 +1308,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "\(input.graphIdentifier!).")) @@ -1395,9 +1378,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGraphSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1465,9 +1447,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGraphsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1536,9 +1517,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImportTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1607,9 +1587,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPrivateGraphEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1678,9 +1657,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQueriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "\(input.graphIdentifier!).")) @@ -1750,9 +1728,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1821,9 +1798,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetGraphInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1896,9 +1872,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreGraphFromSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1970,9 +1945,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartImportTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2043,9 +2017,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2116,9 +2089,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2188,9 +2160,8 @@ extension NeptuneGraphClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGraphInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/NeptunedataClient.swift b/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/NeptunedataClient.swift index 7f64dd9f249..3f44c2c9db4 100644 --- a/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/NeptunedataClient.swift +++ b/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/NeptunedataClient.swift @@ -32,7 +32,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -242,9 +241,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelGremlinQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -321,9 +319,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelLoaderJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -398,9 +395,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelMLDataProcessingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -476,9 +472,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelMLModelTrainingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -554,9 +549,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelMLModelTransformJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -636,9 +630,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelOpenCypherQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -714,9 +707,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMLEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -794,9 +786,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMLEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -874,9 +865,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePropertygraphStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -953,9 +943,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSparqlStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1032,9 +1021,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExecuteFastResetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1130,9 +1118,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExecuteGremlinExplainQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1219,9 +1206,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExecuteGremlinProfileQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1317,9 +1303,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExecuteGremlinQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1408,9 +1393,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExecuteOpenCypherExplainQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1507,9 +1491,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExecuteOpenCypherQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1584,9 +1567,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEngineStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1666,9 +1648,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGremlinQueryStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1745,9 +1726,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLoaderJobStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1823,9 +1803,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMLDataProcessingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1901,9 +1880,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMLEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1979,9 +1957,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMLModelTrainingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2057,9 +2034,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMLModelTransformJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2141,9 +2117,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOpenCypherQueryStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2220,9 +2195,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPropertygraphStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2305,9 +2279,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPropertygraphStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2386,9 +2359,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPropertygraphSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2466,9 +2438,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRDFGraphSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2546,9 +2517,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSparqlStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2624,9 +2594,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSparqlStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2708,9 +2677,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGremlinQueriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2787,9 +2755,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLoaderJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2865,9 +2832,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMLDataProcessingJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2943,9 +2909,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMLEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3021,9 +2986,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMLModelTrainingJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3099,9 +3063,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMLModelTransformJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3183,9 +3146,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOpenCypherQueriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3263,9 +3225,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ManagePropertygraphStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3345,9 +3306,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ManageSparqlStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3428,9 +3388,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartLoaderJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3508,9 +3467,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMLDataProcessingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3588,9 +3546,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMLModelTrainingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3668,9 +3625,8 @@ extension NeptunedataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMLModelTransformJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/NetworkFirewallClient.swift b/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/NetworkFirewallClient.swift index 264cbcc7acd..430e18f3a0e 100644 --- a/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/NetworkFirewallClient.swift +++ b/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/NetworkFirewallClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -238,9 +237,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateFirewallPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -321,9 +319,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateSubnetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -403,9 +400,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFirewallInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -484,9 +480,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFirewallPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -565,9 +560,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRuleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -646,9 +640,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTLSInspectionConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -728,9 +721,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFirewallInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -810,9 +802,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFirewallPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -891,9 +882,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -973,9 +963,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRuleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1054,9 +1043,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTLSInspectionConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1134,9 +1122,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFirewallInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1214,9 +1201,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFirewallPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1294,9 +1280,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1374,9 +1359,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1454,9 +1438,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRuleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1534,9 +1517,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRuleGroupMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1614,9 +1596,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTLSInspectionConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1696,9 +1677,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateSubnetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1775,9 +1755,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFirewallPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1854,9 +1833,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFirewallsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1933,9 +1911,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRuleGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2012,9 +1989,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTLSInspectionConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2092,9 +2068,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2180,9 +2155,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2260,9 +2234,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2340,9 +2313,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2422,9 +2394,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFirewallDeleteProtectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2503,9 +2474,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFirewallDescriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2585,9 +2555,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFirewallEncryptionConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2666,9 +2635,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFirewallPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2748,9 +2716,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFirewallPolicyChangeProtectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2839,9 +2806,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2920,9 +2886,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRuleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3002,9 +2967,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSubnetChangeProtectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3083,9 +3047,8 @@ extension NetworkFirewallClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTLSInspectionConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/NetworkManagerClient.swift b/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/NetworkManagerClient.swift index 5fb535e7c9b..0cca5fc4135 100644 --- a/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/NetworkManagerClient.swift +++ b/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/NetworkManagerClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateConnectPeerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -382,9 +379,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateCustomerGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -458,9 +454,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -534,9 +529,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateTransitGatewayConnectPeerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -609,9 +603,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConnectAttachmentInput.urlPathProvider(_:))) @@ -685,9 +678,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConnectPeerInput.urlPathProvider(_:))) @@ -761,9 +753,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -837,9 +828,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCoreNetworkInput.urlPathProvider(_:))) @@ -914,9 +904,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -989,9 +978,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGlobalNetworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1065,9 +1053,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1141,9 +1128,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSiteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1216,9 +1202,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSiteToSiteVpnAttachmentInput.urlPathProvider(_:))) @@ -1292,9 +1277,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTransitGatewayPeeringInput.urlPathProvider(_:))) @@ -1368,9 +1352,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTransitGatewayRouteTableAttachmentInput.urlPathProvider(_:))) @@ -1444,9 +1427,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVpcAttachmentInput.urlPathProvider(_:))) @@ -1520,9 +1502,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1592,9 +1573,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConnectPeerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1664,9 +1644,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1736,9 +1715,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCoreNetworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1808,9 +1786,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCoreNetworkPolicyVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1880,9 +1857,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1952,9 +1928,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGlobalNetworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2024,9 +1999,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2096,9 +2070,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePeeringInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2167,9 +2140,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2239,9 +2211,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSiteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2311,9 +2282,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterTransitGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2382,9 +2352,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGlobalNetworksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2455,9 +2424,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateConnectPeerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2527,9 +2495,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateCustomerGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2599,9 +2566,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2672,9 +2638,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateTransitGatewayConnectPeerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2744,9 +2709,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExecuteCoreNetworkChangeSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2815,9 +2779,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConnectAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2886,9 +2849,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConnectPeerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2958,9 +2920,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConnectPeerAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3030,9 +2991,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3102,9 +3062,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCoreNetworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3173,9 +3132,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCoreNetworkChangeEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3245,9 +3203,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCoreNetworkChangeSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3317,9 +3274,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCoreNetworkPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3390,9 +3346,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCustomerGatewayAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3462,9 +3417,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDevicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3534,9 +3488,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLinkAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3606,9 +3559,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLinksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3677,9 +3629,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetNetworkResourceCountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3749,9 +3700,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetNetworkResourceRelationshipsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3821,9 +3771,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetNetworkResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3893,9 +3842,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetNetworkRoutesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3967,9 +3915,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetNetworkTelemetryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4038,9 +3985,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4109,9 +4055,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRouteAnalysisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4180,9 +4125,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSiteToSiteVpnAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4251,9 +4195,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSitesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4324,9 +4267,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTransitGatewayConnectPeerAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4396,9 +4338,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTransitGatewayPeeringInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4467,9 +4408,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTransitGatewayRegistrationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4539,9 +4479,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTransitGatewayRouteTableAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4610,9 +4549,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVpcAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4680,9 +4618,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAttachmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4751,9 +4688,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConnectPeersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4823,9 +4759,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCoreNetworkPolicyVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4894,9 +4829,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCoreNetworksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4957,9 +4891,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOrganizationServiceAccessStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5028,9 +4961,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPeeringsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5100,9 +5032,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5173,9 +5104,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutCoreNetworkPolicyInput.urlPathProvider(_:))) @@ -5249,9 +5179,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5324,9 +5253,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterTransitGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5399,9 +5327,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5471,9 +5398,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreCoreNetworkPolicyVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5543,9 +5469,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartOrganizationServiceAccessUpdateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5618,9 +5543,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartRouteAnalysisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5694,9 +5618,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5769,9 +5692,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5842,9 +5764,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5917,9 +5838,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCoreNetworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5992,9 +5912,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6067,9 +5986,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGlobalNetworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6143,9 +6061,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6218,9 +6135,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNetworkResourceMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6293,9 +6209,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSiteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6368,9 +6283,8 @@ extension NetworkManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVpcAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/NetworkMonitorClient.swift b/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/NetworkMonitorClient.swift index b3afe4b2c12..af1321a22dd 100644 --- a/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/NetworkMonitorClient.swift +++ b/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/NetworkMonitorClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -245,9 +244,8 @@ extension NetworkMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMonitorInput.urlPathProvider(_:))) @@ -321,9 +319,8 @@ extension NetworkMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProbeInput.urlPathProvider(_:))) @@ -396,9 +393,8 @@ extension NetworkMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMonitorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -468,9 +464,8 @@ extension NetworkMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProbeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -539,9 +534,8 @@ extension NetworkMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMonitorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -610,9 +604,8 @@ extension NetworkMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProbeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -680,9 +673,8 @@ extension NetworkMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMonitorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -753,9 +745,8 @@ extension NetworkMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -825,9 +816,8 @@ extension NetworkMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -900,9 +890,8 @@ extension NetworkMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -973,9 +962,8 @@ extension NetworkMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMonitorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1060,9 +1048,8 @@ extension NetworkMonitorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProbeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSNimble/Sources/AWSNimble/NimbleClient.swift b/Sources/Services/AWSNimble/Sources/AWSNimble/NimbleClient.swift index 63f50f8a264..4b2537ac08a 100644 --- a/Sources/Services/AWSNimble/Sources/AWSNimble/NimbleClient.swift +++ b/Sources/Services/AWSNimble/Sources/AWSNimble/NimbleClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptEulasInput.urlPathProvider(_:))) @@ -312,9 +310,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLaunchProfileInput.urlPathProvider(_:))) @@ -390,9 +387,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStreamingImageInput.urlPathProvider(_:))) @@ -468,9 +464,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStreamingSessionInput.urlPathProvider(_:))) @@ -546,9 +541,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStreamingSessionStreamInput.urlPathProvider(_:))) @@ -624,9 +618,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStudioInput.urlPathProvider(_:))) @@ -702,9 +695,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStudioComponentInput.urlPathProvider(_:))) @@ -780,9 +772,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLaunchProfileInput.urlPathProvider(_:))) @@ -855,9 +846,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLaunchProfileMemberInput.urlPathProvider(_:))) @@ -930,9 +920,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStreamingImageInput.urlPathProvider(_:))) @@ -1005,9 +994,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStreamingSessionInput.urlPathProvider(_:))) @@ -1080,9 +1068,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStudioInput.urlPathProvider(_:))) @@ -1155,9 +1142,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStudioComponentInput.urlPathProvider(_:))) @@ -1230,9 +1216,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStudioMemberInput.urlPathProvider(_:))) @@ -1305,9 +1290,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEulaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1378,9 +1362,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLaunchProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1451,9 +1434,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLaunchProfileDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1524,9 +1506,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLaunchProfileInitializationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1598,9 +1579,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLaunchProfileMemberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1671,9 +1651,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStreamingImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1744,9 +1723,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStreamingSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1816,9 +1794,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStreamingSessionBackupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1889,9 +1866,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStreamingSessionStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1962,9 +1938,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStudioInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2035,9 +2010,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStudioComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2108,9 +2082,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStudioMemberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2181,9 +2154,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEulaAcceptancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2255,9 +2227,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEulasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2329,9 +2300,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLaunchProfileMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2403,9 +2373,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLaunchProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2477,9 +2446,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStreamingImagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2550,9 +2518,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStreamingSessionBackupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2624,9 +2591,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStreamingSessionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2698,9 +2664,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStudioComponentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2772,9 +2737,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStudioMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2846,9 +2810,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStudiosInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2920,9 +2883,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2993,9 +2955,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutLaunchProfileMembersInput.urlPathProvider(_:))) @@ -3071,9 +3032,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutStudioMembersInput.urlPathProvider(_:))) @@ -3149,9 +3109,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartStreamingSessionInput.urlPathProvider(_:))) @@ -3227,9 +3186,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartStudioSSOConfigurationRepairInput.urlPathProvider(_:))) @@ -3302,9 +3260,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopStreamingSessionInput.urlPathProvider(_:))) @@ -3380,9 +3337,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3456,9 +3412,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3530,9 +3485,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLaunchProfileInput.urlPathProvider(_:))) @@ -3608,9 +3562,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLaunchProfileMemberInput.urlPathProvider(_:))) @@ -3686,9 +3639,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStreamingImageInput.urlPathProvider(_:))) @@ -3764,9 +3716,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStudioInput.urlPathProvider(_:))) @@ -3842,9 +3793,8 @@ extension NimbleClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStudioComponentInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSOAM/Sources/AWSOAM/OAMClient.swift b/Sources/Services/AWSOAM/Sources/AWSOAM/OAMClient.swift index 2c258158d7e..0075bc96cc6 100644 --- a/Sources/Services/AWSOAM/Sources/AWSOAM/OAMClient.swift +++ b/Sources/Services/AWSOAM/Sources/AWSOAM/OAMClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension OAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -304,9 +302,8 @@ extension OAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -377,9 +374,8 @@ extension OAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -451,9 +447,8 @@ extension OAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -524,9 +519,8 @@ extension OAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -597,9 +591,8 @@ extension OAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -670,9 +663,8 @@ extension OAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSinkPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -743,9 +735,8 @@ extension OAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAttachedLinksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -815,9 +806,8 @@ extension OAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLinksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -887,9 +877,8 @@ extension OAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSinksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -958,9 +947,8 @@ extension OAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1039,9 +1027,8 @@ extension OAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutSinkPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1111,9 +1098,8 @@ extension OAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1182,9 +1168,8 @@ extension OAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1253,9 +1238,8 @@ extension OAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSOSIS/Sources/AWSOSIS/OSISClient.swift b/Sources/Services/AWSOSIS/Sources/AWSOSIS/OSISClient.swift index 3f243e522b1..df97e89ab12 100644 --- a/Sources/Services/AWSOSIS/Sources/AWSOSIS/OSISClient.swift +++ b/Sources/Services/AWSOSIS/Sources/AWSOSIS/OSISClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension OSISClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension OSISClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -378,9 +375,8 @@ extension OSISClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -449,9 +445,8 @@ extension OSISClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPipelineBlueprintInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -521,9 +516,8 @@ extension OSISClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPipelineChangeProgressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -592,9 +586,8 @@ extension OSISClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPipelineBlueprintsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -663,9 +656,8 @@ extension OSISClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPipelinesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -735,9 +727,8 @@ extension OSISClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -808,9 +799,8 @@ extension OSISClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartPipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -880,9 +870,8 @@ extension OSISClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopPipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -952,9 +941,8 @@ extension OSISClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1027,9 +1015,8 @@ extension OSISClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1103,9 +1090,8 @@ extension OSISClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1176,9 +1162,8 @@ extension OSISClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ValidatePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSOmics/Sources/AWSOmics/OmicsClient.swift b/Sources/Services/AWSOmics/Sources/AWSOmics/OmicsClient.swift index de56595c535..2028f11589f 100644 --- a/Sources/Services/AWSOmics/Sources/AWSOmics/OmicsClient.swift +++ b/Sources/Services/AWSOmics/Sources/AWSOmics/OmicsClient.swift @@ -34,7 +34,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -240,9 +239,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AbortMultipartReadSetUploadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -313,9 +311,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -385,9 +382,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteReadSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -459,9 +455,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelAnnotationImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -533,9 +528,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "workflows-")) @@ -604,9 +598,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelVariantImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -678,9 +671,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CompleteMultipartReadSetUploadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "storage-")) @@ -754,9 +746,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAnnotationStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -830,9 +821,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAnnotationStoreVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -907,9 +897,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMultipartReadSetUploadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -982,9 +971,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReferenceStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -1059,9 +1047,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.requestId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRunGroupInput.urlPathProvider(_:))) @@ -1135,9 +1122,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSequenceStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -1217,9 +1203,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -1293,9 +1278,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVariantStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -1370,9 +1354,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.requestId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkflowInput.urlPathProvider(_:))) @@ -1446,9 +1429,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAnnotationStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -1519,9 +1501,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAnnotationStoreVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -1596,9 +1577,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReferenceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -1669,9 +1649,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReferenceStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -1743,9 +1722,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "workflows-")) @@ -1817,9 +1795,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRunGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "workflows-")) @@ -1890,9 +1867,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSequenceStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -1963,9 +1939,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -2035,9 +2010,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVariantStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -2110,9 +2084,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "workflows-")) @@ -2181,9 +2154,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAnnotationImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -2252,9 +2224,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAnnotationStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -2323,9 +2294,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAnnotationStoreVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -2397,9 +2367,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReadSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "storage-")) @@ -2470,9 +2439,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReadSetActivationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -2542,9 +2510,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReadSetExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -2614,9 +2581,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReadSetImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -2686,9 +2652,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReadSetMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -2759,9 +2724,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReferenceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "storage-")) @@ -2833,9 +2797,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReferenceImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -2905,9 +2868,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReferenceMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -2977,9 +2939,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReferenceStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -3051,9 +3012,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "workflows-")) @@ -3126,9 +3086,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRunGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "workflows-")) @@ -3200,9 +3159,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRunTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "workflows-")) @@ -3272,9 +3230,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSequenceStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -3345,9 +3302,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -3416,9 +3372,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVariantImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -3487,9 +3442,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVariantStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -3561,9 +3515,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "workflows-")) @@ -3633,9 +3586,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAnnotationImportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -3708,9 +3660,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAnnotationStoreVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -3783,9 +3734,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAnnotationStoresInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -3861,9 +3811,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMultipartReadSetUploadsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -3934,9 +3883,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReadSetActivationJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -4010,9 +3958,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReadSetExportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -4086,9 +4033,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReadSetImportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -4164,9 +4110,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReadSetUploadPartsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -4240,9 +4185,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReadSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -4316,9 +4260,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReferenceImportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -4391,9 +4334,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReferenceStoresInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -4467,9 +4409,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReferencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -4545,9 +4486,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRunGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "workflows-")) @@ -4620,9 +4560,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRunTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "workflows-")) @@ -4695,9 +4634,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "workflows-")) @@ -4767,9 +4705,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSequenceStoresInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -4844,9 +4781,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSharesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -4922,9 +4858,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "tags-")) @@ -4993,9 +4928,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVariantImportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -5068,9 +5002,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVariantStoresInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -5146,9 +5079,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkflowsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "workflows-")) @@ -5219,9 +5151,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartAnnotationImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -5295,9 +5226,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartReadSetActivationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -5371,9 +5301,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartReadSetExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -5447,9 +5376,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartReadSetImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -5523,9 +5451,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartReferenceImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "control-storage-")) @@ -5600,9 +5527,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.requestId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartRunInput.urlPathProvider(_:))) @@ -5676,9 +5602,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartVariantImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -5753,9 +5678,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "tags-")) @@ -5830,9 +5754,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "tags-")) @@ -5902,9 +5825,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAnnotationStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -5976,9 +5898,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAnnotationStoreVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -6053,9 +5974,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRunGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "workflows-")) @@ -6127,9 +6047,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVariantStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "analytics-")) @@ -6204,9 +6123,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "workflows-")) @@ -6281,9 +6199,8 @@ extension OmicsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UploadReadSetPartInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "storage-")) diff --git a/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/OpenSearchClient.swift b/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/OpenSearchClient.swift index 331d8bcbfcd..e3905753b0e 100644 --- a/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/OpenSearchClient.swift +++ b/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/OpenSearchClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptInboundConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -302,9 +300,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -375,9 +372,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -450,9 +446,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociatePackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -522,9 +517,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AuthorizeVpcEndpointAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -596,9 +590,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelDomainConfigChangeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -669,9 +662,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelServiceSoftwareUpdateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -745,9 +737,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -818,9 +809,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateOutboundConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -894,9 +884,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -969,9 +958,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVpcEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1044,9 +1032,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1114,9 +1101,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1182,9 +1168,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInboundConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1250,9 +1235,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOutboundConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1322,9 +1306,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1392,9 +1375,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVpcEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1462,9 +1444,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1532,9 +1513,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDomainAutoTunesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1605,9 +1585,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDomainChangeProgressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1676,9 +1655,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDomainConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1747,9 +1725,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDomainHealthInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1819,9 +1796,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDomainNodesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1888,9 +1864,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDomainsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1962,9 +1937,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDryRunProgressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2031,9 +2005,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInboundConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2106,9 +2079,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstanceTypeLimitsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2175,9 +2147,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOutboundConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2249,9 +2220,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePackagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2322,9 +2292,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReservedInstanceOfferingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2393,9 +2362,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReservedInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2464,9 +2432,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVpcEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2539,9 +2506,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DissociatePackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2610,9 +2576,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCompatibleVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2683,9 +2648,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2754,9 +2718,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDomainMaintenanceStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2826,9 +2789,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPackageVersionHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2898,9 +2860,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUpgradeHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2970,9 +2931,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUpgradeStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3042,9 +3002,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3113,9 +3072,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDomainMaintenancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3182,9 +3140,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDomainNamesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3254,9 +3211,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDomainsForPackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3325,9 +3281,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInstanceTypeDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3397,9 +3352,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPackagesForDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3469,9 +3423,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListScheduledActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3540,9 +3493,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3611,9 +3563,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3682,9 +3633,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVpcEndpointAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3752,9 +3702,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVpcEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3823,9 +3772,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVpcEndpointsForDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3896,9 +3844,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PurchaseReservedInstanceOfferingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3967,9 +3914,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectInboundConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4036,9 +3982,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4110,9 +4055,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RevokeVpcEndpointAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4184,9 +4128,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDomainMaintenanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4257,9 +4200,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartServiceSoftwareUpdateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4332,9 +4274,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4407,9 +4348,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDomainConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4482,9 +4422,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4558,9 +4497,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateScheduledActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4633,9 +4571,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVpcEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4708,9 +4645,8 @@ extension OpenSearchClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpgradeDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/OpenSearchServerlessClient.swift b/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/OpenSearchServerlessClient.swift index a542c13807a..79a5e722b16 100644 --- a/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/OpenSearchServerlessClient.swift +++ b/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/OpenSearchServerlessClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetCollectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -300,9 +298,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetEffectiveLifecyclePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -372,9 +369,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetLifecyclePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -444,9 +440,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetVpcEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -518,9 +513,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccessPolicyInput.urlPathProvider(_:))) @@ -594,9 +588,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCollectionInput.urlPathProvider(_:))) @@ -669,9 +662,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLifecyclePolicyInput.urlPathProvider(_:))) @@ -744,9 +736,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSecurityConfigInput.urlPathProvider(_:))) @@ -819,9 +810,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSecurityPolicyInput.urlPathProvider(_:))) @@ -894,9 +884,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVpcEndpointInput.urlPathProvider(_:))) @@ -969,9 +958,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccessPolicyInput.urlPathProvider(_:))) @@ -1044,9 +1032,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCollectionInput.urlPathProvider(_:))) @@ -1119,9 +1106,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLifecyclePolicyInput.urlPathProvider(_:))) @@ -1194,9 +1180,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSecurityConfigInput.urlPathProvider(_:))) @@ -1269,9 +1254,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSecurityPolicyInput.urlPathProvider(_:))) @@ -1344,9 +1328,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVpcEndpointInput.urlPathProvider(_:))) @@ -1418,9 +1401,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccessPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1490,9 +1472,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1561,9 +1542,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPoliciesStatsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1634,9 +1614,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSecurityConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1707,9 +1686,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSecurityPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1779,9 +1757,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccessPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1851,9 +1828,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCollectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1923,9 +1899,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLifecyclePoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1995,9 +1970,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSecurityConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2067,9 +2041,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSecurityPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2140,9 +2113,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2212,9 +2184,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVpcEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2287,9 +2258,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2361,9 +2331,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2435,9 +2404,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccessPolicyInput.urlPathProvider(_:))) @@ -2508,9 +2476,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccountSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2581,9 +2548,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCollectionInput.urlPathProvider(_:))) @@ -2657,9 +2623,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLifecyclePolicyInput.urlPathProvider(_:))) @@ -2732,9 +2697,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSecurityConfigInput.urlPathProvider(_:))) @@ -2808,9 +2772,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSecurityPolicyInput.urlPathProvider(_:))) @@ -2882,9 +2845,8 @@ extension OpenSearchServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVpcEndpointInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/OpsWorksClient.swift b/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/OpsWorksClient.swift index 9c6de635b68..4a7398dd9ad 100644 --- a/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/OpsWorksClient.swift +++ b/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/OpsWorksClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -236,9 +235,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssignInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -308,9 +306,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssignVolumeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -380,9 +377,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateElasticIpInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -452,9 +448,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachElasticLoadBalancerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -524,9 +519,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CloneStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -596,9 +590,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -668,9 +661,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -740,9 +732,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -812,9 +803,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLayerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -883,9 +873,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -954,9 +943,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1026,9 +1014,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1098,9 +1085,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1170,9 +1156,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLayerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1242,9 +1227,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1314,9 +1298,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1386,9 +1369,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterEcsClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1458,9 +1440,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterElasticIpInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1530,9 +1511,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1602,9 +1582,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterRdsDbInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1674,9 +1653,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterVolumeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1746,9 +1724,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAgentVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1818,9 +1795,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAppsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1890,9 +1866,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCommandsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1962,9 +1937,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDeploymentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2034,9 +2008,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEcsClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2106,9 +2079,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeElasticIpsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2178,9 +2150,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeElasticLoadBalancersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2250,9 +2221,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2322,9 +2292,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLayersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2394,9 +2363,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLoadBasedAutoScalingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2460,9 +2428,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMyUserProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2526,9 +2493,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOperatingSystemsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2598,9 +2564,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2670,9 +2635,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRaidArraysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2742,9 +2706,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRdsDbInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2814,9 +2777,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeServiceErrorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2886,9 +2848,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStackProvisioningParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2958,9 +2919,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStackSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3030,9 +2990,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStacksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3102,9 +3061,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTimeBasedAutoScalingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3174,9 +3132,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUserProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3246,9 +3203,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVolumesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3317,9 +3273,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachElasticLoadBalancerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3389,9 +3344,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateElasticIpInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3461,9 +3415,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetHostnameSuggestionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3533,9 +3486,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GrantAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3605,9 +3557,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3677,9 +3628,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RebootInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3749,9 +3699,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterEcsClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3821,9 +3770,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterElasticIpInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3893,9 +3841,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3965,9 +3912,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterRdsDbInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4037,9 +3983,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterVolumeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4109,9 +4054,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetLoadBasedAutoScalingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4181,9 +4125,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetPermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4253,9 +4196,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetTimeBasedAutoScalingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4325,9 +4267,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4397,9 +4338,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4469,9 +4409,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4541,9 +4480,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4613,9 +4551,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4685,9 +4622,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UnassignInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4757,9 +4693,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UnassignVolumeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4829,9 +4764,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4901,9 +4835,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4973,9 +4906,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateElasticIpInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5045,9 +4977,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5117,9 +5048,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLayerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5188,9 +5118,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMyUserProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5260,9 +5189,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRdsDbInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5332,9 +5260,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5404,9 +5331,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5476,9 +5402,8 @@ extension OpsWorksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVolumeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/OpsWorksCMClient.swift b/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/OpsWorksCMClient.swift index 8c36a89591e..e1fcdad4199 100644 --- a/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/OpsWorksCMClient.swift +++ b/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/OpsWorksCMClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension OpsWorksCMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateNodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -302,9 +300,8 @@ extension OpsWorksCMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBackupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -376,9 +373,8 @@ extension OpsWorksCMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -449,9 +445,8 @@ extension OpsWorksCMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBackupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -522,9 +517,8 @@ extension OpsWorksCMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -588,9 +582,8 @@ extension OpsWorksCMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -661,9 +654,8 @@ extension OpsWorksCMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBackupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -734,9 +726,8 @@ extension OpsWorksCMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -806,9 +797,8 @@ extension OpsWorksCMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNodeAssociationStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -879,9 +869,8 @@ extension OpsWorksCMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeServersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -952,9 +941,8 @@ extension OpsWorksCMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateNodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1025,9 +1013,8 @@ extension OpsWorksCMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportServerEngineAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1097,9 +1084,8 @@ extension OpsWorksCMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1170,9 +1156,8 @@ extension OpsWorksCMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1243,9 +1228,8 @@ extension OpsWorksCMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMaintenanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1316,9 +1300,8 @@ extension OpsWorksCMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1389,9 +1372,8 @@ extension OpsWorksCMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1462,9 +1444,8 @@ extension OpsWorksCMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1535,9 +1516,8 @@ extension OpsWorksCMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServerEngineAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift b/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift index 0434d618f24..3165ce63d9d 100644 --- a/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift +++ b/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -309,9 +308,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptHandshakeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -519,9 +517,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -645,9 +642,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelHandshakeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -855,9 +851,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CloseAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1068,9 +1063,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1299,9 +1293,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGovCloudAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1493,9 +1486,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1688,9 +1680,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateOrganizationalUnitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1885,9 +1876,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2011,9 +2001,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeclineHandshakeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2136,9 +2125,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2262,9 +2250,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOrganizationalUnitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2389,9 +2376,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2535,9 +2521,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2731,9 +2716,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterDelegatedAdministratorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2855,9 +2839,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2980,9 +2963,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCreateAccountStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3175,9 +3157,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEffectivePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3299,9 +3280,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeHandshakeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3374,9 +3354,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3498,9 +3477,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOrganizationalUnitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3623,9 +3601,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3768,9 +3745,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3966,9 +3942,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4169,9 +4144,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableAWSServiceAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4366,9 +4340,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisablePolicyTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4560,9 +4533,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableAWSServiceAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4703,9 +4675,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableAllFeaturesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4901,9 +4872,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnablePolicyTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5123,9 +5093,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InviteAccountToOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5341,9 +5310,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(LeaveOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5534,9 +5502,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAWSServiceAccessForOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5657,9 +5624,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5781,9 +5747,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccountsForParentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5905,9 +5870,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChildrenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6029,9 +5993,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCreateAccountStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6222,9 +6185,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDelegatedAdministratorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6417,9 +6379,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDelegatedServicesForAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6540,9 +6501,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHandshakesForAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6664,9 +6624,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHandshakesForOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6788,9 +6747,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOrganizationalUnitsForParentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6912,9 +6870,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListParentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7036,9 +6993,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7161,9 +7117,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPoliciesForTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7284,9 +7239,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRootsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7419,9 +7373,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7544,9 +7497,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTargetsForPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7672,9 +7624,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(MoveAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7866,9 +7817,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8062,9 +8012,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterDelegatedAdministratorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8263,9 +8212,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveAccountFromOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8468,9 +8416,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8673,9 +8620,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8799,9 +8745,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateOrganizationalUnitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8997,9 +8942,8 @@ extension OrganizationsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSOutposts/Sources/AWSOutposts/OutpostsClient.swift b/Sources/Services/AWSOutposts/Sources/AWSOutposts/OutpostsClient.swift index f300059e657..45b9348ea79 100644 --- a/Sources/Services/AWSOutposts/Sources/AWSOutposts/OutpostsClient.swift +++ b/Sources/Services/AWSOutposts/Sources/AWSOutposts/OutpostsClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelCapacityTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -302,9 +300,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelOrderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -374,9 +371,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateOrderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -449,9 +445,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateOutpostInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -523,9 +518,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSiteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -597,9 +591,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOutpostInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -668,9 +661,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSiteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -738,9 +730,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCapacityTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -807,9 +798,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCatalogItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -877,9 +867,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -946,9 +935,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOrderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1016,9 +1004,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOutpostInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1086,9 +1073,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOutpostInstanceTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1157,9 +1143,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOutpostSupportedInstanceTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1228,9 +1213,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSiteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1298,9 +1282,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSiteAddressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1369,9 +1352,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1440,9 +1422,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCapacityTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1510,9 +1491,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCatalogItemsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1581,9 +1561,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOrdersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1651,9 +1630,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOutpostsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1721,9 +1699,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSitesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1791,9 +1768,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1862,9 +1838,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartCapacityTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1935,9 +1910,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2007,9 +1981,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2079,9 +2052,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2151,9 +2123,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateOutpostInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2225,9 +2196,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSiteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2299,9 +2269,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSiteAddressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2373,9 +2342,8 @@ extension OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSiteRackPhysicalPropertiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSPCS/Sources/AWSPCS/PCSClient.swift b/Sources/Services/AWSPCS/Sources/AWSPCS/PCSClient.swift index dcac9827565..9c02aa94da8 100644 --- a/Sources/Services/AWSPCS/Sources/AWSPCS/PCSClient.swift +++ b/Sources/Services/AWSPCS/Sources/AWSPCS/PCSClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -262,9 +261,8 @@ extension PCSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClusterInput.urlPathProvider(_:))) @@ -370,9 +368,8 @@ extension PCSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateComputeNodeGroupInput.urlPathProvider(_:))) @@ -478,9 +475,8 @@ extension PCSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateQueueInput.urlPathProvider(_:))) @@ -579,9 +575,8 @@ extension PCSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClusterInput.urlPathProvider(_:))) @@ -680,9 +675,8 @@ extension PCSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteComputeNodeGroupInput.urlPathProvider(_:))) @@ -781,9 +775,8 @@ extension PCSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteQueueInput.urlPathProvider(_:))) @@ -882,9 +875,8 @@ extension PCSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -982,9 +974,8 @@ extension PCSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetComputeNodeGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1082,9 +1073,8 @@ extension PCSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1182,9 +1172,8 @@ extension PCSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1282,9 +1271,8 @@ extension PCSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListComputeNodeGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1382,9 +1370,8 @@ extension PCSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQueuesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1453,9 +1440,8 @@ extension PCSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1533,9 +1519,8 @@ extension PCSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterComputeNodeGroupInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1604,9 +1589,8 @@ extension PCSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1675,9 +1659,8 @@ extension PCSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1782,9 +1765,8 @@ extension PCSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateComputeNodeGroupInput.urlPathProvider(_:))) @@ -1890,9 +1872,8 @@ extension PCSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateQueueInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSPI/Sources/AWSPI/PIClient.swift b/Sources/Services/AWSPI/Sources/AWSPI/PIClient.swift index 6ff57a24f78..9f1fe973e3c 100644 --- a/Sources/Services/AWSPI/Sources/AWSPI/PIClient.swift +++ b/Sources/Services/AWSPI/Sources/AWSPI/PIClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension PIClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePerformanceAnalysisReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -302,9 +300,8 @@ extension PIClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePerformanceAnalysisReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -375,9 +372,8 @@ extension PIClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDimensionKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -448,9 +444,8 @@ extension PIClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDimensionKeyDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -521,9 +516,8 @@ extension PIClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPerformanceAnalysisReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -594,9 +588,8 @@ extension PIClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourceMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -667,9 +660,8 @@ extension PIClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourceMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -740,9 +732,8 @@ extension PIClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAvailableResourceDimensionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -813,9 +804,8 @@ extension PIClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAvailableResourceMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -886,9 +876,8 @@ extension PIClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPerformanceAnalysisReportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -959,9 +948,8 @@ extension PIClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1032,9 +1020,8 @@ extension PIClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1105,9 +1092,8 @@ extension PIClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSPanorama/Sources/AWSPanorama/PanoramaClient.swift b/Sources/Services/AWSPanorama/Sources/AWSPanorama/PanoramaClient.swift index f49a2d52f68..4c81347ddc8 100644 --- a/Sources/Services/AWSPanorama/Sources/AWSPanorama/PanoramaClient.swift +++ b/Sources/Services/AWSPanorama/Sources/AWSPanorama/PanoramaClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -304,9 +302,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateJobForDevicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -377,9 +374,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNodeFromTemplateJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -450,9 +446,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -523,9 +518,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePackageImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -597,9 +591,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -668,9 +661,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -740,9 +732,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterPackageVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -812,9 +803,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeApplicationInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -883,9 +873,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeApplicationInstanceDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -953,9 +942,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1024,9 +1012,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDeviceJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1095,9 +1082,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1166,9 +1152,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNodeFromTemplateJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1237,9 +1222,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1307,9 +1291,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePackageImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1378,9 +1361,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePackageVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1447,9 +1429,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationInstanceDependenciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1516,9 +1497,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationInstanceNodeInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1585,9 +1565,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1656,9 +1635,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDevicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1728,9 +1706,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDevicesJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1799,9 +1776,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNodeFromTemplateJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1869,9 +1845,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNodesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1940,9 +1915,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPackageImportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2012,9 +1986,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPackagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2082,9 +2055,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2153,9 +2125,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ProvisionDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2226,9 +2197,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterPackageVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2300,9 +2270,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveApplicationInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2370,9 +2339,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SignalApplicationInstanceNodeInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2442,9 +2410,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2514,9 +2481,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2586,9 +2552,8 @@ extension PanoramaClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDeviceMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/PaymentCryptographyClient.swift b/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/PaymentCryptographyClient.swift index b7d7e9db513..398ef2f9f62 100644 --- a/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/PaymentCryptographyClient.swift +++ b/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/PaymentCryptographyClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -242,9 +241,8 @@ extension PaymentCryptographyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -326,9 +324,8 @@ extension PaymentCryptographyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -411,9 +408,8 @@ extension PaymentCryptographyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -494,9 +490,8 @@ extension PaymentCryptographyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -608,9 +603,8 @@ extension PaymentCryptographyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -692,9 +686,8 @@ extension PaymentCryptographyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -774,9 +767,8 @@ extension PaymentCryptographyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -856,9 +848,8 @@ extension PaymentCryptographyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetParametersForExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -938,9 +929,8 @@ extension PaymentCryptographyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetParametersForImportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1014,9 +1004,8 @@ extension PaymentCryptographyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPublicKeyCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1142,9 +1131,8 @@ extension PaymentCryptographyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1226,9 +1214,8 @@ extension PaymentCryptographyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAliasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1308,9 +1295,8 @@ extension PaymentCryptographyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1388,9 +1374,8 @@ extension PaymentCryptographyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1472,9 +1457,8 @@ extension PaymentCryptographyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1552,9 +1536,8 @@ extension PaymentCryptographyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartKeyUsageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1634,9 +1617,8 @@ extension PaymentCryptographyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopKeyUsageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1716,9 +1698,8 @@ extension PaymentCryptographyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1797,9 +1778,8 @@ extension PaymentCryptographyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1882,9 +1862,8 @@ extension PaymentCryptographyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift b/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift index f8a0ca224a2..14372f4db2d 100644 --- a/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift +++ b/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -235,9 +234,8 @@ extension PaymentCryptographyDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DecryptDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -317,9 +315,8 @@ extension PaymentCryptographyDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EncryptDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -395,9 +392,8 @@ extension PaymentCryptographyDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateCardValidationDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -471,9 +467,8 @@ extension PaymentCryptographyDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateMacInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -551,9 +546,8 @@ extension PaymentCryptographyDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GeneratePinDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -633,9 +627,8 @@ extension PaymentCryptographyDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReEncryptDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -711,9 +704,8 @@ extension PaymentCryptographyDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TranslatePinDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -790,9 +782,8 @@ extension PaymentCryptographyDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(VerifyAuthRequestCryptogramInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -871,9 +862,8 @@ extension PaymentCryptographyDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(VerifyCardValidationDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -948,9 +938,8 @@ extension PaymentCryptographyDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(VerifyMacInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1027,9 +1016,8 @@ extension PaymentCryptographyDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(VerifyPinDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/PcaConnectorAdClient.swift b/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/PcaConnectorAdClient.swift index f75ce4423d8..f2cd3c1c7d2 100644 --- a/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/PcaConnectorAdClient.swift +++ b/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/PcaConnectorAdClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConnectorInput.urlPathProvider(_:))) @@ -309,9 +307,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDirectoryRegistrationInput.urlPathProvider(_:))) @@ -385,9 +382,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServicePrincipalNameInput.urlPathProvider(_:))) @@ -462,9 +458,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTemplateInput.urlPathProvider(_:))) @@ -539,9 +534,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTemplateGroupAccessControlEntryInput.urlPathProvider(_:))) @@ -615,9 +609,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -686,9 +679,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDirectoryRegistrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -757,9 +749,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServicePrincipalNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -829,9 +820,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -901,9 +891,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTemplateGroupAccessControlEntryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -972,9 +961,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1043,9 +1031,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDirectoryRegistrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1114,9 +1101,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServicePrincipalNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1185,9 +1171,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1256,9 +1241,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTemplateGroupAccessControlEntryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1326,9 +1310,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConnectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1397,9 +1380,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDirectoryRegistrationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1469,9 +1451,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServicePrincipalNamesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1541,9 +1522,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1612,9 +1592,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTemplateGroupAccessControlEntriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1684,9 +1663,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1756,9 +1734,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1830,9 +1807,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1903,9 +1879,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1978,9 +1953,8 @@ extension PcaConnectorAdClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTemplateGroupAccessControlEntryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/PcaConnectorScepClient.swift b/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/PcaConnectorScepClient.swift index 9bf46fb2067..58585c91a78 100644 --- a/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/PcaConnectorScepClient.swift +++ b/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/PcaConnectorScepClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension PcaConnectorScepClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateChallengeInput.urlPathProvider(_:))) @@ -311,9 +309,8 @@ extension PcaConnectorScepClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConnectorInput.urlPathProvider(_:))) @@ -387,9 +384,8 @@ extension PcaConnectorScepClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChallengeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -459,9 +455,8 @@ extension PcaConnectorScepClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -530,9 +525,8 @@ extension PcaConnectorScepClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetChallengeMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -601,9 +595,8 @@ extension PcaConnectorScepClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetChallengePasswordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -672,9 +665,8 @@ extension PcaConnectorScepClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -743,9 +735,8 @@ extension PcaConnectorScepClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChallengeMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -814,9 +805,8 @@ extension PcaConnectorScepClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConnectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -886,9 +876,8 @@ extension PcaConnectorScepClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -957,9 +946,8 @@ extension PcaConnectorScepClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1031,9 +1019,8 @@ extension PcaConnectorScepClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/PersonalizeClient.swift b/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/PersonalizeClient.swift index 6e744f8df31..25f3f717882 100644 --- a/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/PersonalizeClient.swift +++ b/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/PersonalizeClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBatchInferenceJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBatchSegmentJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -398,9 +395,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCampaignInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -490,9 +486,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataDeletionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -594,9 +589,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -675,9 +669,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDatasetExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -784,9 +777,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDatasetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -869,9 +861,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDatasetImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -958,9 +949,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEventTrackerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1033,9 +1023,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1108,9 +1097,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMetricAttributionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1201,9 +1189,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRecommenderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1280,9 +1267,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1380,9 +1366,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSolutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1483,9 +1468,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSolutionVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1556,9 +1540,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCampaignInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1629,9 +1612,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1708,9 +1690,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDatasetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1781,9 +1762,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEventTrackerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1854,9 +1834,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1927,9 +1906,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMetricAttributionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2000,9 +1978,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRecommenderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2073,9 +2050,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2146,9 +2122,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSolutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2218,9 +2193,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAlgorithmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2290,9 +2264,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBatchInferenceJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2362,9 +2335,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBatchSegmentJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2441,9 +2413,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCampaignInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2513,9 +2484,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDataDeletionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2585,9 +2555,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2657,9 +2626,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDatasetExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2729,9 +2697,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDatasetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2801,9 +2768,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDatasetImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2873,9 +2839,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventTrackerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2945,9 +2910,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFeatureTransformationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3017,9 +2981,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3089,9 +3052,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMetricAttributionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3170,9 +3132,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRecipeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3251,9 +3212,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRecommenderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3323,9 +3283,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3395,9 +3354,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSolutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3467,9 +3425,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSolutionVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3540,9 +3497,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSolutionMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3612,9 +3568,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBatchInferenceJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3684,9 +3639,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBatchSegmentJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3756,9 +3710,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCampaignsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3828,9 +3781,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataDeletionJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3900,9 +3852,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatasetExportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3971,9 +3922,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatasetGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4043,9 +3993,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatasetImportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4115,9 +4064,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatasetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4187,9 +4135,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEventTrackersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4259,9 +4206,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFiltersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4331,9 +4277,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMetricAttributionMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4403,9 +4348,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMetricAttributionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4475,9 +4419,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecipesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4547,9 +4490,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecommendersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4618,9 +4560,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSchemasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4691,9 +4632,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSolutionVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4763,9 +4703,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSolutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4836,9 +4775,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4909,9 +4847,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartRecommenderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4982,9 +4919,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopRecommenderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5062,9 +4998,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopSolutionVersionCreationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5137,9 +5072,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5211,9 +5145,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5291,9 +5224,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCampaignInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5364,9 +5296,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5438,9 +5369,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMetricAttributionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5511,9 +5441,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRecommenderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5585,9 +5514,8 @@ extension PersonalizeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSolutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/PersonalizeEventsClient.swift b/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/PersonalizeEventsClient.swift index 1b32bcc96d9..c1c36bd59a6 100644 --- a/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/PersonalizeEventsClient.swift +++ b/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/PersonalizeEventsClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -227,9 +226,8 @@ extension PersonalizeEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutActionInteractionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -299,9 +297,8 @@ extension PersonalizeEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -369,9 +366,8 @@ extension PersonalizeEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -441,9 +437,8 @@ extension PersonalizeEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutItemsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -513,9 +508,8 @@ extension PersonalizeEventsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/PersonalizeRuntimeClient.swift b/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/PersonalizeRuntimeClient.swift index 26ba4e7e9f0..3b34e688bb9 100644 --- a/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/PersonalizeRuntimeClient.swift +++ b/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/PersonalizeRuntimeClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -226,9 +225,8 @@ extension PersonalizeRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetActionRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -297,9 +295,8 @@ extension PersonalizeRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPersonalizedRankingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -375,9 +372,8 @@ extension PersonalizeRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/PinpointClient.swift b/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/PinpointClient.swift index 90bc389e358..679661395ff 100644 --- a/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/PinpointClient.swift +++ b/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/PinpointClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -309,9 +307,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCampaignInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -383,9 +380,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEmailTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -459,9 +455,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -535,9 +530,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -609,9 +603,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInAppTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -685,9 +678,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateJourneyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -759,9 +751,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePushTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -835,9 +826,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRecommenderConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -911,9 +901,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSegmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -985,9 +974,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSmsTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1059,9 +1047,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVoiceTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1135,9 +1122,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAdmChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1208,9 +1194,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApnsChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1281,9 +1266,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApnsSandboxChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1354,9 +1338,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApnsVoipChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1427,9 +1410,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApnsVoipSandboxChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1500,9 +1482,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1573,9 +1554,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBaiduChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1646,9 +1626,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCampaignInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1719,9 +1698,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEmailChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1792,9 +1770,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEmailTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1866,9 +1843,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1939,9 +1915,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEventStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2012,9 +1987,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGcmChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2085,9 +2059,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInAppTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2159,9 +2132,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteJourneyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2232,9 +2204,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePushTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2306,9 +2277,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRecommenderConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2379,9 +2349,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSegmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2452,9 +2421,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSmsChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2525,9 +2493,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSmsTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2599,9 +2566,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2672,9 +2638,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVoiceChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2745,9 +2710,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVoiceTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2819,9 +2783,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAdmChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2892,9 +2855,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApnsChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2965,9 +2927,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApnsSandboxChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3038,9 +2999,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApnsVoipChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3111,9 +3071,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApnsVoipSandboxChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3184,9 +3143,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3257,9 +3215,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApplicationDateRangeKpiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3331,9 +3288,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApplicationSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3404,9 +3360,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAppsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3478,9 +3433,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBaiduChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3551,9 +3505,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCampaignInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3624,9 +3577,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCampaignActivitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3698,9 +3650,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCampaignDateRangeKpiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3772,9 +3723,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCampaignVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3845,9 +3795,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCampaignVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3919,9 +3868,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCampaignsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3993,9 +3941,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetChannelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4066,9 +4013,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEmailChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4139,9 +4085,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEmailTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4213,9 +4158,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4286,9 +4230,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEventStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4359,9 +4302,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4432,9 +4374,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetExportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4506,9 +4447,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGcmChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4579,9 +4519,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4652,9 +4591,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetImportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4726,9 +4664,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInAppMessagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4799,9 +4736,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInAppTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4873,9 +4809,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJourneyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4946,9 +4881,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJourneyDateRangeKpiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5020,9 +4954,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJourneyExecutionActivityMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5094,9 +5027,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJourneyExecutionMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5168,9 +5100,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJourneyRunExecutionActivityMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5242,9 +5173,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJourneyRunExecutionMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5316,9 +5246,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJourneyRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5390,9 +5319,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPushTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5464,9 +5392,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRecommenderConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5537,9 +5464,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRecommenderConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5611,9 +5537,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSegmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5684,9 +5609,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSegmentExportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5758,9 +5682,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSegmentImportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5832,9 +5755,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSegmentVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5905,9 +5827,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSegmentVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5979,9 +5900,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSegmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6053,9 +5973,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSmsChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6126,9 +6045,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSmsTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6200,9 +6118,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUserEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6273,9 +6190,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6346,9 +6262,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVoiceTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6420,9 +6335,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJourneysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6483,9 +6397,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6556,9 +6469,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTemplateVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6628,9 +6540,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6702,9 +6613,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PhoneNumberValidateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6778,9 +6688,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutEventStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6854,9 +6763,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6930,9 +6838,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7006,9 +6913,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendMessagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7082,9 +6988,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendOTPMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7158,9 +7063,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendUsersMessagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7223,9 +7127,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7288,9 +7191,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7362,9 +7264,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAdmChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7438,9 +7339,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApnsChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7514,9 +7414,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApnsSandboxChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7590,9 +7489,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApnsVoipChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7666,9 +7564,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApnsVoipSandboxChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7742,9 +7639,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7818,9 +7714,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBaiduChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7894,9 +7789,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCampaignInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7970,9 +7864,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEmailChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8046,9 +7939,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEmailTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8123,9 +8015,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8199,9 +8090,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEndpointsBatchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8275,9 +8165,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGcmChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8351,9 +8240,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateInAppTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8429,9 +8317,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateJourneyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8505,9 +8392,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateJourneyStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8581,9 +8467,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePushTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8658,9 +8543,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRecommenderConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8734,9 +8618,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSegmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8810,9 +8693,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSmsChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8886,9 +8768,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSmsTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8963,9 +8844,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTemplateActiveVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9039,9 +8919,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVoiceChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9115,9 +8994,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVoiceTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9192,9 +9070,8 @@ extension PinpointClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(VerifyOTPMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/PinpointEmailClient.swift b/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/PinpointEmailClient.swift index c925ff5f350..e81f94f8381 100644 --- a/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/PinpointEmailClient.swift +++ b/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/PinpointEmailClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConfigurationSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConfigurationSetEventDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -380,9 +377,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDedicatedIpPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -458,9 +454,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDeliverabilityTestReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -531,9 +526,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEmailIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -604,9 +598,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfigurationSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -673,9 +666,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfigurationSetEventDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -743,9 +735,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDedicatedIpPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -813,9 +804,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEmailIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -881,9 +871,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -950,9 +939,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBlacklistReportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1020,9 +1008,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConfigurationSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1089,9 +1076,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConfigurationSetEventDestinationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1158,9 +1144,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDedicatedIpInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1227,9 +1212,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDedicatedIpsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1297,9 +1281,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeliverabilityDashboardOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1366,9 +1349,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeliverabilityTestReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1435,9 +1417,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDomainDeliverabilityCampaignInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1504,9 +1485,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDomainStatisticsReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1574,9 +1554,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEmailIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1642,9 +1621,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConfigurationSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1711,9 +1689,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDedicatedIpPoolsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1781,9 +1758,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeliverabilityTestReportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1851,9 +1827,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDomainDeliverabilityCampaignsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1920,9 +1895,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEmailIdentitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1990,9 +1964,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2059,9 +2032,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAccountDedicatedIpWarmupAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2130,9 +2102,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAccountSendingAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2202,9 +2173,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutConfigurationSetDeliveryOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2274,9 +2244,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutConfigurationSetReputationOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2346,9 +2315,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutConfigurationSetSendingOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2418,9 +2386,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutConfigurationSetTrackingOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2490,9 +2457,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDedicatedIpInPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2562,9 +2528,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDedicatedIpWarmupAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2636,9 +2601,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDeliverabilityDashboardOptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2708,9 +2672,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutEmailIdentityDkimAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2780,9 +2743,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutEmailIdentityFeedbackAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2852,9 +2814,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutEmailIdentityMailFromAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2933,9 +2894,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendEmailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3006,9 +2966,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3079,9 +3038,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3149,9 +3107,8 @@ extension PinpointEmailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConfigurationSetEventDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/PinpointSMSVoiceClient.swift b/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/PinpointSMSVoiceClient.swift index cb34286e9f2..6cf8264097b 100644 --- a/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/PinpointSMSVoiceClient.swift +++ b/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/PinpointSMSVoiceClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension PinpointSMSVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConfigurationSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension PinpointSMSVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConfigurationSetEventDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -378,9 +375,8 @@ extension PinpointSMSVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfigurationSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -448,9 +444,8 @@ extension PinpointSMSVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfigurationSetEventDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -518,9 +513,8 @@ extension PinpointSMSVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConfigurationSetEventDestinationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -587,9 +581,8 @@ extension PinpointSMSVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConfigurationSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -657,9 +650,8 @@ extension PinpointSMSVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendVoiceMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -730,9 +722,8 @@ extension PinpointSMSVoiceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConfigurationSetEventDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/PinpointSMSVoiceV2Client.swift b/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/PinpointSMSVoiceV2Client.swift index 1bff2b86a7a..7c58c2d9850 100644 --- a/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/PinpointSMSVoiceV2Client.swift +++ b/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/PinpointSMSVoiceV2Client.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateOriginationIdentityInput.urlPathProvider(_:))) @@ -311,9 +309,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateProtectConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -387,9 +384,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConfigurationSetInput.urlPathProvider(_:))) @@ -465,9 +461,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEventDestinationInput.urlPathProvider(_:))) @@ -542,9 +537,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateOptOutListInput.urlPathProvider(_:))) @@ -620,9 +614,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePoolInput.urlPathProvider(_:))) @@ -696,9 +689,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProtectConfigurationInput.urlPathProvider(_:))) @@ -773,9 +765,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRegistrationInput.urlPathProvider(_:))) @@ -851,9 +842,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRegistrationAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -927,9 +917,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRegistrationAttachmentInput.urlPathProvider(_:))) @@ -1005,9 +994,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRegistrationVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1081,9 +1069,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVerifiedDestinationNumberInput.urlPathProvider(_:))) @@ -1157,9 +1144,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccountDefaultProtectConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1232,9 +1218,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfigurationSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1307,9 +1292,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDefaultMessageTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1382,9 +1366,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDefaultSenderIdInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1457,9 +1440,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEventDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1533,9 +1515,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteKeywordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1607,9 +1588,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMediaMessageSpendLimitOverrideInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1683,9 +1663,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOptOutListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1759,9 +1738,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOptedOutNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1835,9 +1813,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1911,9 +1888,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProtectConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1987,9 +1963,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRegistrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2063,9 +2038,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRegistrationAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2139,9 +2113,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRegistrationFieldValueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2213,9 +2186,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTextMessageSpendLimitOverrideInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2289,9 +2261,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVerifiedDestinationNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2363,9 +2334,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVoiceMessageSpendLimitOverrideInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2437,9 +2407,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2511,9 +2480,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountLimitsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2586,9 +2554,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConfigurationSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2661,9 +2628,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeKeywordsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2736,9 +2702,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOptOutListsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2811,9 +2776,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOptedOutNumbersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2886,9 +2850,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePhoneNumbersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2961,9 +2924,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePoolsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3036,9 +2998,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProtectConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3111,9 +3072,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRegistrationAttachmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3185,9 +3145,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRegistrationFieldDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3260,9 +3219,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRegistrationFieldValuesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3334,9 +3292,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRegistrationSectionDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3408,9 +3365,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRegistrationTypeDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3483,9 +3439,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRegistrationVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3558,9 +3513,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRegistrationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3633,9 +3587,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSenderIdsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3707,9 +3660,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSpendLimitsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3782,9 +3734,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVerifiedDestinationNumbersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3858,9 +3809,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateOriginationIdentityInput.urlPathProvider(_:))) @@ -3935,9 +3885,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateProtectConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4011,9 +3960,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DiscardRegistrationVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4086,9 +4034,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProtectConfigurationCountryRuleSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4161,9 +4108,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPoolOriginationIdentitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4236,9 +4182,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRegistrationAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4311,9 +4256,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4388,9 +4332,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutKeywordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4463,9 +4406,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutOptedOutNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4539,9 +4481,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRegistrationFieldValueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4615,9 +4556,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReleasePhoneNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4691,9 +4631,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReleaseSenderIdInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4768,9 +4707,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(RequestPhoneNumberInput.urlPathProvider(_:))) @@ -4845,9 +4783,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(RequestSenderIdInput.urlPathProvider(_:))) @@ -4923,9 +4860,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendDestinationNumberVerificationCodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5000,9 +4936,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendMediaMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5077,9 +5012,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendTextMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5154,9 +5088,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendVoiceMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5229,9 +5162,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetAccountDefaultProtectConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5304,9 +5236,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetDefaultMessageTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5379,9 +5310,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetDefaultSenderIdInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5453,9 +5383,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetMediaMessageSpendLimitOverrideInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5527,9 +5456,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetTextMessageSpendLimitOverrideInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5601,9 +5529,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetVoiceMessageSpendLimitOverrideInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5677,9 +5604,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SubmitRegistrationVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5753,9 +5679,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5828,9 +5753,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5904,9 +5828,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEventDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5980,9 +5903,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePhoneNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6056,9 +5978,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6131,9 +6052,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProtectConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6206,9 +6126,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProtectConfigurationCountryRuleSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6281,9 +6200,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSenderIdInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6357,9 +6275,8 @@ extension PinpointSMSVoiceV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(VerifyDestinationNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSPipes/Sources/AWSPipes/PipesClient.swift b/Sources/Services/AWSPipes/Sources/AWSPipes/PipesClient.swift index eca129875b8..ccd5a9c0179 100644 --- a/Sources/Services/AWSPipes/Sources/AWSPipes/PipesClient.swift +++ b/Sources/Services/AWSPipes/Sources/AWSPipes/PipesClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension PipesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePipeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension PipesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePipeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -376,9 +373,8 @@ extension PipesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePipeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -445,9 +441,8 @@ extension PipesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPipesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -515,9 +510,8 @@ extension PipesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -586,9 +580,8 @@ extension PipesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartPipeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -657,9 +650,8 @@ extension PipesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopPipeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -726,9 +718,8 @@ extension PipesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -798,9 +789,8 @@ extension PipesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -870,9 +860,8 @@ extension PipesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePipeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSPolly/Sources/AWSPolly/Models.swift b/Sources/Services/AWSPolly/Sources/AWSPolly/Models.swift index da3749ebf6a..9a2d746cdcc 100644 --- a/Sources/Services/AWSPolly/Sources/AWSPolly/Models.swift +++ b/Sources/Services/AWSPolly/Sources/AWSPolly/Models.swift @@ -30,8 +30,6 @@ import enum SmithyReadWrite.ReaderError @_spi(SmithyTimestamps) import enum SmithyTimestamps.TimestampFormat import protocol AWSClientRuntime.AWSServiceError import protocol ClientRuntime.HTTPError -import protocol ClientRuntime.HttpInterceptor -import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.ModeledError import protocol Smithy.RequestMessageSerializer @_spi(SmithyReadWrite) import protocol SmithyReadWrite.SmithyReader @@ -2590,9 +2588,8 @@ extension SynthesizeSpeechInput { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SynthesizeSpeechInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2705,9 +2702,8 @@ extension SynthesizeSpeechInput { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SynthesizeSpeechInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift b/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift index 04921384339..6947abc172c 100644 --- a/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift +++ b/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift @@ -36,7 +36,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension PollyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLexiconInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -301,9 +299,8 @@ extension PollyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVoicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -370,9 +367,8 @@ extension PollyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLexiconInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -439,9 +435,8 @@ extension PollyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSpeechSynthesisTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -507,9 +502,8 @@ extension PollyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLexiconsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -576,9 +570,8 @@ extension PollyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSpeechSynthesisTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -650,9 +643,8 @@ extension PollyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutLexiconInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -731,9 +723,8 @@ extension PollyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSpeechSynthesisTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -809,9 +800,8 @@ extension PollyClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SynthesizeSpeechInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSPricing/Sources/AWSPricing/PricingClient.swift b/Sources/Services/AWSPricing/Sources/AWSPricing/PricingClient.swift index cfd9ba8dc63..32cc94199c9 100644 --- a/Sources/Services/AWSPricing/Sources/AWSPricing/PricingClient.swift +++ b/Sources/Services/AWSPricing/Sources/AWSPricing/PricingClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension PricingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeServicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -308,9 +306,8 @@ extension PricingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAttributeValuesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -384,9 +381,8 @@ extension PricingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPriceListFileUrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -460,9 +456,8 @@ extension PricingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProductsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -538,9 +533,8 @@ extension PricingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPriceListsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/PrivateNetworksClient.swift b/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/PrivateNetworksClient.swift index 49da722fd70..49804c2e54a 100644 --- a/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/PrivateNetworksClient.swift +++ b/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/PrivateNetworksClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcknowledgeOrderReceiptInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -300,9 +298,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ActivateDeviceIdentifierInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -372,9 +369,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ActivateNetworkSiteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -444,9 +440,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConfigureAccessPointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -516,9 +511,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNetworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -588,9 +582,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNetworkSiteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -660,9 +653,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeactivateDeviceIdentifierInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -733,9 +725,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNetworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -804,9 +795,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNetworkSiteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -874,9 +864,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeviceIdentifierInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -943,9 +932,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetNetworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1012,9 +1000,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetNetworkResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1081,9 +1068,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetNetworkSiteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1150,9 +1136,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOrderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1219,9 +1204,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeviceIdentifiersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1291,9 +1275,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNetworkResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1363,9 +1346,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNetworkSitesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1435,9 +1417,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNetworksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1507,9 +1488,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOrdersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1581,9 +1561,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1648,9 +1627,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1726,9 +1704,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartNetworkResourceUpdateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1800,9 +1777,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1874,9 +1850,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1944,9 +1919,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNetworkSiteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2016,9 +1990,8 @@ extension PrivateNetworksClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNetworkSitePlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSProton/Sources/AWSProton/ProtonClient.swift b/Sources/Services/AWSProton/Sources/AWSProton/ProtonClient.swift index faa95d31882..c79f117ac68 100644 --- a/Sources/Services/AWSProton/Sources/AWSProton/ProtonClient.swift +++ b/Sources/Services/AWSProton/Sources/AWSProton/ProtonClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptEnvironmentAccountConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -308,9 +306,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelComponentDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -390,9 +387,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelEnvironmentDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -472,9 +468,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelServiceInstanceDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -554,9 +549,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelServicePipelineDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -631,9 +625,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateComponentInput.urlPathProvider(_:))) @@ -716,9 +709,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -792,9 +784,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEnvironmentAccountConnectionInput.urlPathProvider(_:))) @@ -873,9 +864,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEnvironmentTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -950,9 +940,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEnvironmentTemplateVersionInput.urlPathProvider(_:))) @@ -1027,9 +1016,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1104,9 +1092,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1180,9 +1167,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServiceInstanceInput.urlPathProvider(_:))) @@ -1257,9 +1243,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServiceSyncConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1333,9 +1318,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServiceTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1410,9 +1394,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServiceTemplateVersionInput.urlPathProvider(_:))) @@ -1487,9 +1470,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTemplateSyncConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1563,9 +1545,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1638,9 +1619,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1714,9 +1694,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1790,9 +1769,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEnvironmentAccountConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1866,9 +1844,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEnvironmentTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1942,9 +1919,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEnvironmentTemplateVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2018,9 +1994,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2094,9 +2069,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2170,9 +2144,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServiceSyncConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2246,9 +2219,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServiceTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2322,9 +2294,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServiceTemplateVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2398,9 +2369,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTemplateSyncConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2473,9 +2443,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2548,9 +2517,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2623,9 +2591,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2698,9 +2665,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2773,9 +2739,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEnvironmentAccountConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2848,9 +2813,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEnvironmentTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2923,9 +2887,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEnvironmentTemplateVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2998,9 +2961,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3073,9 +3035,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRepositorySyncStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3147,9 +3108,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcesSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3222,9 +3182,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3297,9 +3256,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3372,9 +3330,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceInstanceSyncStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3447,9 +3404,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceSyncBlockerSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3522,9 +3478,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceSyncConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3597,9 +3552,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3672,9 +3626,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceTemplateVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3747,9 +3700,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTemplateSyncConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3822,9 +3774,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTemplateSyncStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3897,9 +3848,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListComponentOutputsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3972,9 +3922,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListComponentProvisionedResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4046,9 +3995,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListComponentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4121,9 +4069,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeploymentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4195,9 +4142,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnvironmentAccountConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4270,9 +4216,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnvironmentOutputsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4345,9 +4290,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnvironmentProvisionedResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4420,9 +4364,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnvironmentTemplateVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4494,9 +4437,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnvironmentTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4569,9 +4511,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnvironmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4644,9 +4585,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRepositoriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4718,9 +4658,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRepositorySyncDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4793,9 +4732,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServiceInstanceOutputsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4868,9 +4806,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServiceInstanceProvisionedResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4943,9 +4880,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServiceInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5018,9 +4954,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServicePipelineOutputsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5093,9 +5028,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServicePipelineProvisionedResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5168,9 +5102,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServiceTemplateVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5242,9 +5175,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServiceTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5316,9 +5248,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5391,9 +5322,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5468,9 +5398,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(NotifyResourceDeploymentStatusChangeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5544,9 +5473,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectEnvironmentAccountConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5620,9 +5548,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5696,9 +5623,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5771,9 +5697,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccountSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5848,9 +5773,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateComponentInput.urlPathProvider(_:))) @@ -5925,9 +5849,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6001,9 +5924,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEnvironmentAccountConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6077,9 +5999,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEnvironmentTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6153,9 +6074,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEnvironmentTemplateVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6230,9 +6150,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6306,9 +6225,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServiceInstanceInput.urlPathProvider(_:))) @@ -6383,9 +6301,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServicePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6459,9 +6376,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServiceSyncBlockerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6535,9 +6451,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServiceSyncConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6611,9 +6526,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServiceTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6687,9 +6601,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServiceTemplateVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6763,9 +6676,8 @@ extension ProtonClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTemplateSyncConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift b/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift index ca2ba0c1137..11bba4687a7 100644 --- a/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift +++ b/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -235,9 +234,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateLibraryItemReviewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -312,9 +310,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateQAppWithUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -389,9 +386,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLibraryItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -467,9 +463,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateQAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -544,9 +539,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLibraryItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -620,9 +614,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteQAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -698,9 +691,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateLibraryItemReviewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -774,9 +766,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateQAppFromUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -850,9 +841,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLibraryItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -924,9 +914,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -999,9 +988,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQAppSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1075,9 +1063,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportDocumentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1151,9 +1138,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLibraryItemsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1224,9 +1210,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQAppsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1297,9 +1282,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1368,9 +1352,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PredictQAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1445,9 +1428,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartQAppSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1522,9 +1504,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopQAppSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1598,9 +1579,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1672,9 +1652,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1746,9 +1725,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLibraryItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1823,9 +1801,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLibraryItemMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1900,9 +1877,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateQAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1977,9 +1953,8 @@ extension QAppsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateQAppSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift b/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift index 2580932f886..0d9a3f70b75 100644 --- a/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift +++ b/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift @@ -33,7 +33,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -236,9 +235,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteDocumentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -321,9 +319,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchPutDocumentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -398,9 +395,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ChatInput.urlPathProvider(_:))) @@ -476,9 +472,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ChatSyncInput.urlPathProvider(_:))) @@ -554,9 +549,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationInput.urlPathProvider(_:))) @@ -631,9 +625,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataSourceInput.urlPathProvider(_:))) @@ -708,9 +701,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIndexInput.urlPathProvider(_:))) @@ -785,9 +777,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePluginInput.urlPathProvider(_:))) @@ -862,9 +853,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRetrieverInput.urlPathProvider(_:))) @@ -939,9 +929,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserInput.urlPathProvider(_:))) @@ -1016,9 +1005,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWebExperienceInput.urlPathProvider(_:))) @@ -1092,9 +1080,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1163,9 +1150,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChatControlsConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1235,9 +1221,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConversationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1308,9 +1293,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1380,9 +1364,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1453,9 +1436,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIndexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1525,9 +1507,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePluginInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1597,9 +1578,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRetrieverInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1669,9 +1649,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1741,9 +1720,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWebExperienceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1812,9 +1790,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1883,9 +1860,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetChatControlsConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1955,9 +1931,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2027,9 +2002,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2099,9 +2073,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIndexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2170,9 +2143,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPluginInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2241,9 +2213,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRetrieverInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2313,9 +2284,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2384,9 +2354,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWebExperienceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2454,9 +2423,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2527,9 +2495,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConversationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2599,9 +2566,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataSourceSyncJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2671,9 +2637,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2743,9 +2708,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDocumentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2816,9 +2780,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2888,9 +2851,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIndicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2961,9 +2923,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMessagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3033,9 +2994,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPluginsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3105,9 +3065,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRetrieversInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3177,9 +3136,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3248,9 +3206,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWebExperiencesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3320,9 +3277,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutFeedbackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3397,9 +3353,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3473,9 +3428,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDataSourceSyncJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3544,9 +3498,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopDataSourceSyncJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3616,9 +3569,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3690,9 +3642,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3763,9 +3714,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3839,9 +3789,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateChatControlsConfigurationInput.urlPathProvider(_:))) @@ -3915,9 +3864,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3991,9 +3939,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIndexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4067,9 +4014,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePluginInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4143,9 +4089,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRetrieverInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4218,9 +4163,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4293,9 +4237,8 @@ extension QBusinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWebExperienceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift b/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift index 0afb33446ea..d93518b4d12 100644 --- a/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift +++ b/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAssistantInput.urlPathProvider(_:))) @@ -306,9 +304,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAssistantAssociationInput.urlPathProvider(_:))) @@ -381,9 +378,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateContentInput.urlPathProvider(_:))) @@ -464,9 +460,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateContentAssociationInput.urlPathProvider(_:))) @@ -546,9 +541,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateKnowledgeBaseInput.urlPathProvider(_:))) @@ -621,9 +615,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateQuickResponseInput.urlPathProvider(_:))) @@ -695,9 +688,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSessionInput.urlPathProvider(_:))) @@ -768,9 +760,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAssistantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -837,9 +828,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAssistantAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -906,9 +896,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -975,9 +964,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteContentAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1045,9 +1033,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1115,9 +1102,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteKnowledgeBaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1184,9 +1170,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteQuickResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1253,9 +1238,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssistantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1322,9 +1306,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssistantAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1391,9 +1374,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1460,9 +1442,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContentAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1529,9 +1510,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContentSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1598,9 +1578,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1667,9 +1646,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetKnowledgeBaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1736,9 +1714,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQuickResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1806,9 +1783,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1876,9 +1852,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1945,9 +1920,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssistantAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2014,9 +1988,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssistantsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2084,9 +2057,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListContentAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2154,9 +2126,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListContentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2223,9 +2194,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2292,9 +2262,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKnowledgeBasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2362,9 +2331,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQuickResponsesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2430,9 +2398,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2499,9 +2466,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(NotifyRecommendationsReceivedInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2571,9 +2537,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutFeedbackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2645,9 +2610,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(QueryAssistantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2717,9 +2681,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveKnowledgeBaseTemplateUriInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2786,9 +2749,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2860,9 +2822,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchQuickResponsesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2933,9 +2894,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchSessionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3006,9 +2966,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartContentUploadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3082,9 +3041,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartImportJobInput.urlPathProvider(_:))) @@ -3154,9 +3112,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3224,9 +3181,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3295,9 +3251,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3367,9 +3322,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateKnowledgeBaseTemplateUriInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3441,9 +3395,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateQuickResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3513,9 +3466,8 @@ extension QConnectClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSQLDB/Sources/AWSQLDB/QLDBClient.swift b/Sources/Services/AWSQLDB/Sources/AWSQLDB/QLDBClient.swift index b53324c3e1f..59a7fc5590e 100644 --- a/Sources/Services/AWSQLDB/Sources/AWSQLDB/QLDBClient.swift +++ b/Sources/Services/AWSQLDB/Sources/AWSQLDB/QLDBClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension QLDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelJournalKinesisStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -299,9 +297,8 @@ extension QLDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLedgerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -372,9 +369,8 @@ extension QLDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLedgerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -441,9 +437,8 @@ extension QLDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeJournalKinesisStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -508,9 +503,8 @@ extension QLDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeJournalS3ExportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -576,9 +570,8 @@ extension QLDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLedgerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -644,9 +637,8 @@ extension QLDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportJournalToS3Input.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -716,9 +708,8 @@ extension QLDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBlockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -788,9 +779,8 @@ extension QLDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDigestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -857,9 +847,8 @@ extension QLDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRevisionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -929,9 +918,8 @@ extension QLDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJournalKinesisStreamsForLedgerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -992,9 +980,8 @@ extension QLDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJournalS3ExportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1055,9 +1042,8 @@ extension QLDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJournalS3ExportsForLedgerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1118,9 +1104,8 @@ extension QLDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLedgersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1187,9 +1172,8 @@ extension QLDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1256,9 +1240,8 @@ extension QLDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StreamJournalToKinesisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1327,9 +1310,8 @@ extension QLDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1398,9 +1380,8 @@ extension QLDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1467,9 +1448,8 @@ extension QLDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLedgerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1538,9 +1518,8 @@ extension QLDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLedgerPermissionsModeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/QLDBSessionClient.swift b/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/QLDBSessionClient.swift index a4a673af915..ad11355784e 100644 --- a/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/QLDBSessionClient.swift +++ b/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/QLDBSessionClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -235,9 +234,8 @@ extension QLDBSessionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendCommandInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift b/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift index 46e3455c426..0c097e109fa 100644 --- a/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift +++ b/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchCreateTopicReviewedAnswerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteTopicReviewedAnswerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -381,9 +378,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelIngestionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -455,9 +451,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccountCustomizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -534,9 +529,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccountSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -611,9 +605,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAnalysisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -688,9 +681,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDashboardInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -766,9 +758,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -844,9 +835,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -922,9 +912,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFolderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -999,9 +988,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFolderMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1074,9 +1062,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1150,9 +1137,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGroupMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1223,9 +1209,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIAMPolicyAssignmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1299,9 +1284,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIngestionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1378,9 +1362,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNamespaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1455,9 +1438,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRefreshScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1531,9 +1513,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRoleMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1606,9 +1587,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1682,9 +1662,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTemplateAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1759,9 +1738,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateThemeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1836,9 +1814,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateThemeAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1913,9 +1890,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTopicInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1990,9 +1966,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTopicRefreshScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2067,9 +2042,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVPCConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2145,9 +2119,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccountCustomizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2219,9 +2192,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccountSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2291,9 +2263,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAnalysisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2364,9 +2335,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDashboardInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2436,9 +2406,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2509,9 +2478,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataSetRefreshPropertiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2580,9 +2548,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2654,9 +2621,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFolderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2726,9 +2692,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFolderMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2799,9 +2764,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2872,9 +2836,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGroupMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2945,9 +2908,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIAMPolicyAssignmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3016,9 +2978,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIdentityPropagationConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3089,9 +3050,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNamespaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3161,9 +3121,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRefreshScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3234,9 +3193,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRoleCustomPermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3307,9 +3265,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRoleMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3380,9 +3337,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3452,9 +3408,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTemplateAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3525,9 +3480,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteThemeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3598,9 +3552,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteThemeAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3670,9 +3623,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTopicInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3744,9 +3696,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTopicRefreshScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3817,9 +3768,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3890,9 +3840,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserByPrincipalIdInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3963,9 +3912,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVPCConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4052,9 +4000,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountCustomizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4125,9 +4072,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4197,9 +4143,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4269,9 +4214,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAnalysisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4343,9 +4287,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAnalysisDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4414,9 +4357,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAnalysisPermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4483,9 +4425,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAssetBundleExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4552,9 +4493,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAssetBundleImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4624,9 +4564,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDashboardInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4699,9 +4638,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDashboardDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4771,9 +4709,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDashboardPermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4842,9 +4779,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDashboardSnapshotJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4915,9 +4851,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDashboardSnapshotJobResultInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4986,9 +4921,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDataSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5057,9 +4991,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDataSetPermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5130,9 +5063,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDataSetRefreshPropertiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5201,9 +5133,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5272,9 +5203,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDataSourcePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5344,9 +5274,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFolderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5417,9 +5346,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFolderPermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5491,9 +5419,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFolderResolvedPermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5565,9 +5492,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5638,9 +5564,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGroupMembershipInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5710,9 +5635,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIAMPolicyAssignmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5782,9 +5706,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIngestionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5853,9 +5776,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIpRestrictionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5923,9 +5845,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeKeyRegistrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5996,9 +5917,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNamespaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6068,9 +5988,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRefreshScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6141,9 +6060,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRoleCustomPermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6215,9 +6133,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6286,9 +6203,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTemplateAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6360,9 +6276,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTemplateDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6433,9 +6348,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTemplatePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6506,9 +6420,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeThemeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6579,9 +6492,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeThemeAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6651,9 +6563,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeThemePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6722,9 +6633,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTopicInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6793,9 +6703,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTopicPermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6864,9 +6773,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTopicRefreshInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6938,9 +6846,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTopicRefreshScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7011,9 +6918,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7083,9 +6989,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVPCConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7166,9 +7071,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateEmbedUrlForAnonymousUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7253,9 +7157,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateEmbedUrlForRegisteredUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7347,9 +7250,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDashboardEmbedUrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7427,9 +7329,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSessionEmbedUrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7498,9 +7399,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAnalysesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7570,9 +7470,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssetBundleExportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7642,9 +7541,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssetBundleImportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7715,9 +7613,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDashboardVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7786,9 +7683,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDashboardsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7858,9 +7754,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7930,9 +7825,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8004,9 +7898,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFolderMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8078,9 +7971,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFoldersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8153,9 +8045,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGroupMembershipsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8228,9 +8119,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8301,9 +8191,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIAMPolicyAssignmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8375,9 +8264,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIAMPolicyAssignmentsForUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8447,9 +8335,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIdentityPropagationConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8521,9 +8408,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIngestionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8596,9 +8482,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNamespacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8669,9 +8554,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRefreshSchedulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8744,9 +8628,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRoleMembershipsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8816,9 +8699,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8887,9 +8769,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTemplateAliasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8960,9 +8841,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTemplateVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9033,9 +8913,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9107,9 +8986,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListThemeAliasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9181,9 +9059,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListThemeVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9255,9 +9132,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListThemesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9330,9 +9206,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTopicRefreshSchedulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9401,9 +9276,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTopicReviewedAnswersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9472,9 +9346,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTopicsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9546,9 +9419,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUserGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9621,9 +9493,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9694,9 +9565,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVPCConnectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9769,9 +9639,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDataSetRefreshPropertiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9847,9 +9716,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9922,9 +9790,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreAnalysisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9994,9 +9861,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchAnalysesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10069,9 +9935,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchDashboardsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10144,9 +10009,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchDataSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10219,9 +10083,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchDataSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10296,9 +10159,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchFoldersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10373,9 +10235,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10450,9 +10311,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartAssetBundleExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10526,9 +10386,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartAssetBundleImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10634,9 +10493,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDashboardSnapshotJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10713,9 +10571,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10787,9 +10644,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10861,9 +10717,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccountCustomizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10937,9 +10792,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccountSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11013,9 +10867,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAnalysisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11089,9 +10942,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAnalysisPermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11165,9 +11017,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDashboardInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11241,9 +11092,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDashboardLinksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11317,9 +11167,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDashboardPermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11392,9 +11241,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDashboardPublishedVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11466,9 +11314,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDataSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11541,9 +11388,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDataSetPermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11617,9 +11463,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDataSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11692,9 +11537,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDataSourcePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11769,9 +11613,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFolderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11845,9 +11688,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFolderPermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11921,9 +11763,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11997,9 +11838,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIAMPolicyAssignmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12071,9 +11911,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIdentityPropagationConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12146,9 +11985,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIpRestrictionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12219,9 +12057,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateKeyRegistrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12294,9 +12131,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePublicSharingSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12370,9 +12206,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRefreshScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12446,9 +12281,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRoleCustomPermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12520,9 +12354,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSPICECapacityConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12597,9 +12430,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12671,9 +12503,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTemplateAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12747,9 +12578,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTemplatePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12824,9 +12654,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateThemeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12900,9 +12729,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateThemeAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13018,9 +12846,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateThemePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13095,9 +12922,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTopicInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13172,9 +12998,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTopicPermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13249,9 +13074,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTopicRefreshScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13325,9 +13149,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13402,9 +13225,8 @@ extension QuickSightClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVPCConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSRAM/Sources/AWSRAM/RAMClient.swift b/Sources/Services/AWSRAM/Sources/AWSRAM/RAMClient.swift index 8c4efad5e10..0db37e7d80d 100644 --- a/Sources/Services/AWSRAM/Sources/AWSRAM/RAMClient.swift +++ b/Sources/Services/AWSRAM/Sources/AWSRAM/RAMClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -235,9 +234,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptResourceShareInvitationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -315,9 +313,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateResourceShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -391,9 +388,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateResourceSharePermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -470,9 +466,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -549,9 +544,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePermissionVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -630,9 +624,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateResourceShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -706,9 +699,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -781,9 +773,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePermissionVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -857,9 +848,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourceShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -934,9 +924,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateResourceShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1011,9 +1000,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateResourceSharePermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1083,9 +1071,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableSharingWithAwsOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1155,9 +1142,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1230,9 +1216,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcePoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1306,9 +1291,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourceShareAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1383,9 +1367,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourceShareInvitationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1458,9 +1441,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourceSharesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1536,9 +1518,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPendingInvitationResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1610,9 +1591,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPermissionAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1686,9 +1666,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPermissionVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1760,9 +1739,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1835,9 +1813,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPrincipalsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1908,9 +1885,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReplacePermissionAssociationsWorkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1984,9 +1960,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceSharePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2057,9 +2032,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2133,9 +2107,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2215,9 +2188,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PromotePermissionCreatedFromPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2294,9 +2266,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PromoteResourceShareCreatedFromPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2371,9 +2342,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectResourceShareInvitationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2448,9 +2418,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReplacePermissionAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2524,9 +2493,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetDefaultPermissionVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2601,9 +2569,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2675,9 +2642,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2753,9 +2719,8 @@ extension RAMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResourceShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift b/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift index a9c3a67504c..805924039b3 100644 --- a/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift +++ b/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddRoleToDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -302,9 +300,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddRoleToDBInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -373,9 +370,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddSourceIdentifierToSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -451,9 +447,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddTagsToResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -523,9 +518,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ApplyPendingMaintenanceActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -596,9 +590,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AuthorizeDBSecurityGroupIngressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -667,9 +660,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BacktrackDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -738,9 +730,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelExportTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -810,9 +801,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyDBClusterParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -894,9 +884,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyDBClusterSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -966,9 +955,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyDBParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1041,9 +1029,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyDBSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1113,9 +1100,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyOptionGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1193,9 +1179,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBlueGreenDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1267,9 +1252,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCustomDBEngineVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1357,9 +1341,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1443,9 +1426,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBClusterEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1514,9 +1496,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBClusterParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1588,9 +1569,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBClusterSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1679,9 +1659,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1772,9 +1751,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBInstanceReadReplicaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1843,9 +1821,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1915,9 +1892,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBProxyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1989,9 +1965,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBProxyEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2061,9 +2036,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBSecurityGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2137,9 +2111,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBShardGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2210,9 +2183,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2284,9 +2256,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDBSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2360,9 +2331,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEventSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2433,9 +2403,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGlobalClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2508,9 +2477,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIntegrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2579,9 +2547,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateOptionGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2655,9 +2622,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTenantDatabaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2726,9 +2692,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBlueGreenDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2804,9 +2769,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCustomDBEngineVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2879,9 +2843,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2950,9 +2913,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBClusterAutomatedBackupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3033,9 +2995,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBClusterEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3104,9 +3065,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBClusterParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3175,9 +3135,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBClusterSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3257,9 +3216,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3328,9 +3286,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBInstanceAutomatedBackupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3399,9 +3356,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3470,9 +3426,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBProxyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3541,9 +3496,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBProxyEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3612,9 +3566,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBSecurityGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3684,9 +3637,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBShardGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3755,9 +3707,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3827,9 +3778,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDBSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3898,9 +3848,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEventSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3969,9 +3918,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGlobalClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4041,9 +3989,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIntegrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4112,9 +4059,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOptionGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4184,9 +4130,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTenantDatabaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4257,9 +4202,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterDBProxyTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4322,9 +4266,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4392,9 +4335,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBlueGreenDeploymentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4462,9 +4404,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCertificatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4532,9 +4473,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBClusterAutomatedBackupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4603,9 +4543,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBClusterBacktracksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4673,9 +4612,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBClusterEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4743,9 +4681,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBClusterParameterGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4813,9 +4750,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBClusterParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4883,9 +4819,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBClusterSnapshotAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4953,9 +4888,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBClusterSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5023,9 +4957,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5088,9 +5021,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBEngineVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5158,9 +5090,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBInstanceAutomatedBackupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5228,9 +5159,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5298,9 +5228,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBLogFilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5368,9 +5297,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBParameterGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5438,9 +5366,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5508,9 +5435,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBProxiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5579,9 +5505,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBProxyEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5651,9 +5576,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBProxyTargetGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5724,9 +5648,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBProxyTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5789,9 +5712,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5859,9 +5781,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBSecurityGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5930,9 +5851,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBShardGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6000,9 +5920,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBSnapshotAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6070,9 +5989,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBSnapshotTenantDatabasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6140,9 +6058,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6210,9 +6127,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDBSubnetGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6275,9 +6191,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEngineDefaultClusterParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6340,9 +6255,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEngineDefaultParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6405,9 +6319,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventCategoriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6475,9 +6388,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventSubscriptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6540,9 +6452,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6610,9 +6521,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeExportTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6680,9 +6590,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGlobalClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6750,9 +6659,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIntegrationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6815,9 +6723,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOptionGroupOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6885,9 +6792,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOptionGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6950,9 +6856,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOrderableDBInstanceOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7020,9 +6925,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePendingMaintenanceActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7090,9 +6994,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReservedDBInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7160,9 +7063,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReservedDBInstancesOfferingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7225,9 +7127,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSourceRegionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7295,9 +7196,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTenantDatabasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7366,9 +7266,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeValidDBInstanceModificationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7437,9 +7336,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableHttpEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7508,9 +7406,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DownloadDBLogFilePortionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7579,9 +7476,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableHttpEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7651,9 +7547,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(FailoverDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7735,9 +7630,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(FailoverGlobalClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7813,9 +7707,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7885,9 +7778,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyActivityStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7962,9 +7854,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyCertificatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8034,9 +7925,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyCurrentDBClusterCapacityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8105,9 +7995,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyCustomDBEngineVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8189,9 +8078,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8274,9 +8162,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBClusterEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8345,9 +8232,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBClusterParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8417,9 +8303,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBClusterSnapshotAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8507,9 +8392,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8578,9 +8462,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8650,9 +8533,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBProxyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8723,9 +8605,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBProxyEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8795,9 +8676,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBProxyTargetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8860,9 +8740,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBRecommendationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8933,9 +8812,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBShardGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9003,9 +8881,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9075,9 +8952,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBSnapshotAttributeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9149,9 +9025,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDBSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9224,9 +9099,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyEventSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9297,9 +9171,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyGlobalClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9369,9 +9242,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyIntegrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9440,9 +9312,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyOptionGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9516,9 +9387,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyTenantDatabaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9591,9 +9461,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PromoteReadReplicaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9662,9 +9531,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PromoteReadReplicaDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9734,9 +9602,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PurchaseReservedDBInstancesOfferingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9806,9 +9673,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RebootDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9877,9 +9743,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RebootDBInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9948,9 +9813,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RebootDBShardGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10026,9 +9890,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterDBProxyTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10098,9 +9961,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveFromGlobalClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10170,9 +10032,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveRoleFromDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10242,9 +10103,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveRoleFromDBInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10313,9 +10173,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveSourceIdentifierFromSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10391,9 +10250,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTagsFromResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10462,9 +10320,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetDBClusterParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10533,9 +10390,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetDBParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10617,9 +10473,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreDBClusterFromS3Input.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10706,9 +10561,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreDBClusterFromSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10795,9 +10649,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreDBClusterToPointInTimeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10888,9 +10741,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreDBInstanceFromDBSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10976,9 +10828,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreDBInstanceFromS3Input.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11070,9 +10921,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreDBInstanceToPointInTimeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11142,9 +10992,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RevokeDBSecurityGroupIngressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11217,9 +11066,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartActivityStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11289,9 +11137,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11369,9 +11216,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDBInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11443,9 +11289,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDBInstanceAutomatedBackupsReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11522,9 +11367,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartExportTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11596,9 +11440,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopActivityStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11668,9 +11511,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopDBClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11742,9 +11584,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopDBInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11813,9 +11654,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopDBInstanceAutomatedBackupsReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11884,9 +11724,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SwitchoverBlueGreenDeploymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11957,9 +11796,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SwitchoverGlobalClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12028,9 +11866,8 @@ extension RDSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SwitchoverReadReplicaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSRDSData/Sources/AWSRDSData/RDSDataClient.swift b/Sources/Services/AWSRDSData/Sources/AWSRDSData/RDSDataClient.swift index 92a87989fa5..ee44664dbe4 100644 --- a/Sources/Services/AWSRDSData/Sources/AWSRDSData/RDSDataClient.swift +++ b/Sources/Services/AWSRDSData/Sources/AWSRDSData/RDSDataClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -243,9 +242,8 @@ extension RDSDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchExecuteStatementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -331,9 +329,8 @@ extension RDSDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BeginTransactionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -420,9 +417,8 @@ extension RDSDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CommitTransactionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -515,9 +511,8 @@ extension RDSDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExecuteStatementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -604,9 +599,8 @@ extension RDSDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RollbackTransactionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSRUM/Sources/AWSRUM/RUMClient.swift b/Sources/Services/AWSRUM/Sources/AWSRUM/RUMClient.swift index b1a74179558..96af6ecb6ab 100644 --- a/Sources/Services/AWSRUM/Sources/AWSRUM/RUMClient.swift +++ b/Sources/Services/AWSRUM/Sources/AWSRUM/RUMClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -239,9 +238,8 @@ extension RUMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchCreateRumMetricDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -314,9 +312,8 @@ extension RUMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteRumMetricDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -385,9 +382,8 @@ extension RUMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetRumMetricDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -459,9 +455,8 @@ extension RUMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppMonitorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -534,9 +529,8 @@ extension RUMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppMonitorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -606,9 +600,8 @@ extension RUMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRumMetricsDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -678,9 +671,8 @@ extension RUMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAppMonitorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -749,9 +741,8 @@ extension RUMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAppMonitorDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -822,9 +813,8 @@ extension RUMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppMonitorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -893,9 +883,8 @@ extension RUMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRumMetricsDestinationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -963,9 +952,8 @@ extension RUMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1034,9 +1022,8 @@ extension RUMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRumEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "dataplane.")) @@ -1109,9 +1096,8 @@ extension RUMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRumMetricsDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1181,9 +1167,8 @@ extension RUMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1253,9 +1238,8 @@ extension RUMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1326,9 +1310,8 @@ extension RUMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAppMonitorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1402,9 +1385,8 @@ extension RUMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRumMetricDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSRbin/Sources/AWSRbin/RbinClient.swift b/Sources/Services/AWSRbin/Sources/AWSRbin/RbinClient.swift index f105f1fe4df..93665db6aaf 100644 --- a/Sources/Services/AWSRbin/Sources/AWSRbin/RbinClient.swift +++ b/Sources/Services/AWSRbin/Sources/AWSRbin/RbinClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension RbinClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -302,9 +300,8 @@ extension RbinClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -371,9 +368,8 @@ extension RbinClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -439,9 +435,8 @@ extension RbinClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -511,9 +506,8 @@ extension RbinClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -581,9 +575,8 @@ extension RbinClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(LockRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -654,9 +647,8 @@ extension RbinClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -727,9 +719,8 @@ extension RbinClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UnlockRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -796,9 +787,8 @@ extension RbinClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -868,9 +858,8 @@ extension RbinClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSRedshift/Sources/AWSRedshift/RedshiftClient.swift b/Sources/Services/AWSRedshift/Sources/AWSRedshift/RedshiftClient.swift index b6a88b45820..e2071dac20f 100644 --- a/Sources/Services/AWSRedshift/Sources/AWSRedshift/RedshiftClient.swift +++ b/Sources/Services/AWSRedshift/Sources/AWSRedshift/RedshiftClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptReservedNodeExchangeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddPartnerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -376,9 +373,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateDataShareConsumerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -449,9 +445,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AuthorizeClusterSecurityGroupIngressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -519,9 +514,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AuthorizeDataShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -594,9 +588,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AuthorizeEndpointAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -670,9 +663,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AuthorizeSnapshotAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -740,9 +732,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteClusterSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -811,9 +802,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchModifyClusterSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -884,9 +874,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelResizeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -959,9 +948,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyClusterSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1031,9 +1019,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAuthenticationProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1125,9 +1112,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1198,9 +1184,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClusterParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1271,9 +1256,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClusterSecurityGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1347,9 +1331,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClusterSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1424,9 +1407,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClusterSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1496,9 +1478,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCustomDomainAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1575,9 +1556,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEndpointAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1655,9 +1635,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEventSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1728,9 +1707,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateHsmClientCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1801,9 +1779,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateHsmConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1875,9 +1852,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRedshiftIdcApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1952,9 +1928,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateScheduledActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2027,9 +2002,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSnapshotCopyGrantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2102,9 +2076,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSnapshotScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2175,9 +2148,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2251,9 +2223,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUsageLimitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2321,9 +2292,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeauthorizeDataShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2392,9 +2362,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAuthenticationProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2466,9 +2435,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2537,9 +2505,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClusterParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2608,9 +2575,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClusterSecurityGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2679,9 +2645,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClusterSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2751,9 +2716,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClusterSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2824,9 +2788,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCustomDomainAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2898,9 +2861,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEndpointAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2969,9 +2931,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEventSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3040,9 +3001,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteHsmClientCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3111,9 +3071,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteHsmConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3184,9 +3143,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePartnerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3257,9 +3215,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRedshiftIdcApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3328,9 +3285,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3399,9 +3355,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteScheduledActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3470,9 +3425,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSnapshotCopyGrantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3541,9 +3495,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSnapshotScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3612,9 +3565,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3683,9 +3635,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUsageLimitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3748,9 +3699,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3819,9 +3769,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAuthenticationProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3890,9 +3839,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClusterDbRevisionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3961,9 +3909,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClusterParameterGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4031,9 +3978,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClusterParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4102,9 +4048,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClusterSecurityGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4175,9 +4120,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClusterSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4246,9 +4190,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClusterSubnetGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4317,9 +4260,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClusterTracksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4382,9 +4324,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClusterVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4453,9 +4394,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4524,9 +4464,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCustomDomainAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4594,9 +4533,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDataSharesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4664,9 +4602,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDataSharesForConsumerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4734,9 +4671,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDataSharesForProducerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4799,9 +4735,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDefaultClusterParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4871,9 +4806,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEndpointAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4942,9 +4876,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEndpointAuthorizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5007,9 +4940,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventCategoriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5078,9 +5010,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventSubscriptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5143,9 +5074,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5214,9 +5144,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeHsmClientCertificatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5285,9 +5214,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeHsmConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5357,9 +5285,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInboundIntegrationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5428,9 +5355,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLoggingStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5502,9 +5428,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNodeConfigurationOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5567,9 +5492,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOrderableClusterOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5639,9 +5563,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePartnersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5712,9 +5635,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRedshiftIdcApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5784,9 +5706,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReservedNodeExchangeStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5856,9 +5777,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReservedNodeOfferingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5927,9 +5847,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReservedNodesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5999,9 +5918,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeResizeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6070,9 +5988,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeScheduledActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6141,9 +6058,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSnapshotCopyGrantsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6206,9 +6122,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSnapshotSchedulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6271,9 +6186,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStorageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6342,9 +6256,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTableRestoreStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6422,9 +6335,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6501,9 +6413,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUsageLimitsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6573,9 +6484,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableLoggingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6647,9 +6557,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableSnapshotCopyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6718,9 +6627,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateDataShareConsumerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6794,9 +6702,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableLoggingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6874,9 +6781,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableSnapshotCopyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6947,9 +6853,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(FailoverPrimaryComputeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7018,9 +6923,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetClusterCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7089,9 +6993,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetClusterCredentialsWithIAMInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7166,9 +7069,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReservedNodeExchangeConfigurationOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7241,9 +7143,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReservedNodeExchangeOfferingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7313,9 +7214,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7384,9 +7284,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7456,9 +7355,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyAquaConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7528,9 +7426,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyAuthenticationProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7619,9 +7516,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7692,9 +7588,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyClusterDbRevisionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7763,9 +7658,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyClusterIamRolesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7834,9 +7728,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyClusterMaintenanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7905,9 +7798,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyClusterParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7977,9 +7869,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyClusterSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8049,9 +7940,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyClusterSnapshotScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8124,9 +8014,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyClusterSubnetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8197,9 +8086,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyCustomDomainAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8272,9 +8160,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyEndpointAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8350,9 +8237,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyEventSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8423,9 +8309,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyRedshiftIdcApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8499,9 +8384,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyScheduledActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8573,9 +8457,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifySnapshotCopyRetentionPeriodInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8645,9 +8528,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifySnapshotScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8717,9 +8599,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyUsageLimitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8789,9 +8670,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PauseClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8862,9 +8742,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PurchaseReservedNodeOfferingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8935,9 +8814,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9006,9 +8884,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RebootClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9076,9 +8953,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectDataShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9147,9 +9023,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetClusterParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9248,9 +9123,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResizeClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9350,9 +9224,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreFromClusterSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9426,9 +9299,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreTableFromClusterSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9499,9 +9371,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResumeClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9571,9 +9442,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RevokeClusterSecurityGroupIngressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9647,9 +9517,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RevokeEndpointAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9720,9 +9589,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RevokeSnapshotAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9793,9 +9661,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RotateEncryptionKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9866,9 +9733,8 @@ extension RedshiftClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePartnerStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/RedshiftDataClient.swift b/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/RedshiftDataClient.swift index f3c6d40f5d2..c91a21ec563 100644 --- a/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/RedshiftDataClient.swift +++ b/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/RedshiftDataClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -248,9 +247,8 @@ extension RedshiftDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchExecuteStatementInput.urlPathProvider(_:))) @@ -323,9 +321,8 @@ extension RedshiftDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelStatementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -396,9 +393,8 @@ extension RedshiftDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStatementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -486,9 +482,8 @@ extension RedshiftDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -577,9 +572,8 @@ extension RedshiftDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExecuteStatementInput.urlPathProvider(_:))) @@ -651,9 +645,8 @@ extension RedshiftDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStatementResultInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -741,9 +734,8 @@ extension RedshiftDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatabasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -831,9 +823,8 @@ extension RedshiftDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSchemasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -903,9 +894,8 @@ extension RedshiftDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStatementsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -993,9 +983,8 @@ extension RedshiftDataClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTablesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/RedshiftServerlessClient.swift b/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/RedshiftServerlessClient.swift index 1dc63622d6e..b6c8d03cda6 100644 --- a/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/RedshiftServerlessClient.swift +++ b/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/RedshiftServerlessClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConvertRecoveryPointToSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -308,9 +306,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCustomDomainAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -384,9 +381,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEndpointAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -458,9 +454,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNamespaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -532,9 +527,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateScheduledActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -608,9 +602,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -684,9 +677,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSnapshotCopyConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -759,9 +751,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUsageLimitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -835,9 +826,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkgroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -911,9 +901,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCustomDomainAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -985,9 +974,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEndpointAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1059,9 +1047,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNamespaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1132,9 +1119,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1205,9 +1191,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteScheduledActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1279,9 +1264,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1354,9 +1338,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSnapshotCopyConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1428,9 +1411,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUsageLimitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1502,9 +1484,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkgroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1575,9 +1556,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1651,9 +1631,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCustomDomainAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1725,9 +1704,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEndpointAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1798,9 +1776,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetNamespaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1872,9 +1849,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRecoveryPointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1945,9 +1921,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2018,9 +1993,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetScheduledActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2091,9 +2065,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2163,9 +2136,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTableRestoreStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2237,9 +2209,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUsageLimitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2310,9 +2281,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkgroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2385,9 +2355,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCustomDomainAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2459,9 +2428,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEndpointAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2531,9 +2499,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNamespacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2603,9 +2570,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecoveryPointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2677,9 +2643,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListScheduledActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2752,9 +2717,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSnapshotCopyConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2825,9 +2789,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2898,9 +2861,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTableRestoreStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2972,9 +2934,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3047,9 +3008,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUsageLimitsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3119,9 +3079,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkgroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3194,9 +3153,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3268,9 +3226,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreFromRecoveryPointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3343,9 +3300,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreFromSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3417,9 +3373,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreTableFromRecoveryPointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3491,9 +3446,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreTableFromSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3566,9 +3520,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3640,9 +3593,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3716,9 +3668,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCustomDomainAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3791,9 +3742,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEndpointAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3865,9 +3815,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNamespaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3939,9 +3888,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateScheduledActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4013,9 +3961,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4088,9 +4035,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSnapshotCopyConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4162,9 +4108,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUsageLimitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4237,9 +4182,8 @@ extension RedshiftServerlessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorkgroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift b/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift index 171818187df..6d4dcb34a68 100644 --- a/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift +++ b/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -242,9 +241,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateFacesInput.urlPathProvider(_:))) @@ -321,9 +319,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CompareFacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -400,9 +397,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyProjectVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -477,9 +473,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCollectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -556,9 +551,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -631,9 +625,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFaceLivenessSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -708,9 +701,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -787,9 +779,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProjectVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -872,9 +863,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStreamProcessorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -951,9 +941,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserInput.urlPathProvider(_:))) @@ -1028,9 +1017,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCollectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1106,9 +1094,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1182,9 +1169,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1259,9 +1245,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1336,9 +1321,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProjectPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1413,9 +1397,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProjectVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1490,9 +1473,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStreamProcessorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1568,9 +1550,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserInput.urlPathProvider(_:))) @@ -1645,9 +1626,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCollectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1721,9 +1701,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDatasetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1798,9 +1777,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProjectVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1874,9 +1852,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1950,9 +1927,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStreamProcessorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2034,9 +2010,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectCustomLabelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2112,9 +2087,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectFacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2222,9 +2196,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectLabelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2306,9 +2279,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectModerationLabelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2402,9 +2374,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectProtectiveEquipmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2480,9 +2451,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectTextInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2558,9 +2528,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateFacesInput.urlPathProvider(_:))) @@ -2639,9 +2608,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DistributeDatasetEntriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2715,9 +2683,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCelebrityInfoInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2792,9 +2759,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCelebrityRecognitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2869,9 +2835,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContentModerationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2946,9 +2911,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFaceDetectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3022,9 +2986,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFaceLivenessSessionResultsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3099,9 +3062,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFaceSearchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3193,9 +3155,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLabelDetectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3269,9 +3230,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMediaAnalysisJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3346,9 +3306,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPersonTrackingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3423,9 +3382,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSegmentDetectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3500,9 +3458,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTextDetectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3606,9 +3563,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(IndexFacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3683,9 +3639,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCollectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3765,9 +3720,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatasetEntriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3847,9 +3801,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatasetLabelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3924,9 +3877,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4000,9 +3952,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMediaAnalysisJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4077,9 +4028,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProjectPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4153,9 +4103,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStreamProcessorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4229,9 +4178,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4306,9 +4254,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4387,9 +4334,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutProjectPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4465,9 +4411,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RecognizeCelebritiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4541,9 +4486,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchFacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4620,9 +4564,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchFacesByImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4696,9 +4639,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4775,9 +4717,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchUsersByImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4854,9 +4795,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartCelebrityRecognitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4933,9 +4873,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartContentModerationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5012,9 +4951,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartFaceDetectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5092,9 +5030,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartFaceSearchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5171,9 +5108,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartLabelDetectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5255,9 +5191,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMediaAnalysisJobInput.urlPathProvider(_:))) @@ -5335,9 +5270,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartPersonTrackingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5413,9 +5347,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartProjectVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5492,9 +5425,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSegmentDetectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5569,9 +5501,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartStreamProcessorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5648,9 +5579,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartTextDetectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5725,9 +5655,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopProjectVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5802,9 +5731,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopStreamProcessorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5879,9 +5807,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5955,9 +5882,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6033,9 +5959,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDatasetEntriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6110,9 +6035,8 @@ extension RekognitionClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStreamProcessorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/RepostspaceClient.swift b/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/RepostspaceClient.swift index 291058497a1..8e17794df2e 100644 --- a/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/RepostspaceClient.swift +++ b/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/RepostspaceClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension RepostspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSpaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension RepostspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSpaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -378,9 +375,8 @@ extension RepostspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterAdminInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -449,9 +445,8 @@ extension RepostspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSpaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -519,9 +514,8 @@ extension RepostspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSpacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -591,9 +585,8 @@ extension RepostspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -662,9 +655,8 @@ extension RepostspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterAdminInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -733,9 +725,8 @@ extension RepostspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendInvitesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -807,9 +798,8 @@ extension RepostspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -881,9 +871,8 @@ extension RepostspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -954,9 +943,8 @@ extension RepostspaceClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSpaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/ResiliencehubClient.swift b/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/ResiliencehubClient.swift index 3105e810044..0f5b2d997dd 100644 --- a/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/ResiliencehubClient.swift +++ b/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/ResiliencehubClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptResourceGroupingRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -308,9 +306,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddDraftAppVersionResourceMappingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -382,9 +379,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchUpdateRecommendationStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -458,9 +454,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppInput.urlPathProvider(_:))) @@ -535,9 +530,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppVersionAppComponentInput.urlPathProvider(_:))) @@ -618,9 +612,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppVersionResourceInput.urlPathProvider(_:))) @@ -695,9 +688,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRecommendationTemplateInput.urlPathProvider(_:))) @@ -771,9 +763,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateResiliencyPolicyInput.urlPathProvider(_:))) @@ -846,9 +837,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppInput.urlPathProvider(_:))) @@ -922,9 +912,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppAssessmentInput.urlPathProvider(_:))) @@ -998,9 +987,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppInputSourceInput.urlPathProvider(_:))) @@ -1078,9 +1066,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppVersionAppComponentInput.urlPathProvider(_:))) @@ -1160,9 +1147,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppVersionResourceInput.urlPathProvider(_:))) @@ -1235,9 +1221,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRecommendationTemplateInput.urlPathProvider(_:))) @@ -1311,9 +1296,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResiliencyPolicyInput.urlPathProvider(_:))) @@ -1386,9 +1370,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1460,9 +1443,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAppAssessmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1534,9 +1516,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAppVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1609,9 +1590,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAppVersionAppComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1690,9 +1670,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAppVersionResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1764,9 +1743,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAppVersionResourcesResolutionStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1838,9 +1816,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAppVersionTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1912,9 +1889,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDraftAppVersionResourcesImportStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1986,9 +1962,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeResiliencyPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2060,9 +2035,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeResourceGroupingRecommendationTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2136,9 +2110,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportResourcesToDraftAppVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2210,9 +2183,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAlarmRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2283,9 +2255,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppAssessmentComplianceDriftsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2356,9 +2327,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppAssessmentResourceDriftsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2430,9 +2400,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppAssessmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2502,9 +2471,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppComponentCompliancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2576,9 +2544,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppComponentRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2650,9 +2617,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppInputSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2725,9 +2691,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppVersionAppComponentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2799,9 +2764,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppVersionResourceMappingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2874,9 +2838,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppVersionResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2947,9 +2910,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3020,9 +2982,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3091,9 +3052,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecommendationTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3163,9 +3123,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResiliencyPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3235,9 +3194,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceGroupingRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3308,9 +3266,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSopRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3382,9 +3339,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSuggestedResiliencyPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3454,9 +3410,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3526,9 +3481,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTestRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3601,9 +3555,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUnsupportedAppVersionResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3676,9 +3629,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PublishAppVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3751,9 +3703,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDraftAppVersionTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3825,9 +3776,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectResourceGroupingRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3900,9 +3850,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveDraftAppVersionResourceMappingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3975,9 +3924,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResolveAppVersionResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4051,9 +3999,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartAppAssessmentInput.urlPathProvider(_:))) @@ -4127,9 +4074,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartResourceGroupingRecommendationTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4201,9 +4147,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4275,9 +4220,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4348,9 +4292,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4423,9 +4366,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAppVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4498,9 +4440,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAppVersionAppComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4580,9 +4521,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAppVersionResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4655,9 +4595,8 @@ extension ResiliencehubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResiliencyPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/ResourceExplorer2Client.swift b/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/ResourceExplorer2Client.swift index 9ff1c3f43a9..72d1fac99d3 100644 --- a/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/ResourceExplorer2Client.swift +++ b/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/ResourceExplorer2Client.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension ResourceExplorer2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateDefaultViewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension ResourceExplorer2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetViewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -384,9 +381,8 @@ extension ResourceExplorer2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIndexInput.urlPathProvider(_:))) @@ -461,9 +457,8 @@ extension ResourceExplorer2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateViewInput.urlPathProvider(_:))) @@ -536,9 +531,8 @@ extension ResourceExplorer2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIndexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -611,9 +605,8 @@ extension ResourceExplorer2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteViewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -685,9 +678,8 @@ extension ResourceExplorer2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateDefaultViewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -755,9 +747,8 @@ extension ResourceExplorer2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountLevelServiceConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -826,9 +817,8 @@ extension ResourceExplorer2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDefaultViewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -897,9 +887,8 @@ extension ResourceExplorer2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIndexInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -969,9 +958,8 @@ extension ResourceExplorer2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetViewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1042,9 +1030,8 @@ extension ResourceExplorer2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIndexesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1115,9 +1102,8 @@ extension ResourceExplorer2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIndexesForMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1188,9 +1174,8 @@ extension ResourceExplorer2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSupportedResourceTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1263,9 +1248,8 @@ extension ResourceExplorer2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1333,9 +1317,8 @@ extension ResourceExplorer2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListViewsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1408,9 +1391,8 @@ extension ResourceExplorer2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1483,9 +1465,8 @@ extension ResourceExplorer2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1558,9 +1539,8 @@ extension ResourceExplorer2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1636,9 +1616,8 @@ extension ResourceExplorer2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIndexTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1711,9 +1690,8 @@ extension ResourceExplorer2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateViewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/ResourceGroupsClient.swift b/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/ResourceGroupsClient.swift index d9f95498e4e..dc6978cb7b7 100644 --- a/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/ResourceGroupsClient.swift +++ b/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/ResourceGroupsClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension ResourceGroupsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -309,9 +307,8 @@ extension ResourceGroupsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -383,9 +380,8 @@ extension ResourceGroupsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -457,9 +453,8 @@ extension ResourceGroupsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -534,9 +529,8 @@ extension ResourceGroupsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGroupConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -611,9 +605,8 @@ extension ResourceGroupsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGroupQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -688,9 +681,8 @@ extension ResourceGroupsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -769,9 +761,8 @@ extension ResourceGroupsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GroupResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -853,9 +844,8 @@ extension ResourceGroupsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGroupResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -929,9 +919,8 @@ extension ResourceGroupsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1007,9 +996,8 @@ extension ResourceGroupsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutGroupConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1090,9 +1078,8 @@ extension ResourceGroupsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1167,9 +1154,8 @@ extension ResourceGroupsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1244,9 +1230,8 @@ extension ResourceGroupsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UngroupResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1321,9 +1306,8 @@ extension ResourceGroupsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1395,9 +1379,8 @@ extension ResourceGroupsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccountSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1472,9 +1455,8 @@ extension ResourceGroupsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1549,9 +1531,8 @@ extension ResourceGroupsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGroupQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/ResourceGroupsTaggingAPIClient.swift b/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/ResourceGroupsTaggingAPIClient.swift index a608775f2c3..66537a642b0 100644 --- a/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/ResourceGroupsTaggingAPIClient.swift +++ b/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/ResourceGroupsTaggingAPIClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -245,9 +244,8 @@ extension ResourceGroupsTaggingAPIClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReportCreationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -335,9 +333,8 @@ extension ResourceGroupsTaggingAPIClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetComplianceSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -426,9 +423,8 @@ extension ResourceGroupsTaggingAPIClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -510,9 +506,8 @@ extension ResourceGroupsTaggingAPIClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTagKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -594,9 +589,8 @@ extension ResourceGroupsTaggingAPIClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTagValuesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -685,9 +679,8 @@ extension ResourceGroupsTaggingAPIClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartReportCreationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -783,9 +776,8 @@ extension ResourceGroupsTaggingAPIClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -877,9 +869,8 @@ extension ResourceGroupsTaggingAPIClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/RoboMakerClient.swift b/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/RoboMakerClient.swift index 9f219d003e3..19744f4eee1 100644 --- a/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/RoboMakerClient.swift +++ b/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/RoboMakerClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteWorldsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -303,9 +301,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDescribeSimulationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -377,9 +374,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelDeploymentJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -450,9 +446,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelSimulationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -523,9 +518,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelSimulationJobBatchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -596,9 +590,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelWorldExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -669,9 +662,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelWorldGenerationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -746,9 +738,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDeploymentJobInput.urlPathProvider(_:))) @@ -821,9 +812,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -896,9 +886,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRobotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -971,9 +960,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRobotApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1045,9 +1033,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRobotApplicationVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1120,9 +1107,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSimulationApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1194,9 +1180,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSimulationApplicationVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1270,9 +1255,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSimulationJobInput.urlPathProvider(_:))) @@ -1346,9 +1330,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorldExportJobInput.urlPathProvider(_:))) @@ -1423,9 +1406,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorldGenerationJobInput.urlPathProvider(_:))) @@ -1499,9 +1481,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorldTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1572,9 +1553,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1645,9 +1625,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRobotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1717,9 +1696,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRobotApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1789,9 +1767,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSimulationApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1862,9 +1839,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorldTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1936,9 +1912,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterRobotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2010,9 +1985,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDeploymentJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2084,9 +2058,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2158,9 +2131,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRobotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2231,9 +2203,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRobotApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2304,9 +2275,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSimulationApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2377,9 +2347,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSimulationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2449,9 +2418,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSimulationJobBatchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2522,9 +2490,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorldInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2595,9 +2562,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorldExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2668,9 +2634,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorldGenerationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2741,9 +2706,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorldTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2814,9 +2778,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorldTemplateBodyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2888,9 +2851,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeploymentJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2962,9 +2924,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFleetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3034,9 +2995,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRobotApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3108,9 +3068,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRobotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3180,9 +3139,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSimulationApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3251,9 +3209,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSimulationJobBatchesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3323,9 +3280,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSimulationJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3396,9 +3352,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3465,9 +3420,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorldExportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3537,9 +3491,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorldGenerationJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3609,9 +3562,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorldTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3681,9 +3633,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorldsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3756,9 +3707,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterRobotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3830,9 +3780,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestartSimulationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3904,9 +3853,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSimulationJobBatchInput.urlPathProvider(_:))) @@ -3982,9 +3930,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(SyncDeploymentJobInput.urlPathProvider(_:))) @@ -4056,9 +4003,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4129,9 +4075,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4201,9 +4146,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRobotApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4275,9 +4219,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSimulationApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4348,9 +4291,8 @@ extension RoboMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorldTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/RolesAnywhereClient.swift b/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/RolesAnywhereClient.swift index b7f069f29aa..38400015526 100644 --- a/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/RolesAnywhereClient.swift +++ b/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/RolesAnywhereClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -299,9 +297,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTrustAnchorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -371,9 +368,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAttributeMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -440,9 +436,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -508,9 +503,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -576,9 +570,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTrustAnchorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -644,9 +637,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableCrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -712,9 +704,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -780,9 +771,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableTrustAnchorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -848,9 +838,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableCrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -916,9 +905,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -984,9 +972,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableTrustAnchorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1051,9 +1038,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1119,9 +1105,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1187,9 +1172,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSubjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1256,9 +1240,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTrustAnchorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1324,9 +1307,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportCrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1395,9 +1377,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCrlsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1464,9 +1445,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1533,9 +1513,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSubjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1603,9 +1582,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1672,9 +1650,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTrustAnchorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1742,9 +1719,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAttributeMappingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1814,9 +1790,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutNotificationSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1886,9 +1861,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetNotificationSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1959,9 +1933,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2031,9 +2004,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2103,9 +2075,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2175,9 +2146,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2247,9 +2217,8 @@ extension RolesAnywhereClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTrustAnchorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift b/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift index 561fe481bf0..9a646760700 100644 --- a/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift +++ b/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(AWSClientRuntime.Route53TrimHostedZoneMiddleware(\.hostedZoneId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ActivateKeySigningKeyInput.urlPathProvider(_:))) @@ -322,9 +320,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(AWSClientRuntime.Route53TrimHostedZoneMiddleware(\.hostedZoneId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateVPCWithHostedZoneInput.urlPathProvider(_:))) @@ -402,9 +399,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ChangeCidrCollectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -485,9 +481,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(AWSClientRuntime.Route53TrimHostedZoneMiddleware(\.hostedZoneId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ChangeResourceRecordSetsInput.urlPathProvider(_:))) @@ -560,9 +555,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ChangeTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -633,9 +627,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCidrCollectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -715,9 +708,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateHealthCheckInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -817,9 +809,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateHostedZoneInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -896,9 +887,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateKeySigningKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1022,9 +1012,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateQueryLoggingConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1119,9 +1108,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReusableDelegationSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1192,9 +1180,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTrafficPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1266,9 +1253,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTrafficPolicyInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1340,9 +1326,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTrafficPolicyVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1414,9 +1399,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(AWSClientRuntime.Route53TrimHostedZoneMiddleware(\.hostedZoneId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVPCAssociationAuthorizationInput.urlPathProvider(_:))) @@ -1491,9 +1475,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(AWSClientRuntime.Route53TrimHostedZoneMiddleware(\.hostedZoneId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeactivateKeySigningKeyInput.urlPathProvider(_:))) @@ -1562,9 +1545,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCidrCollectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1631,9 +1613,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteHealthCheckInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1706,9 +1687,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(AWSClientRuntime.Route53TrimHostedZoneMiddleware(\.id)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteHostedZoneInput.urlPathProvider(_:))) @@ -1779,9 +1759,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(AWSClientRuntime.Route53TrimHostedZoneMiddleware(\.hostedZoneId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteKeySigningKeyInput.urlPathProvider(_:))) @@ -1849,9 +1828,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteQueryLoggingConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1919,9 +1897,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(AWSClientRuntime.Route53TrimHostedZoneMiddleware(\.id)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReusableDelegationSetInput.urlPathProvider(_:))) @@ -1996,9 +1973,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTrafficPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2065,9 +2041,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTrafficPolicyInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2136,9 +2111,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(AWSClientRuntime.Route53TrimHostedZoneMiddleware(\.hostedZoneId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVPCAssociationAuthorizationInput.urlPathProvider(_:))) @@ -2214,9 +2188,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(AWSClientRuntime.Route53TrimHostedZoneMiddleware(\.hostedZoneId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableHostedZoneDNSSECInput.urlPathProvider(_:))) @@ -2306,9 +2279,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(AWSClientRuntime.Route53TrimHostedZoneMiddleware(\.hostedZoneId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateVPCFromHostedZoneInput.urlPathProvider(_:))) @@ -2385,9 +2357,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(AWSClientRuntime.Route53TrimHostedZoneMiddleware(\.hostedZoneId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableHostedZoneDNSSECInput.urlPathProvider(_:))) @@ -2453,9 +2424,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountLimitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2525,9 +2495,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetChangeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2587,9 +2556,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCheckerIpRangesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2656,9 +2624,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(AWSClientRuntime.Route53TrimHostedZoneMiddleware(\.hostedZoneId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDNSSECInput.urlPathProvider(_:))) @@ -2725,9 +2692,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGeoLocationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2795,9 +2761,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetHealthCheckInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2857,9 +2822,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetHealthCheckCountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2925,9 +2889,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetHealthCheckLastFailureReasonInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2993,9 +2956,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetHealthCheckStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3061,9 +3023,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(AWSClientRuntime.Route53TrimHostedZoneMiddleware(\.id)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetHostedZoneInput.urlPathProvider(_:))) @@ -3129,9 +3090,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetHostedZoneCountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3198,9 +3158,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(AWSClientRuntime.Route53TrimHostedZoneMiddleware(\.hostedZoneId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetHostedZoneLimitInput.urlPathProvider(_:))) @@ -3267,9 +3226,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQueryLoggingConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3336,9 +3294,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(AWSClientRuntime.Route53TrimHostedZoneMiddleware(\.id)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReusableDelegationSetInput.urlPathProvider(_:))) @@ -3405,9 +3362,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(AWSClientRuntime.Route53TrimHostedZoneMiddleware(\.delegationSetId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReusableDelegationSetLimitInput.urlPathProvider(_:))) @@ -3474,9 +3430,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTrafficPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3542,9 +3497,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTrafficPolicyInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3604,9 +3558,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTrafficPolicyInstanceCountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3673,9 +3626,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCidrBlocksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3741,9 +3693,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCidrCollectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3810,9 +3761,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCidrLocationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3878,9 +3828,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGeoLocationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3947,9 +3896,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHealthChecksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4017,9 +3965,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHostedZonesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4094,9 +4041,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHostedZonesByNameInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4179,9 +4125,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHostedZonesByVPCInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4249,9 +4194,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQueryLoggingConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4318,9 +4262,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(AWSClientRuntime.Route53TrimHostedZoneMiddleware(\.hostedZoneId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceRecordSetsInput.urlPathProvider(_:))) @@ -4387,9 +4330,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReusableDelegationSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4459,9 +4401,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4530,9 +4471,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4600,9 +4540,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTrafficPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4669,9 +4608,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTrafficPolicyInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4739,9 +4677,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTrafficPolicyInstancesByHostedZoneInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4809,9 +4746,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTrafficPolicyInstancesByPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4878,9 +4814,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTrafficPolicyVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4948,9 +4883,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(AWSClientRuntime.Route53TrimHostedZoneMiddleware(\.hostedZoneId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVPCAssociationAuthorizationsInput.urlPathProvider(_:))) @@ -5018,9 +4952,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestDNSAnswerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5088,9 +5021,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateHealthCheckInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5160,9 +5092,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(AWSClientRuntime.Route53TrimHostedZoneMiddleware(\.id)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateHostedZoneCommentInput.urlPathProvider(_:))) @@ -5233,9 +5164,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTrafficPolicyCommentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5313,9 +5243,8 @@ extension Route53Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTrafficPolicyInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Route53DomainsClient.swift b/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Route53DomainsClient.swift index 8184b94ae73..13fb988bba8 100644 --- a/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Route53DomainsClient.swift +++ b/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Route53DomainsClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptDomainTransferFromAnotherAwsAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateDelegationSignerToDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -379,9 +376,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelDomainTransferToAnotherAwsAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -451,9 +447,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CheckDomainAvailabilityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -523,9 +518,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CheckDomainTransferabilityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -603,9 +597,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -676,9 +669,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTagsForDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -748,9 +740,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableDomainAutoRenewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -823,9 +814,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableDomainTransferLockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -898,9 +888,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateDelegationSignerFromDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -971,9 +960,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableDomainAutoRenewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1046,9 +1034,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableDomainTransferLockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1119,9 +1106,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContactReachabilityStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1191,9 +1177,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDomainDetailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1263,9 +1248,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDomainSuggestionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1334,9 +1318,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOperationDetailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1405,9 +1388,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDomainsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1476,9 +1458,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOperationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1558,9 +1539,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPricesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1631,9 +1611,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1706,9 +1685,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PushDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1792,9 +1770,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1865,9 +1842,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectDomainTransferFromAnotherAwsAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1940,9 +1916,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RenewDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2013,9 +1988,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResendContactReachabilityEmailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2084,9 +2058,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResendOperationAuthorizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2156,9 +2129,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RetrieveDomainAuthCodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2241,9 +2213,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TransferDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2324,9 +2295,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TransferDomainToAnotherAwsAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2399,9 +2369,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDomainContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2474,9 +2443,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDomainContactPrivacyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2549,9 +2517,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDomainNameserversInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2622,9 +2589,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTagsForDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2693,9 +2659,8 @@ extension Route53DomainsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ViewBillingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Route53ProfilesClient.swift b/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Route53ProfilesClient.swift index c563e4e6bb7..c0be1a61e2e 100644 --- a/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Route53ProfilesClient.swift +++ b/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Route53ProfilesClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension Route53ProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -311,9 +309,8 @@ extension Route53ProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateResourceToProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -385,9 +382,8 @@ extension Route53ProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProfileInput.urlPathProvider(_:))) @@ -460,9 +456,8 @@ extension Route53ProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -532,9 +527,8 @@ extension Route53ProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -606,9 +600,8 @@ extension Route53ProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateResourceFromProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -676,9 +669,8 @@ extension Route53ProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -746,9 +738,8 @@ extension Route53ProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProfileAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -817,9 +808,8 @@ extension Route53ProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProfileResourceAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -888,9 +878,8 @@ extension Route53ProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProfileAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -962,9 +951,8 @@ extension Route53ProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProfileResourceAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1034,9 +1022,8 @@ extension Route53ProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1106,9 +1093,8 @@ extension Route53ProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1176,9 +1162,8 @@ extension Route53ProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1250,9 +1235,8 @@ extension Route53ProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1325,9 +1309,8 @@ extension Route53ProfilesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProfileResourceAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Route53RecoveryClusterClient.swift b/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Route53RecoveryClusterClient.swift index 7945a8141cc..4c5c307eb20 100644 --- a/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Route53RecoveryClusterClient.swift +++ b/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Route53RecoveryClusterClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -235,9 +234,8 @@ extension Route53RecoveryClusterClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRoutingControlStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -315,9 +313,8 @@ extension Route53RecoveryClusterClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRoutingControlsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -396,9 +393,8 @@ extension Route53RecoveryClusterClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRoutingControlStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -478,9 +474,8 @@ extension Route53RecoveryClusterClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRoutingControlStatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Route53RecoveryControlConfigClient.swift b/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Route53RecoveryControlConfigClient.swift index 42aafc7603a..42e77ef4a98 100644 --- a/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Route53RecoveryControlConfigClient.swift +++ b/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Route53RecoveryControlConfigClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClusterInput.urlPathProvider(_:))) @@ -310,9 +308,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateControlPanelInput.urlPathProvider(_:))) @@ -387,9 +384,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRoutingControlInput.urlPathProvider(_:))) @@ -459,9 +455,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSafetyRuleInput.urlPathProvider(_:))) @@ -535,9 +530,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -607,9 +601,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteControlPanelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -679,9 +672,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRoutingControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -748,9 +740,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSafetyRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -820,9 +811,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -892,9 +882,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeControlPanelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -964,9 +953,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRoutingControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1032,9 +1020,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSafetyRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1100,9 +1087,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1169,9 +1155,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssociatedRoute53HealthChecksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1241,9 +1226,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1313,9 +1297,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListControlPanelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1385,9 +1368,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRoutingControlsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1457,9 +1439,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSafetyRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1527,9 +1508,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1596,9 +1576,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1668,9 +1647,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1741,9 +1719,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateControlPanelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1816,9 +1793,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRoutingControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1888,9 +1864,8 @@ extension Route53RecoveryControlConfigClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSafetyRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Route53RecoveryReadinessClient.swift b/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Route53RecoveryReadinessClient.swift index 77c397bc27e..ad4b78698f0 100644 --- a/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Route53RecoveryReadinessClient.swift +++ b/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Route53RecoveryReadinessClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCellInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCrossAccountAuthorizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -379,9 +376,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReadinessCheckInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -453,9 +449,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRecoveryGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -527,9 +522,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateResourceSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -601,9 +595,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCellInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -671,9 +664,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCrossAccountAuthorizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -742,9 +734,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReadinessCheckInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -813,9 +804,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRecoveryGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -884,9 +874,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourceSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -955,9 +944,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetArchitectureRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1027,9 +1015,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCellInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1098,9 +1085,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCellReadinessSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1170,9 +1156,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReadinessCheckInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1241,9 +1226,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReadinessCheckResourceStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1313,9 +1297,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReadinessCheckStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1385,9 +1368,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRecoveryGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1456,9 +1438,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRecoveryGroupReadinessSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1528,9 +1509,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourceSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1598,9 +1578,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCellsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1669,9 +1648,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCrossAccountAuthorizationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1740,9 +1718,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReadinessChecksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1811,9 +1788,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecoveryGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1882,9 +1858,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1953,9 +1928,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2023,9 +1997,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2092,9 +2065,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2164,9 +2136,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2236,9 +2207,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCellInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2310,9 +2280,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateReadinessCheckInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2384,9 +2353,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRecoveryGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2458,9 +2426,8 @@ extension Route53RecoveryReadinessClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResourceSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Route53ResolverClient.swift b/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Route53ResolverClient.swift index 9b27abab6ac..b72b19ee1dc 100644 --- a/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Route53ResolverClient.swift +++ b/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Route53ResolverClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.creatorRequestId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateFirewallRuleGroupInput.urlPathProvider(_:))) @@ -311,9 +309,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateResolverEndpointIpAddressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -389,9 +386,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateResolverQueryLogConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -467,9 +463,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateResolverRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -542,9 +537,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.creatorRequestId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFirewallDomainListInput.urlPathProvider(_:))) @@ -619,9 +613,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.creatorRequestId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFirewallRuleInput.urlPathProvider(_:))) @@ -695,9 +688,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.creatorRequestId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFirewallRuleGroupInput.urlPathProvider(_:))) @@ -772,9 +764,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateOutpostResolverInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -854,9 +845,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateResolverEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -932,9 +922,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.creatorRequestId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateResolverQueryLogConfigInput.urlPathProvider(_:))) @@ -1012,9 +1001,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateResolverRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1087,9 +1075,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFirewallDomainListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1161,9 +1148,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFirewallRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1237,9 +1223,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFirewallRuleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1313,9 +1298,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOutpostResolverInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1392,9 +1376,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResolverEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1468,9 +1451,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResolverQueryLogConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1543,9 +1525,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResolverRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1619,9 +1600,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateFirewallRuleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1695,9 +1675,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateResolverEndpointIpAddressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1775,9 +1754,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateResolverQueryLogConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1849,9 +1827,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateResolverRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1924,9 +1901,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFirewallConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1998,9 +1974,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFirewallDomainListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2072,9 +2047,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFirewallRuleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2146,9 +2120,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFirewallRuleGroupAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2221,9 +2194,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFirewallRuleGroupPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2296,9 +2268,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOutpostResolverInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2372,9 +2343,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResolverConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2448,9 +2418,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResolverDnssecConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2522,9 +2491,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResolverEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2598,9 +2566,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResolverQueryLogConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2674,9 +2641,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResolverQueryLogConfigAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2749,9 +2715,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResolverQueryLogConfigPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2823,9 +2788,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResolverRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2897,9 +2861,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResolverRuleAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2971,9 +2934,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResolverRulePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3054,9 +3016,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportFirewallDomainsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3128,9 +3089,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFirewallConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3202,9 +3162,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFirewallDomainListsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3277,9 +3236,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFirewallDomainsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3351,9 +3309,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFirewallRuleGroupAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3425,9 +3382,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFirewallRuleGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3500,9 +3456,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFirewallRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3575,9 +3530,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOutpostResolversInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3652,9 +3606,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResolverConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3728,9 +3681,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResolverDnssecConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3803,9 +3755,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResolverEndpointIpAddressesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3878,9 +3829,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResolverEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3954,9 +3904,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResolverQueryLogConfigAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4030,9 +3979,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResolverQueryLogConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4105,9 +4053,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResolverRuleAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4180,9 +4127,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResolverRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4256,9 +4202,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4331,9 +4276,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutFirewallRuleGroupPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4407,9 +4351,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResolverQueryLogConfigPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4482,9 +4425,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResolverRulePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4559,9 +4501,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4634,9 +4575,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4709,9 +4649,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFirewallConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4786,9 +4725,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFirewallDomainsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4862,9 +4800,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFirewallRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4938,9 +4875,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFirewallRuleGroupAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5015,9 +4951,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateOutpostResolverInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5094,9 +5029,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResolverConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5170,9 +5104,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResolverDnssecConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5246,9 +5179,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResolverEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5324,9 +5256,8 @@ extension Route53ResolverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResolverRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSS3/Sources/AWSS3/Models.swift b/Sources/Services/AWSS3/Sources/AWSS3/Models.swift index 54e7032c94d..3fecf4836ee 100644 --- a/Sources/Services/AWSS3/Sources/AWSS3/Models.swift +++ b/Sources/Services/AWSS3/Sources/AWSS3/Models.swift @@ -33,8 +33,6 @@ import enum SmithyReadWrite.ReaderError import func ClientRuntime.quoteHeaderValue @_spi(SmithyReadWrite) import protocol AWSClientRuntime.AWSS3ServiceError import protocol ClientRuntime.HTTPError -import protocol ClientRuntime.HttpInterceptor -import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.ModeledError import protocol Smithy.RequestMessageSerializer @_spi(SmithyReadWrite) import protocol SmithyReadWrite.SmithyReader @@ -21707,9 +21705,8 @@ extension GetObjectInput { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetObjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21852,9 +21849,8 @@ extension PutObjectInput { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutObjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21938,9 +21934,8 @@ extension GetObjectInput { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetObjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22006,9 +22001,8 @@ extension PutObjectInput { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutObjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22078,9 +22072,8 @@ extension UploadPartInput { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UploadPartInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift b/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift index aa1a3da8603..53959d6ef4b 100644 --- a/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift +++ b/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift @@ -37,7 +37,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -285,9 +284,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AbortMultipartUploadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -409,9 +407,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CompleteMultipartUploadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -531,9 +528,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyObjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -632,9 +628,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBucketInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -767,9 +762,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMultipartUploadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -847,9 +841,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -931,9 +924,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBucketInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1002,9 +994,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBucketAnalyticsConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1072,9 +1063,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBucketCorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1142,9 +1132,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBucketEncryptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1214,9 +1203,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBucketIntelligentTieringConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1285,9 +1273,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBucketInventoryConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1355,9 +1342,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBucketLifecycleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1429,9 +1415,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBucketMetricsConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1499,9 +1484,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBucketOwnershipControlsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1576,9 +1560,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBucketPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1646,9 +1629,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBucketReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1716,9 +1698,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBucketTaggingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1786,9 +1767,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBucketWebsiteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1884,9 +1864,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteObjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1954,9 +1933,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteObjectTaggingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2058,9 +2036,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteObjectsInput.urlPathProvider(_:))) @@ -2137,9 +2114,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePublicAccessBlockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2205,9 +2181,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketAccelerateConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2273,9 +2248,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketAclInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2345,9 +2319,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketAnalyticsConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2415,9 +2388,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketCorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2485,9 +2457,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketEncryptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2557,9 +2528,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketIntelligentTieringConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2628,9 +2598,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketInventoryConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2714,9 +2683,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketLifecycleConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2784,9 +2752,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketLocationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2854,9 +2821,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketLoggingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2928,9 +2894,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketMetricsConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2996,9 +2961,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketNotificationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3066,9 +3030,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketOwnershipControlsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3141,9 +3104,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3215,9 +3177,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketPolicyStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3285,9 +3246,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3353,9 +3313,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketRequestPaymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3433,9 +3392,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketTaggingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3505,9 +3463,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketVersioningInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3575,9 +3532,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketWebsiteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3680,9 +3636,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetObjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3759,9 +3714,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetObjectAclInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3890,9 +3844,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetObjectAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3958,9 +3911,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetObjectLegalHoldInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4026,9 +3978,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetObjectLockConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4094,9 +4045,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetObjectRetentionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4166,9 +4116,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetObjectTaggingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4234,9 +4183,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetObjectTorrentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4307,9 +4255,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPublicAccessBlockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4385,9 +4332,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(HeadBucketInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4496,9 +4442,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(HeadObjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4568,9 +4513,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBucketAnalyticsConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4640,9 +4584,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBucketIntelligentTieringConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4711,9 +4654,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBucketInventoryConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4783,9 +4725,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBucketMetricsConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4849,9 +4790,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBucketsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4914,9 +4854,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDirectoryBucketsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5010,9 +4949,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMultipartUploadsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5084,9 +5022,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListObjectVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5165,9 +5102,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListObjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5265,9 +5201,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListObjectsV2Input.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5350,9 +5285,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPartsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5427,9 +5361,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketAccelerateConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5573,9 +5506,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketAclInput.urlPathProvider(_:))) @@ -5683,9 +5615,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketAnalyticsConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5767,9 +5698,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketCorsInput.urlPathProvider(_:))) @@ -5842,9 +5772,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketEncryptionInput.urlPathProvider(_:))) @@ -5922,9 +5851,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketIntelligentTieringConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5996,9 +5924,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketInventoryConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6089,9 +6016,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketLifecycleConfigurationInput.urlPathProvider(_:))) @@ -6177,9 +6103,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketLoggingInput.urlPathProvider(_:))) @@ -6263,9 +6188,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketMetricsConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6334,9 +6258,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketNotificationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6407,9 +6330,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketOwnershipControlsInput.urlPathProvider(_:))) @@ -6488,9 +6410,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketPolicyInput.urlPathProvider(_:))) @@ -6563,9 +6484,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketReplicationInput.urlPathProvider(_:))) @@ -6638,9 +6558,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketRequestPaymentInput.urlPathProvider(_:))) @@ -6724,9 +6643,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketTaggingInput.urlPathProvider(_:))) @@ -6801,9 +6719,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketVersioningInput.urlPathProvider(_:))) @@ -6918,9 +6835,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketWebsiteInput.urlPathProvider(_:))) @@ -7032,9 +6948,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutObjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7174,9 +7089,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutObjectAclInput.urlPathProvider(_:))) @@ -7245,9 +7159,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutObjectLegalHoldInput.urlPathProvider(_:))) @@ -7322,9 +7235,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutObjectLockConfigurationInput.urlPathProvider(_:))) @@ -7393,9 +7305,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutObjectRetentionInput.urlPathProvider(_:))) @@ -7479,9 +7390,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutObjectTaggingInput.urlPathProvider(_:))) @@ -7558,9 +7468,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutPublicAccessBlockInput.urlPathProvider(_:))) @@ -7696,9 +7605,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreObjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7790,9 +7698,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SelectObjectContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7906,9 +7813,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UploadPartInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8039,9 +7945,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UploadPartCopyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8105,9 +8010,8 @@ extension S3Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(WriteGetObjectResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "\(input.requestRoute!).")) diff --git a/Sources/Services/AWSS3Control/Sources/AWSS3Control/S3ControlClient.swift b/Sources/Services/AWSS3Control/Sources/AWSS3Control/S3ControlClient.swift index be8a399ae0a..abef21d440a 100644 --- a/Sources/Services/AWSS3Control/Sources/AWSS3Control/S3ControlClient.swift +++ b/Sources/Services/AWSS3Control/Sources/AWSS3Control/S3ControlClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateAccessGrantsIdentityCenterInput.urlPathProvider(_:))) @@ -296,9 +294,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccessGrantInput.urlPathProvider(_:))) @@ -363,9 +360,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccessGrantsInstanceInput.urlPathProvider(_:))) @@ -439,9 +435,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccessGrantsLocationInput.urlPathProvider(_:))) @@ -512,9 +507,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccessPointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -584,9 +578,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccessPointForObjectLambdaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -673,9 +666,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBucketInput.urlPathProvider(_:))) @@ -758,9 +750,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateJobInput.urlPathProvider(_:))) @@ -833,9 +824,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) @@ -901,9 +891,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStorageLensGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -967,9 +956,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccessGrantInput.urlPathProvider(_:))) @@ -1031,9 +1019,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccessGrantsInstanceInput.urlPathProvider(_:))) @@ -1095,9 +1082,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccessGrantsInstanceResourcePolicyInput.urlPathProvider(_:))) @@ -1159,9 +1145,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccessGrantsLocationInput.urlPathProvider(_:))) @@ -1229,9 +1214,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccessPointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1298,9 +1282,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccessPointForObjectLambdaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1365,9 +1348,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccessPointPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1432,9 +1414,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccessPointPolicyForObjectLambdaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1501,9 +1482,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBucketInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1568,9 +1548,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBucketLifecycleConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1635,9 +1614,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBucketPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1702,9 +1680,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBucketReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1769,9 +1746,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBucketTaggingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1845,9 +1821,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteJobTaggingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1916,9 +1891,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) @@ -1988,9 +1962,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePublicAccessBlockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2051,9 +2024,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStorageLensConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2114,9 +2086,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStorageLensConfigurationTaggingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2177,9 +2148,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStorageLensGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2256,9 +2226,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2327,9 +2296,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMultiRegionAccessPointOperationInput.urlPathProvider(_:))) @@ -2391,9 +2359,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DissociateAccessGrantsIdentityCenterInput.urlPathProvider(_:))) @@ -2455,9 +2422,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccessGrantInput.urlPathProvider(_:))) @@ -2519,9 +2485,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccessGrantsInstanceInput.urlPathProvider(_:))) @@ -2583,9 +2548,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccessGrantsInstanceForPrefixInput.urlPathProvider(_:))) @@ -2648,9 +2612,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccessGrantsInstanceResourcePolicyInput.urlPathProvider(_:))) @@ -2712,9 +2675,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccessGrantsLocationInput.urlPathProvider(_:))) @@ -2782,9 +2744,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccessPointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2847,9 +2808,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccessPointConfigurationForObjectLambdaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2916,9 +2876,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccessPointForObjectLambdaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2983,9 +2942,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccessPointPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3050,9 +3008,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccessPointPolicyForObjectLambdaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3113,9 +3070,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccessPointPolicyStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3176,9 +3132,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccessPointPolicyStatusForObjectLambdaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3245,9 +3200,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3326,9 +3280,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketLifecycleConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3395,9 +3348,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3462,9 +3414,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3539,9 +3490,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketTaggingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3608,9 +3558,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBucketVersioningInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3671,9 +3620,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataAccessInput.urlPathProvider(_:))) @@ -3749,9 +3697,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJobTaggingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3820,9 +3767,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMultiRegionAccessPointInput.urlPathProvider(_:))) @@ -3888,9 +3834,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMultiRegionAccessPointPolicyInput.urlPathProvider(_:))) @@ -3956,9 +3901,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMultiRegionAccessPointPolicyStatusInput.urlPathProvider(_:))) @@ -4030,9 +3974,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMultiRegionAccessPointRoutesInput.urlPathProvider(_:))) @@ -4103,9 +4046,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPublicAccessBlockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4166,9 +4108,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStorageLensConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4229,9 +4170,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStorageLensConfigurationTaggingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4292,9 +4232,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStorageLensGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4355,9 +4294,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccessGrantsInput.urlPathProvider(_:))) @@ -4420,9 +4358,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccessGrantsInstancesInput.urlPathProvider(_:))) @@ -4485,9 +4422,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccessGrantsLocationsInput.urlPathProvider(_:))) @@ -4556,9 +4492,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccessPointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4626,9 +4561,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccessPointsForObjectLambdaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4690,9 +4624,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCallerAccessGrantsInput.urlPathProvider(_:))) @@ -4770,9 +4703,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4842,9 +4774,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMultiRegionAccessPointsInput.urlPathProvider(_:))) @@ -4907,9 +4838,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRegionalBucketsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4971,9 +4901,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStorageLensConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5035,9 +4964,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStorageLensGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5099,9 +5027,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5162,9 +5089,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAccessGrantsInstanceResourcePolicyInput.urlPathProvider(_:))) @@ -5231,9 +5157,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAccessPointConfigurationForObjectLambdaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5301,9 +5226,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAccessPointPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5371,9 +5295,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAccessPointPolicyForObjectLambdaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5441,9 +5364,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketLifecycleConfigurationInput.urlPathProvider(_:))) @@ -5512,9 +5434,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketPolicyInput.urlPathProvider(_:))) @@ -5592,9 +5513,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketReplicationInput.urlPathProvider(_:))) @@ -5694,9 +5614,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketTaggingInput.urlPathProvider(_:))) @@ -5774,9 +5693,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketVersioningInput.urlPathProvider(_:))) @@ -5877,9 +5795,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutJobTaggingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5947,9 +5864,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) @@ -6019,9 +5935,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutPublicAccessBlockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6085,9 +6000,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutStorageLensConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6151,9 +6065,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutStorageLensConfigurationTaggingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6227,9 +6140,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(SubmitMultiRegionAccessPointRoutesInput.urlPathProvider(_:))) @@ -6294,9 +6206,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6360,9 +6271,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6424,9 +6334,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccessGrantsLocationInput.urlPathProvider(_:))) @@ -6507,9 +6416,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateJobPriorityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6588,9 +6496,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateJobStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6652,9 +6559,8 @@ extension S3ControlClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStorageLensGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/S3OutpostsClient.swift b/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/S3OutpostsClient.swift index dea5a83de1e..6e415a3e1a2 100644 --- a/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/S3OutpostsClient.swift +++ b/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/S3OutpostsClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -236,9 +235,8 @@ extension S3OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -315,9 +313,8 @@ extension S3OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -391,9 +388,8 @@ extension S3OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -462,9 +458,8 @@ extension S3OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOutpostsWithS3Input.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -538,9 +533,8 @@ extension S3OutpostsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSharedEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSES/Sources/AWSSES/SESClient.swift b/Sources/Services/AWSSES/Sources/AWSSES/SESClient.swift index eb41fdbedfd..a56327ea2b3 100644 --- a/Sources/Services/AWSSES/Sources/AWSSES/SESClient.swift +++ b/Sources/Services/AWSSES/Sources/AWSSES/SESClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -227,9 +226,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CloneReceiptRuleSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -299,9 +297,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConfigurationSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -374,9 +371,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConfigurationSetEventDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -450,9 +446,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConfigurationSetTrackingOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -523,9 +518,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCustomVerificationEmailTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -594,9 +588,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReceiptFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -670,9 +663,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReceiptRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -741,9 +733,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReceiptRuleSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -813,9 +804,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -883,9 +873,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfigurationSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -954,9 +943,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfigurationSetEventDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1025,9 +1013,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfigurationSetTrackingOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1090,9 +1077,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCustomVerificationEmailTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1155,9 +1141,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1220,9 +1205,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIdentityPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1285,9 +1269,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReceiptFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1355,9 +1338,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReceiptRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1425,9 +1407,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReceiptRuleSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1490,9 +1471,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1555,9 +1535,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVerifiedEmailAddressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1620,9 +1599,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeActiveReceiptRuleSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1690,9 +1668,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConfigurationSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1761,9 +1738,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReceiptRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1831,9 +1807,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReceiptRuleSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1896,9 +1871,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountSendingEnabledInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1966,9 +1940,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCustomVerificationEmailTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2040,9 +2013,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIdentityDkimAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2105,9 +2077,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIdentityMailFromDomainAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2170,9 +2141,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIdentityNotificationAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2235,9 +2205,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIdentityPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2300,9 +2269,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIdentityVerificationAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2365,9 +2333,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSendQuotaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2430,9 +2397,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSendStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2500,9 +2466,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2565,9 +2530,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConfigurationSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2630,9 +2594,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCustomVerificationEmailTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2695,9 +2658,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIdentitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2760,9 +2722,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIdentityPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2825,9 +2786,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReceiptFiltersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2890,9 +2850,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReceiptRuleSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2955,9 +2914,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3020,9 +2978,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVerifiedEmailAddressesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3091,9 +3048,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutConfigurationSetDeliveryOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3161,9 +3117,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutIdentityPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3232,9 +3187,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReorderReceiptRuleSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3302,9 +3256,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendBounceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3391,9 +3344,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendBulkTemplatedEmailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3465,9 +3417,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendCustomVerificationEmailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3552,9 +3503,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendEmailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3658,9 +3608,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendRawEmailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3748,9 +3697,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendTemplatedEmailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3818,9 +3766,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetActiveReceiptRuleSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3883,9 +3830,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetIdentityDkimEnabledInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3948,9 +3894,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetIdentityFeedbackForwardingEnabledInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4013,9 +3958,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetIdentityHeadersInNotificationsEnabledInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4078,9 +4022,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetIdentityMailFromDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4143,9 +4086,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetIdentityNotificationTopicInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4214,9 +4156,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetReceiptRulePositionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4286,9 +4227,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestRenderTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4351,9 +4291,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccountSendingEnabledInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4425,9 +4364,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConfigurationSetEventDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4495,9 +4433,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConfigurationSetReputationMetricsEnabledInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4565,9 +4502,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConfigurationSetSendingEnabledInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4641,9 +4577,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConfigurationSetTrackingOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4713,9 +4648,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCustomVerificationEmailTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4788,9 +4722,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateReceiptRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4859,9 +4792,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4933,9 +4865,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(VerifyDomainDkimInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4998,9 +4929,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(VerifyDomainIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5063,9 +4993,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(VerifyEmailAddressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5128,9 +5057,8 @@ extension SESClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(VerifyEmailIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSESv2/Sources/AWSSESv2/SESv2Client.swift b/Sources/Services/AWSSESv2/Sources/AWSSESv2/SESv2Client.swift index e4748d68d75..3ba424a2534 100644 --- a/Sources/Services/AWSSESv2/Sources/AWSSESv2/SESv2Client.swift +++ b/Sources/Services/AWSSESv2/Sources/AWSSESv2/SESv2Client.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetMetricDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -302,9 +300,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -374,9 +371,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConfigurationSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -448,9 +444,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConfigurationSetEventDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -521,9 +516,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -594,9 +588,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateContactListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -668,9 +661,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCustomVerificationEmailTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -742,9 +734,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDedicatedIpPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -820,9 +811,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDeliverabilityTestReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -895,9 +885,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEmailIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -969,9 +958,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEmailIdentityPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1042,9 +1030,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEmailTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1115,9 +1102,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1187,9 +1173,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1260,9 +1245,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfigurationSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1329,9 +1313,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfigurationSetEventDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1398,9 +1381,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1468,9 +1450,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteContactListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1537,9 +1518,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCustomVerificationEmailTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1607,9 +1587,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDedicatedIpPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1677,9 +1656,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEmailIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1746,9 +1724,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEmailIdentityPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1815,9 +1792,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEmailTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1884,9 +1860,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSuppressedDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1952,9 +1927,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2021,9 +1995,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBlacklistReportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2091,9 +2064,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConfigurationSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2160,9 +2132,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConfigurationSetEventDestinationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2229,9 +2200,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2298,9 +2268,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContactListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2367,9 +2336,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCustomVerificationEmailTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2436,9 +2404,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDedicatedIpInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2505,9 +2472,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDedicatedIpPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2574,9 +2540,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDedicatedIpsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2644,9 +2609,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeliverabilityDashboardOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2713,9 +2677,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeliverabilityTestReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2782,9 +2745,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDomainDeliverabilityCampaignInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2851,9 +2813,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDomainStatisticsReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2921,9 +2882,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEmailIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2990,9 +2950,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEmailIdentityPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3059,9 +3018,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEmailTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3128,9 +3086,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3197,9 +3154,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3266,9 +3222,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMessageInsightsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3335,9 +3290,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSuppressedDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3403,9 +3357,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConfigurationSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3472,9 +3425,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListContactListsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3542,9 +3494,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListContactsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3613,9 +3564,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCustomVerificationEmailTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3682,9 +3632,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDedicatedIpPoolsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3752,9 +3701,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeliverabilityTestReportsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3822,9 +3770,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDomainDeliverabilityCampaignsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3891,9 +3838,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEmailIdentitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3960,9 +3906,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEmailTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4029,9 +3974,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4100,9 +4044,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4172,9 +4115,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4244,9 +4186,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSuppressedDestinationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4314,9 +4255,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4383,9 +4323,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAccountDedicatedIpWarmupAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4455,9 +4394,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAccountDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4526,9 +4464,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAccountSendingAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4597,9 +4534,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAccountSuppressionAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4668,9 +4604,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAccountVdmAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4740,9 +4675,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutConfigurationSetDeliveryOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4812,9 +4746,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutConfigurationSetReputationOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4884,9 +4817,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutConfigurationSetSendingOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4956,9 +4888,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutConfigurationSetSuppressionOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5028,9 +4959,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutConfigurationSetTrackingOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5100,9 +5030,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutConfigurationSetVdmOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5172,9 +5101,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDedicatedIpInPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5245,9 +5173,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDedicatedIpPoolScalingAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5317,9 +5244,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDedicatedIpWarmupAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5391,9 +5317,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDeliverabilityDashboardOptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5463,9 +5388,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutEmailIdentityConfigurationSetAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5535,9 +5459,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutEmailIdentityDkimAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5619,9 +5542,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutEmailIdentityDkimSigningAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5691,9 +5613,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutEmailIdentityFeedbackAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5763,9 +5684,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutEmailIdentityMailFromAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5834,9 +5754,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutSuppressedDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5911,9 +5830,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendBulkEmailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5987,9 +5905,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendCustomVerificationEmailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6070,9 +5987,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendEmailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6143,9 +6059,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6215,9 +6130,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestRenderEmailTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6288,9 +6202,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6358,9 +6271,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConfigurationSetEventDestinationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6431,9 +6343,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6504,9 +6415,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContactListInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6576,9 +6486,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCustomVerificationEmailTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6648,9 +6557,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEmailIdentityPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6720,9 +6628,8 @@ extension SESv2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEmailTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSFN/Sources/AWSSFN/SFNClient.swift b/Sources/Services/AWSSFN/Sources/AWSSFN/SFNClient.swift index 36b38373fd2..e7ab5d9b0cd 100644 --- a/Sources/Services/AWSSFN/Sources/AWSSFN/SFNClient.swift +++ b/Sources/Services/AWSSFN/Sources/AWSSFN/SFNClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateActivityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -319,9 +317,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStateMachineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -404,9 +401,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStateMachineAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -475,9 +471,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteActivityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -554,9 +549,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStateMachineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -636,9 +630,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStateMachineAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -713,9 +706,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStateMachineVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -785,9 +777,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeActivityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -860,9 +851,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -932,9 +922,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMapRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1016,9 +1005,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStateMachineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1097,9 +1085,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStateMachineAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1172,9 +1159,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStateMachineForExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1248,9 +1234,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetActivityTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1324,9 +1309,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetExecutionHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1395,9 +1379,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListActivitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1471,9 +1454,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1544,9 +1526,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMapRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1627,9 +1608,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStateMachineAliasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1704,9 +1684,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStateMachineVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1775,9 +1754,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStateMachinesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1847,9 +1825,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1927,9 +1904,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PublishStateMachineVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2010,9 +1986,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(RedriveExecutionInput.urlPathProvider(_:))) @@ -2087,9 +2062,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendTaskFailureInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2160,9 +2134,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendTaskHeartbeatInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2237,9 +2210,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendTaskSuccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2327,9 +2299,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2406,9 +2377,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSyncExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "sync-")) @@ -2482,9 +2452,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2555,9 +2524,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2653,9 +2621,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "sync-")) @@ -2725,9 +2692,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2798,9 +2764,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMapRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2890,9 +2855,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStateMachineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2973,9 +2937,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStateMachineAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3051,9 +3014,8 @@ extension SFNClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ValidateStateMachineDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSMS/Sources/AWSSMS/SMSClient.swift b/Sources/Services/AWSSMS/Sources/AWSSMS/SMSClient.swift index 70f4597f797..af2a3c80b0d 100644 --- a/Sources/Services/AWSSMS/Sources/AWSSMS/SMSClient.swift +++ b/Sources/Services/AWSSMS/Sources/AWSSMS/SMSClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -310,9 +308,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReplicationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -385,9 +382,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -460,9 +456,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppLaunchConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -535,9 +530,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppReplicationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -610,9 +604,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppValidationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -685,9 +678,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReplicationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -759,9 +751,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServerCatalogInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -833,9 +824,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -908,9 +898,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateChangeSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -983,9 +972,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1058,9 +1046,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1133,9 +1120,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAppLaunchConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1208,9 +1194,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAppReplicationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1283,9 +1268,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAppValidationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1358,9 +1342,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAppValidationOutputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1429,9 +1412,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConnectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1502,9 +1484,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReplicationJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1575,9 +1556,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReplicationRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1649,9 +1629,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1724,9 +1703,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportAppCatalogInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1799,9 +1777,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportServerCatalogInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1874,9 +1851,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(LaunchAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1949,9 +1925,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2024,9 +1999,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(NotifyAppValidationOutputInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2099,9 +2073,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAppLaunchConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2174,9 +2147,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAppReplicationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2249,9 +2221,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAppValidationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2324,9 +2295,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartAppReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2399,9 +2369,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartOnDemandAppReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2475,9 +2444,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartOnDemandReplicationRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2550,9 +2518,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopAppReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2625,9 +2592,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TerminateAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2700,9 +2666,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2778,9 +2743,8 @@ extension SMSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateReplicationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSNS/Sources/AWSSNS/SNSClient.swift b/Sources/Services/AWSSNS/Sources/AWSSNS/SNSClient.swift index ec6403d52de..a7d3733b712 100644 --- a/Sources/Services/AWSSNS/Sources/AWSSNS/SNSClient.swift +++ b/Sources/Services/AWSSNS/Sources/AWSSNS/SNSClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddPermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -301,9 +299,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CheckIfPhoneNumberIsOptedOutInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -377,9 +374,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ConfirmSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -468,9 +464,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePlatformApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -541,9 +536,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePlatformEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -616,9 +610,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSMSSandboxPhoneNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -694,9 +687,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTopicInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -766,9 +758,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -838,9 +829,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePlatformApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -913,9 +903,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSMSSandboxPhoneNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -990,9 +979,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTopicInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1064,9 +1052,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataProtectionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1137,9 +1124,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEndpointAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1210,9 +1196,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPlatformApplicationAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1283,9 +1268,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSMSAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1355,9 +1339,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSMSSandboxAccountStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1428,9 +1411,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSubscriptionAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1502,9 +1484,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTopicAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1575,9 +1556,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEndpointsByPlatformApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1649,9 +1629,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOriginationNumbersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1722,9 +1701,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPhoneNumbersOptedOutInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1794,9 +1772,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPlatformApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1868,9 +1845,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSMSSandboxPhoneNumbersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1940,9 +1916,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSubscriptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2013,9 +1988,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSubscriptionsByTopicInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2087,9 +2061,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2159,9 +2132,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTopicsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2232,9 +2204,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(OptInPhoneNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2316,9 +2287,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PublishInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2405,9 +2375,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PublishBatchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2479,9 +2448,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutDataProtectionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2552,9 +2520,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemovePermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2625,9 +2592,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetEndpointAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2698,9 +2664,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetPlatformApplicationAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2771,9 +2736,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetSMSAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2846,9 +2810,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetSubscriptionAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2920,9 +2883,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetTopicAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2997,9 +2959,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SubscribeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3083,9 +3044,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3157,9 +3117,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UnsubscribeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3233,9 +3192,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3308,9 +3266,8 @@ extension SNSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(VerifySMSSandboxPhoneNumberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift b/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift index 9f7118282e9..5c64ebd2a2a 100644 --- a/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift +++ b/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -248,9 +247,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddPermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -333,9 +331,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelMessageMoveTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -425,9 +422,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ChangeMessageVisibilityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -510,9 +506,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ChangeMessageVisibilityBatchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -610,9 +605,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -693,9 +687,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -778,9 +771,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMessageBatchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -859,9 +851,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -941,9 +932,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQueueAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1022,9 +1012,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQueueUrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1103,9 +1092,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeadLetterSourceQueuesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1188,9 +1176,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMessageMoveTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1269,9 +1256,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQueueTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1349,9 +1335,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQueuesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1431,9 +1416,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PurgeQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1539,9 +1523,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReceiveMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1626,9 +1609,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemovePermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1719,9 +1701,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1816,9 +1797,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendMessageBatchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1906,9 +1886,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetQueueAttributesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1993,9 +1972,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMessageMoveTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2085,9 +2063,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2166,9 +2143,8 @@ extension SQSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagQueueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSSM/Sources/AWSSSM/SSMClient.swift b/Sources/Services/AWSSSM/Sources/AWSSSM/SSMClient.swift index ae5eecc59ee..2ae7418fcf6 100644 --- a/Sources/Services/AWSSSM/Sources/AWSSSM/SSMClient.swift +++ b/Sources/Services/AWSSSM/Sources/AWSSSM/SSMClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -247,9 +246,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddTagsToResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -323,9 +321,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateOpsItemRelatedItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -405,9 +402,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelCommandInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -477,9 +473,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelMaintenanceWindowExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -549,9 +544,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateActivationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -640,9 +634,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -730,9 +723,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAssociationBatchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -806,9 +798,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDocumentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -879,9 +870,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMaintenanceWindowInput.urlPathProvider(_:))) @@ -955,9 +945,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateOpsItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1030,9 +1019,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateOpsMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1103,9 +1091,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePatchBaselineInput.urlPathProvider(_:))) @@ -1178,9 +1165,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateResourceDataSyncInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1252,9 +1238,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteActivationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1335,9 +1320,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1409,9 +1393,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDocumentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1484,9 +1467,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInventoryInput.urlPathProvider(_:))) @@ -1556,9 +1538,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMaintenanceWindowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1636,9 +1617,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOpsItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1709,9 +1689,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOpsMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1781,9 +1760,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteParameterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1852,9 +1830,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1924,9 +1901,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePatchBaselineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1997,9 +1973,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourceDataSyncInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2077,9 +2052,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2157,9 +2131,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterManagedInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2229,9 +2202,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterPatchBaselineForPatchGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2302,9 +2274,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterTargetFromMaintenanceWindowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2374,9 +2345,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterTaskFromMaintenanceWindowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2447,9 +2417,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeActivationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2530,9 +2499,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2604,9 +2572,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAssociationExecutionTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2677,9 +2644,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAssociationExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2751,9 +2717,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAutomationExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2826,9 +2791,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAutomationStepExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2897,9 +2861,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAvailablePatchesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2970,9 +2933,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDocumentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3045,9 +3007,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDocumentPermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3126,9 +3087,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEffectiveInstanceAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3200,9 +3160,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEffectivePatchesForPatchBaselineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3281,9 +3240,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstanceAssociationsStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3364,9 +3322,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstanceInformationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3436,9 +3393,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstancePatchStatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3509,9 +3465,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstancePatchStatesForPatchGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3591,9 +3546,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstancePatchesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3676,9 +3630,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstancePropertiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3749,9 +3702,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInventoryDeletionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3821,9 +3773,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMaintenanceWindowExecutionTaskInvocationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3893,9 +3844,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMaintenanceWindowExecutionTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3964,9 +3914,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMaintenanceWindowExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4036,9 +3985,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMaintenanceWindowScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4108,9 +4056,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMaintenanceWindowTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4180,9 +4127,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMaintenanceWindowTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4251,9 +4197,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMaintenanceWindowsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4322,9 +4267,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMaintenanceWindowsForTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4393,9 +4337,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOpsItemsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4468,9 +4411,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4539,9 +4481,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePatchBaselinesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4611,9 +4552,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePatchGroupStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4682,9 +4622,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePatchGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4753,9 +4692,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePatchPropertiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4826,9 +4764,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSessionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4901,9 +4838,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateOpsItemRelatedItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4973,9 +4909,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAutomationExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5047,9 +4982,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCalendarStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5130,9 +5064,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCommandInvocationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5201,9 +5134,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConnectionStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5272,9 +5204,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDefaultPatchBaselineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5345,9 +5276,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeployablePatchSnapshotForInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5418,9 +5348,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDocumentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5495,9 +5424,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInventoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5568,9 +5496,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInventorySchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5640,9 +5567,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMaintenanceWindowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5712,9 +5638,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMaintenanceWindowExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5784,9 +5709,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMaintenanceWindowExecutionTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5856,9 +5780,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMaintenanceWindowExecutionTaskInvocationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5928,9 +5851,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMaintenanceWindowTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6001,9 +5923,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOpsItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6074,9 +5995,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOpsMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6150,9 +6070,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOpsSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6224,9 +6143,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetParameterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6298,9 +6216,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetParameterHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6370,9 +6287,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6446,9 +6362,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetParametersByPathInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6519,9 +6434,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPatchBaselineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6590,9 +6504,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPatchBaselineForPatchGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6663,9 +6576,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcePoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6735,9 +6647,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceSettingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6826,9 +6737,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(LabelParameterVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6899,9 +6809,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssociationVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6971,9 +6880,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7054,9 +6962,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCommandInvocationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7137,9 +7044,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCommandsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7212,9 +7118,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListComplianceItemsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7285,9 +7190,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListComplianceSummariesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7359,9 +7263,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDocumentMetadataHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7432,9 +7335,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDocumentVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7505,9 +7407,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDocumentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7588,9 +7489,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInventoryEntriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7662,9 +7562,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOpsItemEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7734,9 +7633,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOpsItemRelatedItemsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7806,9 +7704,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOpsMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7879,9 +7776,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceComplianceSummariesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7952,9 +7848,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceDataSyncInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8025,9 +7920,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8100,9 +7994,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyDocumentPermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8207,9 +8100,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutComplianceItemsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8297,9 +8189,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutInventoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8382,9 +8273,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutParameterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8463,9 +8353,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8536,9 +8425,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterDefaultPatchBaselineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8611,9 +8499,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterPatchBaselineForPatchGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8685,9 +8572,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterTargetWithMaintenanceWindowInput.urlPathProvider(_:))) @@ -8761,9 +8647,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterTaskWithMaintenanceWindowInput.urlPathProvider(_:))) @@ -8836,9 +8721,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTagsFromResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8909,9 +8793,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetServiceSettingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8981,9 +8864,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResumeSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9055,9 +8937,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendAutomationSignalInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9144,9 +9025,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendCommandInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9216,9 +9096,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartAssociationsOnceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9293,9 +9172,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartAutomationExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9370,9 +9248,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartChangeRequestExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9443,9 +9320,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9516,9 +9392,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopAutomationExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9587,9 +9462,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TerminateSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9661,9 +9535,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UnlabelParameterVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9744,9 +9617,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9828,9 +9700,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAssociationStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9908,9 +9779,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDocumentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9982,9 +9852,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDocumentDefaultVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10056,9 +9925,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDocumentMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10128,9 +9996,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMaintenanceWindowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10215,9 +10082,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMaintenanceWindowTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10302,9 +10168,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMaintenanceWindowTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10382,9 +10247,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateManagedInstanceRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10459,9 +10323,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateOpsItemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10534,9 +10397,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateOpsMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10606,9 +10468,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePatchBaselineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10680,9 +10541,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResourceDataSyncInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10753,9 +10613,8 @@ extension SSMClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServiceSettingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/SSMContactsClient.swift b/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/SSMContactsClient.swift index f7387f50732..f34fc570e77 100644 --- a/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/SSMContactsClient.swift +++ b/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/SSMContactsClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptPageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ActivateContactChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -384,9 +381,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateContactInput.urlPathProvider(_:))) @@ -461,9 +457,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateContactChannelInput.urlPathProvider(_:))) @@ -538,9 +533,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRotationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -614,9 +608,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRotationOverrideInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -689,9 +682,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeactivateContactChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -765,9 +757,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -840,9 +831,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteContactChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -916,9 +906,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRotationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -991,9 +980,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRotationOverrideInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1067,9 +1055,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEngagementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1143,9 +1130,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1219,9 +1205,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1295,9 +1280,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContactChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1370,9 +1354,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContactPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1445,9 +1428,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRotationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1520,9 +1502,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRotationOverrideInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1596,9 +1577,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListContactChannelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1670,9 +1650,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListContactsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1744,9 +1723,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEngagementsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1819,9 +1797,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPageReceiptsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1894,9 +1871,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPageResolutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1969,9 +1945,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPagesByContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2044,9 +2019,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPagesByEngagementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2118,9 +2092,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPreviewRotationShiftsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2193,9 +2166,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRotationOverridesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2269,9 +2241,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRotationShiftsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2344,9 +2315,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRotationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2419,9 +2389,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2495,9 +2464,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutContactPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2572,9 +2540,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendActivationCodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2648,9 +2615,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartEngagementInput.urlPathProvider(_:))) @@ -2724,9 +2690,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopEngagementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2800,9 +2765,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2875,9 +2839,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2952,9 +2915,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3029,9 +2991,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContactChannelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3105,9 +3066,8 @@ extension SSMContactsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRotationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/SSMIncidentsClient.swift b/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/SSMIncidentsClient.swift index 36a5039eb03..0681367365c 100644 --- a/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/SSMIncidentsClient.swift +++ b/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/SSMIncidentsClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetIncidentFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReplicationSetInput.urlPathProvider(_:))) @@ -383,9 +380,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateResponsePlanInput.urlPathProvider(_:))) @@ -459,9 +455,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTimelineEventInput.urlPathProvider(_:))) @@ -533,9 +528,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIncidentRecordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -607,9 +601,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReplicationSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -679,9 +672,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -752,9 +744,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResponsePlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -825,9 +816,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTimelineEventInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -899,9 +889,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIncidentRecordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -971,9 +960,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReplicationSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1043,9 +1031,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcePoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1118,9 +1105,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResponsePlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1190,9 +1176,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTimelineEventInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1262,9 +1247,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIncidentFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1335,9 +1319,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIncidentRecordsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1408,9 +1391,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRelatedItemsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1481,9 +1463,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReplicationSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1554,9 +1535,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResponsePlansInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1628,9 +1608,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1698,9 +1677,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTimelineEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1772,9 +1750,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1847,9 +1824,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartIncidentInput.urlPathProvider(_:))) @@ -1924,9 +1900,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1999,9 +1974,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2071,9 +2045,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDeletionProtectionInput.urlPathProvider(_:))) @@ -2147,9 +2120,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIncidentRecordInput.urlPathProvider(_:))) @@ -2223,9 +2195,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRelatedItemsInput.urlPathProvider(_:))) @@ -2299,9 +2270,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateReplicationSetInput.urlPathProvider(_:))) @@ -2375,9 +2345,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResponsePlanInput.urlPathProvider(_:))) @@ -2451,9 +2420,8 @@ extension SSMIncidentsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTimelineEventInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSSSMQuickSetup/Sources/AWSSSMQuickSetup/SSMQuickSetupClient.swift b/Sources/Services/AWSSSMQuickSetup/Sources/AWSSSMQuickSetup/SSMQuickSetupClient.swift index e0b2de6d8c6..6f418f6c005 100644 --- a/Sources/Services/AWSSSMQuickSetup/Sources/AWSSSMQuickSetup/SSMQuickSetupClient.swift +++ b/Sources/Services/AWSSSMQuickSetup/Sources/AWSSSMQuickSetup/SSMQuickSetupClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension SSMQuickSetupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConfigurationManagerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension SSMQuickSetupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfigurationManagerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -378,9 +375,8 @@ extension SSMQuickSetupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConfigurationManagerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -448,9 +444,8 @@ extension SSMQuickSetupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -519,9 +514,8 @@ extension SSMQuickSetupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConfigurationManagersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -592,9 +586,8 @@ extension SSMQuickSetupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQuickSetupTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -664,9 +657,8 @@ extension SSMQuickSetupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -736,9 +728,8 @@ extension SSMQuickSetupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -811,9 +802,8 @@ extension SSMQuickSetupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -884,9 +874,8 @@ extension SSMQuickSetupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConfigurationDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -959,9 +948,8 @@ extension SSMQuickSetupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConfigurationManagerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1033,9 +1021,8 @@ extension SSMQuickSetupClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServiceSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSSO/Sources/AWSSSO/SSOClient.swift b/Sources/Services/AWSSSO/Sources/AWSSSO/SSOClient.swift index ab611bfb2bd..8878fc0f232 100644 --- a/Sources/Services/AWSSSO/Sources/AWSSSO/SSOClient.swift +++ b/Sources/Services/AWSSSO/Sources/AWSSSO/SSOClient.swift @@ -29,7 +29,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -223,9 +222,8 @@ extension SSOClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRoleCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -293,9 +291,8 @@ extension SSOClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccountRolesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -363,9 +360,8 @@ extension SSOClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -432,9 +428,8 @@ extension SSOClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(LogoutInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/SSOAdminClient.swift b/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/SSOAdminClient.swift index cb538271759..ccf408b6087 100644 --- a/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/SSOAdminClient.swift +++ b/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/SSOAdminClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachCustomerManagedPolicyReferenceToPermissionSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -311,9 +309,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachManagedPolicyToPermissionSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -388,9 +385,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccountAssignmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -465,9 +461,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationInput.urlPathProvider(_:))) @@ -543,9 +538,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationAssignmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -623,9 +617,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInstanceInput.urlPathProvider(_:))) @@ -700,9 +693,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInstanceAccessControlAttributeConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -777,9 +769,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePermissionSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -853,9 +844,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTrustedTokenIssuerInput.urlPathProvider(_:))) @@ -930,9 +920,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccountAssignmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1006,9 +995,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1082,9 +1070,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationAccessScopeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1158,9 +1145,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationAssignmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1234,9 +1220,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationAuthenticationMethodInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1310,9 +1295,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationGrantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1386,9 +1370,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInlinePolicyFromPermissionSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1461,9 +1444,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1537,9 +1519,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInstanceAccessControlAttributeConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1613,9 +1594,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePermissionSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1689,9 +1669,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePermissionsBoundaryFromPermissionSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1765,9 +1744,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTrustedTokenIssuerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1840,9 +1818,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountAssignmentCreationStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1915,9 +1892,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountAssignmentDeletionStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1990,9 +1966,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2065,9 +2040,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeApplicationAssignmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2140,9 +2114,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeApplicationProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2220,9 +2193,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2295,9 +2267,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInstanceAccessControlAttributeConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2370,9 +2341,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePermissionSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2445,9 +2415,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePermissionSetProvisioningStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2520,9 +2489,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTrustedTokenIssuerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2596,9 +2564,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachCustomerManagedPolicyReferenceFromPermissionSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2672,9 +2639,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachManagedPolicyFromPermissionSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2747,9 +2713,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApplicationAccessScopeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2822,9 +2787,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApplicationAssignmentConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2897,9 +2861,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApplicationAuthenticationMethodInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2972,9 +2935,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApplicationGrantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3047,9 +3009,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInlinePolicyForPermissionSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3122,9 +3083,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPermissionsBoundaryForPermissionSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3197,9 +3157,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccountAssignmentCreationStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3272,9 +3231,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccountAssignmentDeletionStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3347,9 +3305,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccountAssignmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3422,9 +3379,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccountAssignmentsForPrincipalInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3497,9 +3453,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccountsForProvisionedPermissionSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3572,9 +3527,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationAccessScopesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3647,9 +3601,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationAssignmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3722,9 +3675,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationAssignmentsForPrincipalInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3797,9 +3749,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationAuthenticationMethodsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3872,9 +3823,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationGrantsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3946,9 +3896,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationProvidersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4020,9 +3969,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4095,9 +4043,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCustomerManagedPolicyReferencesInPermissionSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4169,9 +4116,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4244,9 +4190,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListManagedPoliciesInPermissionSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4319,9 +4264,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPermissionSetProvisioningStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4394,9 +4338,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPermissionSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4469,9 +4412,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPermissionSetsProvisionedToAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4544,9 +4486,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4618,9 +4559,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTrustedTokenIssuersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4694,9 +4634,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ProvisionPermissionSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4770,9 +4709,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutApplicationAccessScopeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4846,9 +4784,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutApplicationAssignmentConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4922,9 +4859,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutApplicationAuthenticationMethodInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4998,9 +4934,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutApplicationGrantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5075,9 +5010,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutInlinePolicyToPermissionSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5151,9 +5085,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutPermissionsBoundaryToPermissionSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5228,9 +5161,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5304,9 +5236,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5380,9 +5311,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5455,9 +5385,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5531,9 +5460,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateInstanceAccessControlAttributeConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5607,9 +5535,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePermissionSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5683,9 +5610,8 @@ extension SSOAdminClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTrustedTokenIssuerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/SSOOIDCClient.swift b/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/SSOOIDCClient.swift index 260fd1292c1..6bf4e185e37 100644 --- a/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/SSOOIDCClient.swift +++ b/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/SSOOIDCClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension SSOOIDCClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -315,9 +313,8 @@ extension SSOOIDCClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTokenWithIAMInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -389,9 +386,8 @@ extension SSOOIDCClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterClientInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -461,9 +457,8 @@ extension SSOOIDCClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDeviceAuthorizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSTS/Sources/AWSSTS/Models.swift b/Sources/Services/AWSSTS/Sources/AWSSTS/Models.swift index 82093a73d06..352bf7939a7 100644 --- a/Sources/Services/AWSSTS/Sources/AWSSTS/Models.swift +++ b/Sources/Services/AWSSTS/Sources/AWSSTS/Models.swift @@ -27,8 +27,6 @@ import enum SmithyReadWrite.ReaderError @_spi(SmithyTimestamps) import enum SmithyTimestamps.TimestampFormat import protocol AWSClientRuntime.AWSServiceError import protocol ClientRuntime.HTTPError -import protocol ClientRuntime.HttpInterceptor -import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.ModeledError @_spi(SmithyReadWrite) import protocol SmithyReadWrite.SmithyReader @_spi(SmithyReadWrite) import protocol SmithyReadWrite.SmithyWriter @@ -1402,9 +1400,8 @@ extension GetCallerIdentityInput { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCallerIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift b/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift index 0fb06d22786..119ddfe572f 100644 --- a/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift +++ b/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift @@ -35,7 +35,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -243,9 +242,8 @@ extension STSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssumeRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -324,9 +322,8 @@ extension STSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssumeRoleWithSAMLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -406,9 +403,8 @@ extension STSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssumeRoleWithWebIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -486,9 +482,8 @@ extension STSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DecodeAuthorizationMessageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -551,9 +546,8 @@ extension STSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccessKeyInfoInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -616,9 +610,8 @@ extension STSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCallerIdentityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -695,9 +688,8 @@ extension STSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFederationTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -772,9 +764,8 @@ extension STSClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSessionTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSWF/Sources/AWSSWF/SWFClient.swift b/Sources/Services/AWSSWF/Sources/AWSSWF/SWFClient.swift index cb8b7c86999..a95413d43cc 100644 --- a/Sources/Services/AWSSWF/Sources/AWSSWF/SWFClient.swift +++ b/Sources/Services/AWSSWF/Sources/AWSSWF/SWFClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -246,9 +245,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CountClosedWorkflowExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -336,9 +334,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CountOpenWorkflowExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -417,9 +414,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CountPendingActivityTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -498,9 +494,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CountPendingDecisionTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -587,9 +582,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteActivityTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -676,9 +670,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkflowTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -765,9 +758,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeprecateActivityTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -847,9 +839,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeprecateDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -936,9 +927,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeprecateWorkflowTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1024,9 +1014,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeActivityTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1105,9 +1094,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1186,9 +1174,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorkflowExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1274,9 +1261,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorkflowTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1355,9 +1341,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkflowExecutionHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1436,9 +1421,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListActivityTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1526,9 +1510,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListClosedWorkflowExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1606,9 +1589,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDomainsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1696,9 +1678,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOpenWorkflowExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1769,9 +1750,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1850,9 +1830,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkflowTypesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1932,9 +1911,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PollForActivityTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2014,9 +1992,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PollForDecisionTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2095,9 +2072,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RecordActivityTaskHeartbeatInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2187,9 +2163,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterActivityTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2270,9 +2245,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2362,9 +2336,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterWorkflowTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2443,9 +2416,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RequestCancelWorkflowExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2524,9 +2496,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RespondActivityTaskCanceledInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2605,9 +2576,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RespondActivityTaskCompletedInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2686,9 +2656,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RespondActivityTaskFailedInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2758,9 +2727,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RespondDecisionTaskCompletedInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2839,9 +2807,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SignalWorkflowExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2943,9 +2910,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartWorkflowExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3017,9 +2983,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3098,9 +3063,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TerminateWorkflowExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3187,9 +3151,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UndeprecateActivityTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3269,9 +3232,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UndeprecateDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3358,9 +3320,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UndeprecateWorkflowTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3431,9 +3392,8 @@ extension SWFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift b/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift index 0b6213138e0..0674d8d84ea 100644 --- a/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift +++ b/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -295,9 +293,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -367,9 +364,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateTrialComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -433,9 +429,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDescribeModelPackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -504,9 +499,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -570,9 +564,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAlgorithmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -642,9 +635,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -713,9 +705,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAppImageConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -784,9 +775,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateArtifactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -856,9 +846,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAutoMLJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -928,9 +917,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAutoMLJobV2Input.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1000,9 +988,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1066,9 +1053,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCodeRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1149,9 +1135,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCompilationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1220,9 +1205,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateContextInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1292,9 +1276,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataQualityJobDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1364,9 +1347,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDeviceFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1443,9 +1425,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1514,9 +1495,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEdgeDeploymentPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1585,9 +1565,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEdgeDeploymentStageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1656,9 +1635,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEdgePackagingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1731,9 +1709,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1802,9 +1779,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEndpointConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1873,9 +1849,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateExperimentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1945,9 +1920,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFeatureGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2017,9 +1991,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFlowDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2089,9 +2062,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateHubInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2162,9 +2134,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateHubContentReferenceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2234,9 +2205,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateHumanTaskUiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2306,9 +2276,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateHyperParameterTuningJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2378,9 +2347,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2451,9 +2419,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateImageVersionInput.urlPathProvider(_:))) @@ -2523,9 +2490,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInferenceComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2595,9 +2561,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInferenceExperimentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2667,9 +2632,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInferenceRecommendationsJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2748,9 +2712,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLabelingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2819,9 +2782,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMlflowTrackingServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2890,9 +2852,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2962,9 +2923,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateModelBiasJobDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3034,9 +2994,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateModelCardInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3107,9 +3066,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateModelCardExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3179,9 +3137,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateModelExplainabilityJobDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3255,9 +3212,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateModelPackageInput.urlPathProvider(_:))) @@ -3327,9 +3283,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateModelPackageGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3399,9 +3354,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateModelQualityJobDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3471,9 +3425,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMonitoringScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3551,9 +3504,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNotebookInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3622,9 +3574,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNotebookInstanceLifecycleConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3694,9 +3645,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateOptimizationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3767,9 +3717,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePipelineInput.urlPathProvider(_:))) @@ -3839,9 +3788,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePresignedDomainUrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3910,9 +3858,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePresignedMlflowTrackingServerUrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3976,9 +3923,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePresignedNotebookInstanceUrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4049,9 +3995,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProcessingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4120,9 +4065,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4192,9 +4136,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSpaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4263,9 +4206,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStudioLifecycleConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4359,9 +4301,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTrainingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4445,9 +4386,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTransformJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4517,9 +4457,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTrialInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4588,9 +4527,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTrialComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4660,9 +4598,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4726,9 +4663,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkforceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4798,9 +4734,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkteamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4869,9 +4804,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4940,9 +4874,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAlgorithmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5012,9 +4945,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5083,9 +5015,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppImageConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5154,9 +5085,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteArtifactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5225,9 +5155,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5297,9 +5226,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5363,9 +5291,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCodeRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5434,9 +5361,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCompilationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5505,9 +5431,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteContextInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5576,9 +5501,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataQualityJobDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5647,9 +5571,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDeviceFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5719,9 +5642,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5790,9 +5712,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEdgeDeploymentPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5861,9 +5782,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEdgeDeploymentStageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5927,9 +5847,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5993,9 +5912,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEndpointConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6064,9 +5982,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteExperimentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6135,9 +6052,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFeatureGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6207,9 +6123,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFlowDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6279,9 +6194,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteHubInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6351,9 +6265,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteHubContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6422,9 +6335,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteHubContentReferenceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6493,9 +6405,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteHumanTaskUiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6559,9 +6470,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteHyperParameterTuningJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6631,9 +6541,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6703,9 +6612,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteImageVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6769,9 +6677,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInferenceComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6841,9 +6748,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInferenceExperimentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6912,9 +6818,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMlflowTrackingServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6978,9 +6883,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7049,9 +6953,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteModelBiasJobDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7121,9 +7024,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteModelCardInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7192,9 +7094,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteModelExplainabilityJobDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7263,9 +7164,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteModelPackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7334,9 +7234,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteModelPackageGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7400,9 +7299,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteModelPackageGroupPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7471,9 +7369,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteModelQualityJobDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7542,9 +7439,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMonitoringScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7608,9 +7504,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNotebookInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7674,9 +7569,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNotebookInstanceLifecycleConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7745,9 +7639,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOptimizationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7817,9 +7710,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePipelineInput.urlPathProvider(_:))) @@ -7889,9 +7781,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7961,9 +7852,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSpaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8033,9 +7923,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteStudioLifecycleConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8099,9 +7988,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8170,9 +8058,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTrialInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8241,9 +8128,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTrialComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8313,9 +8199,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8379,9 +8264,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkforceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8450,9 +8334,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkteamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8516,9 +8399,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterDevicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8587,9 +8469,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8653,9 +8534,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAlgorithmInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8724,9 +8604,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8795,9 +8674,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAppImageConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8866,9 +8744,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeArtifactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -8937,9 +8814,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAutoMLJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9008,9 +8884,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAutoMLJobV2Input.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9079,9 +8954,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9150,9 +9024,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClusterNodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9216,9 +9089,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCodeRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9287,9 +9159,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCompilationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9358,9 +9229,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeContextInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9429,9 +9299,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDataQualityJobDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9500,9 +9369,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9571,9 +9439,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDeviceFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9642,9 +9509,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9713,9 +9579,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEdgeDeploymentPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9784,9 +9649,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEdgePackagingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9850,9 +9714,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9916,9 +9779,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEndpointConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -9987,9 +9849,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeExperimentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10058,9 +9919,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFeatureGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10129,9 +9989,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFeatureMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10200,9 +10059,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFlowDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10271,9 +10129,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeHubInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10342,9 +10199,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeHubContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10413,9 +10269,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeHumanTaskUiInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10484,9 +10339,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeHyperParameterTuningJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10555,9 +10409,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10626,9 +10479,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeImageVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10692,9 +10544,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInferenceComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10763,9 +10614,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInferenceExperimentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10834,9 +10684,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInferenceRecommendationsJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10905,9 +10754,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLabelingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -10976,9 +10824,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLineageGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11047,9 +10894,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMlflowTrackingServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11113,9 +10959,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11184,9 +11029,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeModelBiasJobDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11255,9 +11099,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeModelCardInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11326,9 +11169,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeModelCardExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11397,9 +11239,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeModelExplainabilityJobDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11463,9 +11304,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeModelPackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11529,9 +11369,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeModelPackageGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11600,9 +11439,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeModelQualityJobDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11671,9 +11509,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMonitoringScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11737,9 +11574,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNotebookInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11803,9 +11639,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNotebookInstanceLifecycleConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11874,9 +11709,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOptimizationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -11945,9 +11779,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12016,9 +11849,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePipelineDefinitionForExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12087,9 +11919,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePipelineExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12158,9 +11989,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProcessingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12224,9 +12054,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12295,9 +12124,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSpaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12366,9 +12194,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStudioLifecycleConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12432,9 +12259,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSubscribedWorkteamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12503,9 +12329,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTrainingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12574,9 +12399,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTransformJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12645,9 +12469,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTrialInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12716,9 +12539,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTrialComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12788,9 +12610,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUserProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12854,9 +12675,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorkforceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12920,9 +12740,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorkteamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -12986,9 +12805,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableSagemakerServicecatalogPortfolioInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13057,9 +12875,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateTrialComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13123,9 +12940,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableSagemakerServicecatalogPortfolioInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13189,9 +13005,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeviceFleetReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13260,9 +13075,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLineageGroupPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13326,9 +13140,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetModelPackageGroupPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13392,9 +13205,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSagemakerServicecatalogPortfolioStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13463,9 +13275,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetScalingConfigurationRecommendationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13529,9 +13340,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSearchSuggestionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13602,9 +13412,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportHubContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13673,9 +13482,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13739,9 +13547,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAlgorithmsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13810,9 +13617,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAliasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13876,9 +13682,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppImageConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -13942,9 +13747,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14013,9 +13817,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListArtifactsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14084,9 +13887,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14150,9 +13952,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAutoMLJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14221,9 +14022,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCandidatesForAutoMLJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14292,9 +14092,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListClusterNodesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14358,9 +14157,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14424,9 +14222,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCodeRepositoriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14490,9 +14287,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCompilationJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14561,9 +14357,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListContextsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14627,9 +14422,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataQualityJobDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14693,9 +14487,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeviceFleetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14759,9 +14552,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDevicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14825,9 +14617,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDomainsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14891,9 +14682,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEdgeDeploymentPlansInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -14957,9 +14747,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEdgePackagingJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15023,9 +14812,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEndpointConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15089,9 +14877,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15155,9 +14942,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExperimentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15221,9 +15007,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFeatureGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15287,9 +15072,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFlowDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15358,9 +15142,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHubContentVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15429,9 +15212,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHubContentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15495,9 +15277,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHubsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15561,9 +15342,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHumanTaskUisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15627,9 +15407,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHyperParameterTuningJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15698,9 +15477,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImageVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15764,9 +15542,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15830,9 +15607,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInferenceComponentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15896,9 +15672,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInferenceExperimentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -15967,9 +15742,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInferenceRecommendationsJobStepsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16033,9 +15807,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInferenceRecommendationsJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16099,9 +15872,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLabelingJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16170,9 +15942,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLabelingJobsForWorkteamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16236,9 +16007,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLineageGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16302,9 +16072,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMlflowTrackingServersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16368,9 +16137,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListModelBiasJobDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16434,9 +16202,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListModelCardExportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16505,9 +16272,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListModelCardVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16571,9 +16337,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListModelCardsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16637,9 +16402,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListModelExplainabilityJobDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16703,9 +16467,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListModelMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16769,9 +16532,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListModelPackageGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16835,9 +16597,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListModelPackagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16901,9 +16662,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListModelQualityJobDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -16967,9 +16727,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListModelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17038,9 +16797,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMonitoringAlertHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17109,9 +16867,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMonitoringAlertsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17175,9 +16932,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMonitoringExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17241,9 +16997,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMonitoringSchedulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17307,9 +17062,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNotebookInstanceLifecycleConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17373,9 +17127,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNotebookInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17439,9 +17192,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOptimizationJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17510,9 +17262,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPipelineExecutionStepsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17581,9 +17332,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPipelineExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17652,9 +17402,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPipelineParametersForExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17718,9 +17467,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPipelinesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17784,9 +17532,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProcessingJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17850,9 +17597,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17916,9 +17662,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceCatalogsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -17982,9 +17727,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSpacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18048,9 +17792,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStageDevicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18119,9 +17862,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStudioLifecycleConfigsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18185,9 +17927,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSubscribedWorkteamsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18251,9 +17992,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18317,9 +18057,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTrainingJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18388,9 +18127,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTrainingJobsForHyperParameterTuningJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18454,9 +18192,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTransformJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18531,9 +18268,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTrialComponentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18602,9 +18338,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTrialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18668,9 +18403,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUserProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18734,9 +18468,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkforcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18800,9 +18533,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkteamsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18871,9 +18603,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutModelPackageGroupPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -18942,9 +18673,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(QueryLineageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19013,9 +18743,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterDevicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19084,9 +18813,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RenderUiTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19157,9 +18885,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(RetryPipelineExecutionInput.urlPathProvider(_:))) @@ -19224,9 +18951,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19297,9 +19023,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendPipelineExecutionStepFailureInput.urlPathProvider(_:))) @@ -19371,9 +19096,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendPipelineExecutionStepSuccessInput.urlPathProvider(_:))) @@ -19438,9 +19162,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartEdgeDeploymentStageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19510,9 +19233,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartInferenceExperimentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19582,9 +19304,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMlflowTrackingServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19653,9 +19374,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMonitoringScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19724,9 +19444,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartNotebookInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19797,9 +19516,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartPipelineExecutionInput.urlPathProvider(_:))) @@ -19869,9 +19587,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopAutoMLJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -19940,9 +19657,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopCompilationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20006,9 +19722,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopEdgeDeploymentStageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20072,9 +19787,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopEdgePackagingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20143,9 +19857,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopHyperParameterTuningJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20215,9 +19928,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopInferenceExperimentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20286,9 +19998,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopInferenceRecommendationsJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20357,9 +20068,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopLabelingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20429,9 +20139,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopMlflowTrackingServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20500,9 +20209,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopMonitoringScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20566,9 +20274,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopNotebookInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20637,9 +20344,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopOptimizationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20709,9 +20415,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopPipelineExecutionInput.urlPathProvider(_:))) @@ -20781,9 +20486,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopProcessingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20852,9 +20556,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopTrainingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20923,9 +20626,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopTransformJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -20995,9 +20697,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21066,9 +20767,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAppImageConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21138,9 +20838,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateArtifactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21211,9 +20910,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21283,9 +20981,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateClusterSoftwareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21354,9 +21051,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCodeRepositoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21426,9 +21122,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContextInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21497,9 +21192,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDeviceFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21563,9 +21257,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDevicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21636,9 +21329,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21707,9 +21399,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21778,9 +21469,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEndpointWeightsAndCapacitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21850,9 +21540,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateExperimentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21922,9 +21611,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFeatureGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -21993,9 +21681,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFeatureMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22064,9 +21751,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateHubInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22136,9 +21822,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22208,9 +21893,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateImageVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22279,9 +21963,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateInferenceComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22350,9 +22033,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateInferenceComponentRuntimeConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22422,9 +22104,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateInferenceExperimentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22495,9 +22176,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMlflowTrackingServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22568,9 +22248,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateModelCardInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22639,9 +22318,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateModelPackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22711,9 +22389,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMonitoringAlertInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22783,9 +22460,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMonitoringScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22854,9 +22530,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNotebookInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22925,9 +22600,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNotebookInstanceLifecycleConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -22997,9 +22671,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePipelineInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23069,9 +22742,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePipelineExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23140,9 +22812,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProjectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23213,9 +22884,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSpaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23285,9 +22955,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTrainingJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23357,9 +23026,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTrialInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23429,9 +23097,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTrialComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23502,9 +23169,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23573,9 +23239,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorkforceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -23644,9 +23309,8 @@ extension SageMakerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorkteamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/SageMakerA2IRuntimeClient.swift b/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/SageMakerA2IRuntimeClient.swift index ea8c0ffdd53..4f1f453f283 100644 --- a/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/SageMakerA2IRuntimeClient.swift +++ b/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/SageMakerA2IRuntimeClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension SageMakerA2IRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteHumanLoopInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -300,9 +298,8 @@ extension SageMakerA2IRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeHumanLoopInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -370,9 +367,8 @@ extension SageMakerA2IRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHumanLoopsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -442,9 +438,8 @@ extension SageMakerA2IRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartHumanLoopInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -515,9 +510,8 @@ extension SageMakerA2IRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopHumanLoopInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/SageMakerFeatureStoreRuntimeClient.swift b/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/SageMakerFeatureStoreRuntimeClient.swift index 0648930f4f5..f633c3406c0 100644 --- a/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/SageMakerFeatureStoreRuntimeClient.swift +++ b/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/SageMakerFeatureStoreRuntimeClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension SageMakerFeatureStoreRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetRecordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -309,9 +307,8 @@ extension SageMakerFeatureStoreRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRecordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -381,9 +378,8 @@ extension SageMakerFeatureStoreRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRecordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -452,9 +448,8 @@ extension SageMakerFeatureStoreRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRecordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/SageMakerGeospatialClient.swift b/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/SageMakerGeospatialClient.swift index 0ac32575829..0b043304619 100644 --- a/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/SageMakerGeospatialClient.swift +++ b/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/SageMakerGeospatialClient.swift @@ -32,7 +32,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension SageMakerGeospatialClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEarthObservationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension SageMakerGeospatialClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVectorEnrichmentJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -379,9 +376,8 @@ extension SageMakerGeospatialClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportEarthObservationJobInput.urlPathProvider(_:))) @@ -456,9 +452,8 @@ extension SageMakerGeospatialClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportVectorEnrichmentJobInput.urlPathProvider(_:))) @@ -531,9 +526,8 @@ extension SageMakerGeospatialClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEarthObservationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -602,9 +596,8 @@ extension SageMakerGeospatialClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRasterDataCollectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -673,9 +666,8 @@ extension SageMakerGeospatialClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -745,9 +737,8 @@ extension SageMakerGeospatialClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVectorEnrichmentJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -816,9 +807,8 @@ extension SageMakerGeospatialClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEarthObservationJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -890,9 +880,8 @@ extension SageMakerGeospatialClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRasterDataCollectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -962,9 +951,8 @@ extension SageMakerGeospatialClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1033,9 +1021,8 @@ extension SageMakerGeospatialClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVectorEnrichmentJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1107,9 +1094,8 @@ extension SageMakerGeospatialClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchRasterDataCollectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1183,9 +1169,8 @@ extension SageMakerGeospatialClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartEarthObservationJobInput.urlPathProvider(_:))) @@ -1260,9 +1245,8 @@ extension SageMakerGeospatialClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartVectorEnrichmentJobInput.urlPathProvider(_:))) @@ -1336,9 +1320,8 @@ extension SageMakerGeospatialClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopEarthObservationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1411,9 +1394,8 @@ extension SageMakerGeospatialClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopVectorEnrichmentJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1485,9 +1467,8 @@ extension SageMakerGeospatialClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1559,9 +1540,8 @@ extension SageMakerGeospatialClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/SageMakerMetricsClient.swift b/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/SageMakerMetricsClient.swift index 260c61294d9..ebb1c6aad06 100644 --- a/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/SageMakerMetricsClient.swift +++ b/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/SageMakerMetricsClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -220,9 +219,8 @@ extension SageMakerMetricsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchPutMetricsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/SageMakerRuntimeClient.swift b/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/SageMakerRuntimeClient.swift index b876d15509a..475a1845f17 100644 --- a/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/SageMakerRuntimeClient.swift +++ b/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/SageMakerRuntimeClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension SageMakerRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InvokeEndpointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -304,9 +302,8 @@ extension SageMakerRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InvokeEndpointAsyncInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -384,9 +381,8 @@ extension SageMakerRuntimeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InvokeEndpointWithResponseStreamInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/SagemakerEdgeClient.swift b/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/SagemakerEdgeClient.swift index ee6f6e16ee8..42756268368 100644 --- a/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/SagemakerEdgeClient.swift +++ b/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/SagemakerEdgeClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -225,9 +224,8 @@ extension SagemakerEdgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeploymentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -295,9 +293,8 @@ extension SagemakerEdgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeviceRegistrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -365,9 +362,8 @@ extension SagemakerEdgeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendHeartbeatInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/SavingsplansClient.swift b/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/SavingsplansClient.swift index 2ac933dda9f..afe36421e44 100644 --- a/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/SavingsplansClient.swift +++ b/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/SavingsplansClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension SavingsplansClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSavingsPlanInput.urlPathProvider(_:))) @@ -304,9 +302,8 @@ extension SavingsplansClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteQueuedSavingsPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -375,9 +372,8 @@ extension SavingsplansClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSavingsPlanRatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -446,9 +442,8 @@ extension SavingsplansClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSavingsPlansInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -517,9 +512,8 @@ extension SavingsplansClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSavingsPlansOfferingRatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -588,9 +582,8 @@ extension SavingsplansClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSavingsPlansOfferingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -660,9 +653,8 @@ extension SavingsplansClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -733,9 +725,8 @@ extension SavingsplansClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReturnSavingsPlanInput.urlPathProvider(_:))) @@ -807,9 +798,8 @@ extension SavingsplansClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -879,9 +869,8 @@ extension SavingsplansClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSScheduler/Sources/AWSScheduler/SchedulerClient.swift b/Sources/Services/AWSScheduler/Sources/AWSScheduler/SchedulerClient.swift index 37c4e487526..d8cbe262d29 100644 --- a/Sources/Services/AWSScheduler/Sources/AWSScheduler/SchedulerClient.swift +++ b/Sources/Services/AWSScheduler/Sources/AWSScheduler/SchedulerClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension SchedulerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateScheduleInput.urlPathProvider(_:))) @@ -308,9 +306,8 @@ extension SchedulerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateScheduleGroupInput.urlPathProvider(_:))) @@ -383,9 +380,8 @@ extension SchedulerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteScheduleInput.urlPathProvider(_:))) @@ -456,9 +452,8 @@ extension SchedulerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteScheduleGroupInput.urlPathProvider(_:))) @@ -528,9 +523,8 @@ extension SchedulerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -599,9 +593,8 @@ extension SchedulerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetScheduleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -668,9 +661,8 @@ extension SchedulerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListScheduleGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -739,9 +731,8 @@ extension SchedulerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSchedulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -810,9 +801,8 @@ extension SchedulerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -881,9 +871,8 @@ extension SchedulerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -955,9 +944,8 @@ extension SchedulerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1027,9 +1015,8 @@ extension SchedulerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateScheduleInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSSchemas/Sources/AWSSchemas/SchemasClient.swift b/Sources/Services/AWSSchemas/Sources/AWSSchemas/SchemasClient.swift index d75ad274187..6d1501e0179 100644 --- a/Sources/Services/AWSSchemas/Sources/AWSSchemas/SchemasClient.swift +++ b/Sources/Services/AWSSchemas/Sources/AWSSchemas/SchemasClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDiscovererInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -308,9 +306,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRegistryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -381,9 +378,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -456,9 +452,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDiscovererInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -528,9 +523,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRegistryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -600,9 +594,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -673,9 +666,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -745,9 +737,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSchemaVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -817,9 +808,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCodeBindingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -890,9 +880,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDiscovererInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -962,9 +951,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRegistryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1034,9 +1022,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1107,9 +1094,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1180,9 +1166,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCodeBindingSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1252,9 +1237,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDiscoveredSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1327,9 +1311,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1399,9 +1382,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDiscoverersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1471,9 +1453,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRegistriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1544,9 +1525,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSchemaVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1616,9 +1596,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSchemasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1687,9 +1666,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1760,9 +1738,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutCodeBindingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1834,9 +1811,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1909,9 +1885,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchSchemasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1982,9 +1957,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDiscovererInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2054,9 +2028,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopDiscovererInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2124,9 +2097,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2197,9 +2169,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2270,9 +2241,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDiscovererInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2345,9 +2315,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRegistryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2419,9 +2388,8 @@ extension SchemasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientTokenId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSchemaInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/SecretsManagerClient.swift b/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/SecretsManagerClient.swift index 385b92fa9d7..2a91853a126 100644 --- a/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/SecretsManagerClient.swift +++ b/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/SecretsManagerClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -239,9 +238,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetSecretValueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -319,9 +317,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelRotateSecretInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -405,9 +402,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSecretInput.urlPathProvider(_:))) @@ -486,9 +482,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -566,9 +561,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSecretInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -639,9 +633,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSecretInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -718,9 +711,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRandomPasswordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -798,9 +790,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -879,9 +870,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSecretValueInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -953,9 +943,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSecretVersionIdsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1033,9 +1022,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSecretsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1115,9 +1103,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1199,9 +1186,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutSecretValueInput.urlPathProvider(_:))) @@ -1280,9 +1266,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveRegionsFromReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1360,9 +1345,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ReplicateSecretToRegionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1440,9 +1424,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreSecretInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1520,9 +1503,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(RotateSecretInput.urlPathProvider(_:))) @@ -1601,9 +1583,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopReplicationToReplicaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1681,9 +1662,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1761,9 +1741,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1847,9 +1826,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSecretInput.urlPathProvider(_:))) @@ -1929,9 +1907,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSecretVersionStageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2019,9 +1996,8 @@ extension SecretsManagerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ValidateResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/SecurityHubClient.swift b/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/SecurityHubClient.swift index 60c4a2c283a..de346856dba 100644 --- a/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/SecurityHubClient.swift +++ b/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/SecurityHubClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptAdministratorInvitationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptInvitationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -380,9 +377,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteAutomationRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -454,9 +450,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDisableStandardsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -528,9 +523,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchEnableStandardsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -603,9 +597,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetAutomationRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -678,9 +671,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetConfigurationPolicyAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -751,9 +743,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetSecurityControlsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -824,9 +815,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetStandardsControlAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -928,9 +918,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchImportFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1002,9 +991,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchUpdateAutomationRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1096,9 +1084,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchUpdateFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1170,9 +1157,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchUpdateStandardsControlAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1244,9 +1230,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateActionTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1318,9 +1303,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAutomationRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1393,9 +1377,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConfigurationPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1467,9 +1450,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFindingAggregatorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1541,9 +1523,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateInsightInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1630,9 +1611,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1703,9 +1683,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeclineInvitationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1776,9 +1755,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteActionTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1849,9 +1827,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConfigurationPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1921,9 +1898,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFindingAggregatorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1992,9 +1968,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInsightInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2063,9 +2038,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInvitationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2137,9 +2111,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2210,9 +2183,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeActionTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2284,9 +2256,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeHubInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2355,9 +2326,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOrganizationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2425,9 +2395,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProductsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2495,9 +2464,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStandardsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2566,9 +2534,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStandardsControlsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2638,9 +2605,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableImportFindingsForProductInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2709,9 +2675,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableOrganizationAdminAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2783,9 +2748,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableSecurityHubInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2854,9 +2818,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateFromAdministratorAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2926,9 +2889,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateFromMasterAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2998,9 +2960,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3072,9 +3033,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableImportFindingsForProductInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3146,9 +3106,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableOrganizationAdminAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3227,9 +3186,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableSecurityHubInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3301,9 +3259,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAdministratorAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3373,9 +3330,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConfigurationPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3445,9 +3401,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConfigurationPolicyAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3518,9 +3473,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEnabledStandardsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3593,9 +3547,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFindingAggregatorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3663,9 +3616,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFindingHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3736,9 +3688,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3810,9 +3761,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInsightResultsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3881,9 +3831,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInsightsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3954,9 +3903,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInvitationsCountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4026,9 +3974,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMasterAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4097,9 +4044,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4171,9 +4117,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSecurityControlDefinitionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4243,9 +4188,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InviteMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4317,9 +4261,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAutomationRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4389,9 +4332,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConfigurationPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4461,9 +4403,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConfigurationPolicyAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4533,9 +4474,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnabledProductsForImportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4605,9 +4545,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFindingAggregatorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4676,9 +4615,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInvitationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4747,9 +4685,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4818,9 +4755,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOrganizationAdminAccountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4889,9 +4825,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSecurityControlDefinitionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4960,9 +4895,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStandardsControlAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5030,9 +4964,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5102,9 +5035,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartConfigurationPolicyAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5177,9 +5109,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartConfigurationPolicyDisassociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5249,9 +5180,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5321,9 +5251,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5392,9 +5321,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateActionTargetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5468,9 +5396,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConfigurationPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5543,9 +5470,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFindingAggregatorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5617,9 +5543,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFindingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5691,9 +5616,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateInsightInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5767,9 +5691,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateOrganizationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5843,9 +5766,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSecurityControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5918,9 +5840,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSecurityHubConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5992,9 +5913,8 @@ extension SecurityHubClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateStandardsControlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/SecurityLakeClient.swift b/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/SecurityLakeClient.swift index 603f35884b6..bdcc83ef518 100644 --- a/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/SecurityLakeClient.swift +++ b/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/SecurityLakeClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAwsLogSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCustomLogSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -381,9 +378,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataLakeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -456,9 +452,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataLakeExceptionSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -531,9 +526,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataLakeOrganizationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -606,9 +600,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSubscriberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -681,9 +674,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSubscriberNotificationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -756,9 +748,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAwsLogSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -831,9 +822,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCustomLogSourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -904,9 +894,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataLakeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -979,9 +968,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataLakeExceptionSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1051,9 +1039,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataLakeOrganizationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1126,9 +1113,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSubscriberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1198,9 +1184,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSubscriberNotificationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1270,9 +1255,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterDataLakeDelegatedAdministratorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1342,9 +1326,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataLakeExceptionSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1414,9 +1397,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataLakeOrganizationConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1486,9 +1468,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataLakeSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1561,9 +1542,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSubscriberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1633,9 +1613,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataLakeExceptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1708,9 +1687,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataLakesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1781,9 +1759,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLogSourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1856,9 +1833,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSubscribersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1929,9 +1905,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2001,9 +1976,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterDataLakeDelegatedAdministratorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2076,9 +2050,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2151,9 +2124,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2224,9 +2196,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDataLakeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2299,9 +2270,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDataLakeExceptionSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2374,9 +2344,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSubscriberInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2449,9 +2418,8 @@ extension SecurityLakeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSubscriberNotificationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/ServerlessApplicationRepositoryClient.swift b/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/ServerlessApplicationRepositoryClient.swift index 563739a2f21..dc74d44598a 100644 --- a/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/ServerlessApplicationRepositoryClient.swift +++ b/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/ServerlessApplicationRepositoryClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension ServerlessApplicationRepositoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -304,9 +302,8 @@ extension ServerlessApplicationRepositoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -377,9 +374,8 @@ extension ServerlessApplicationRepositoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCloudFormationChangeSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -451,9 +447,8 @@ extension ServerlessApplicationRepositoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCloudFormationTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -526,9 +521,8 @@ extension ServerlessApplicationRepositoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -597,9 +591,8 @@ extension ServerlessApplicationRepositoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -669,9 +662,8 @@ extension ServerlessApplicationRepositoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApplicationPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -740,9 +732,8 @@ extension ServerlessApplicationRepositoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCloudFormationTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -811,9 +802,8 @@ extension ServerlessApplicationRepositoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationDependenciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -883,9 +873,8 @@ extension ServerlessApplicationRepositoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -954,9 +943,8 @@ extension ServerlessApplicationRepositoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1026,9 +1014,8 @@ extension ServerlessApplicationRepositoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutApplicationPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1100,9 +1087,8 @@ extension ServerlessApplicationRepositoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UnshareApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1175,9 +1161,8 @@ extension ServerlessApplicationRepositoryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/ServiceCatalogClient.swift b/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/ServiceCatalogClient.swift index 3b8a9ef910e..be29533a3d8 100644 --- a/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/ServiceCatalogClient.swift +++ b/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/ServiceCatalogClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptPortfolioShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -303,9 +301,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateBudgetWithResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -376,9 +373,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociatePrincipalWithPortfolioInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -449,9 +445,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateProductWithPortfolioInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -523,9 +518,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateServiceActionWithProvisioningArtifactInput.urlPathProvider(_:))) @@ -600,9 +594,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateTagOptionWithResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -671,9 +664,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchAssociateServiceActionWithProvisioningArtifactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -742,9 +734,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDisassociateServiceActionFromProvisioningArtifactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -814,9 +805,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyProductInput.urlPathProvider(_:))) @@ -889,9 +879,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConstraintInput.urlPathProvider(_:))) @@ -963,9 +952,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePortfolioInput.urlPathProvider(_:))) @@ -1039,9 +1027,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePortfolioShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1112,9 +1099,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProductInput.urlPathProvider(_:))) @@ -1186,9 +1172,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProvisionedProductPlanInput.urlPathProvider(_:))) @@ -1260,9 +1245,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProvisioningArtifactInput.urlPathProvider(_:))) @@ -1333,9 +1317,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServiceActionInput.urlPathProvider(_:))) @@ -1407,9 +1390,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTagOptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1479,9 +1461,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConstraintInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1553,9 +1534,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePortfolioInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1627,9 +1607,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePortfolioShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1701,9 +1680,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProductInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1773,9 +1751,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProvisionedProductPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1846,9 +1823,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProvisioningArtifactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1918,9 +1894,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServiceActionInput.urlPathProvider(_:))) @@ -1992,9 +1967,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTagOptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2063,9 +2037,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConstraintInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2134,9 +2107,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCopyProductStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2205,9 +2177,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePortfolioInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2278,9 +2249,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePortfolioShareStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2350,9 +2320,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribePortfolioSharesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2422,9 +2391,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProductInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2494,9 +2462,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProductAsAdminInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2566,9 +2533,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProductViewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2638,9 +2604,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProvisionedProductInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2710,9 +2675,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProvisionedProductPlanInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2782,9 +2746,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProvisioningArtifactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2854,9 +2817,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProvisioningParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2925,9 +2887,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRecordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2996,9 +2957,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeServiceActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3068,9 +3028,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeServiceActionExecutionParametersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3140,9 +3099,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTagOptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3213,9 +3171,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableAWSOrganizationsAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3284,9 +3241,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateBudgetFromResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3356,9 +3312,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociatePrincipalFromPortfolioInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3429,9 +3384,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateProductFromPortfolioInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3500,9 +3454,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateServiceActionFromProvisioningArtifactInput.urlPathProvider(_:))) @@ -3573,9 +3526,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateTagOptionFromResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3646,9 +3598,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableAWSOrganizationsAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3719,9 +3670,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExecuteProvisionedProductPlanInput.urlPathProvider(_:))) @@ -3793,9 +3743,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.executeToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExecuteProvisionedProductServiceActionInput.urlPathProvider(_:))) @@ -3866,9 +3815,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAWSOrganizationsAccessStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3938,9 +3886,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProvisionedProductOutputsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4012,9 +3959,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportAsProvisionedProductInput.urlPathProvider(_:))) @@ -4085,9 +4031,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAcceptedPortfolioSharesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4157,9 +4102,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBudgetsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4229,9 +4173,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConstraintsForPortfolioInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4301,9 +4244,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLaunchPathsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4374,9 +4316,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOrganizationPortfolioAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4446,9 +4387,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPortfolioAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4517,9 +4457,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPortfoliosInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4589,9 +4528,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPortfoliosForProductInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4661,9 +4599,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPrincipalsForPortfolioInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4733,9 +4670,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProvisionedProductPlansInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4805,9 +4741,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProvisioningArtifactsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4877,9 +4812,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProvisioningArtifactsForServiceActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4948,9 +4882,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecordHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5021,9 +4954,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourcesForTagOptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5092,9 +5024,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServiceActionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5164,9 +5095,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServiceActionsForProvisioningArtifactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5236,9 +5166,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListStackInstancesForProvisionedProductInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5308,9 +5237,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5380,9 +5308,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(NotifyProvisionProductEngineWorkflowResultInput.urlPathProvider(_:))) @@ -5453,9 +5380,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(NotifyTerminateProvisionedProductEngineWorkflowResultInput.urlPathProvider(_:))) @@ -5526,9 +5452,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(NotifyUpdateProvisionedProductEngineWorkflowResultInput.urlPathProvider(_:))) @@ -5600,9 +5525,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.provisionToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ProvisionProductInput.urlPathProvider(_:))) @@ -5672,9 +5596,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectPortfolioShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5743,9 +5666,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ScanProvisionedProductsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5814,9 +5736,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchProductsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5886,9 +5807,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchProductsAsAdminInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5957,9 +5877,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchProvisionedProductsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6028,9 +5947,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.terminateToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(TerminateProvisionedProductInput.urlPathProvider(_:))) @@ -6101,9 +6019,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConstraintInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6175,9 +6092,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePortfolioInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6249,9 +6165,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePortfolioShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6322,9 +6237,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProductInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6394,9 +6308,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.updateToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProvisionedProductInput.urlPathProvider(_:))) @@ -6468,9 +6381,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.idempotencyToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProvisionedProductPropertiesInput.urlPathProvider(_:))) @@ -6541,9 +6453,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProvisioningArtifactInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6613,9 +6524,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServiceActionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6687,9 +6597,8 @@ extension ServiceCatalogClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTagOptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/ServiceCatalogAppRegistryClient.swift b/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/ServiceCatalogAppRegistryClient.swift index b3ba17ce35e..5c32fa5f0b0 100644 --- a/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/ServiceCatalogAppRegistryClient.swift +++ b/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/ServiceCatalogAppRegistryClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateAttributeGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -320,9 +318,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -394,9 +391,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateApplicationInput.urlPathProvider(_:))) @@ -468,9 +464,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAttributeGroupInput.urlPathProvider(_:))) @@ -541,9 +536,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -610,9 +604,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAttributeGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -679,9 +672,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateAttributeGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -765,9 +757,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -835,9 +826,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -904,9 +894,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssociatedResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -975,9 +964,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAttributeGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1042,9 +1030,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1110,9 +1097,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1180,9 +1166,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssociatedAttributeGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1250,9 +1235,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssociatedResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1319,9 +1303,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAttributeGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1389,9 +1372,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAttributeGroupsForApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1459,9 +1441,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1528,9 +1509,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1602,9 +1582,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SyncResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1671,9 +1650,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1743,9 +1721,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1815,9 +1792,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1888,9 +1864,8 @@ extension ServiceCatalogAppRegistryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAttributeGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/ServiceDiscoveryClient.swift b/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/ServiceDiscoveryClient.swift index 04c79a9de7b..c3dcb195e26 100644 --- a/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/ServiceDiscoveryClient.swift +++ b/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/ServiceDiscoveryClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.creatorRequestId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateHttpNamespaceInput.urlPathProvider(_:))) @@ -307,9 +305,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.creatorRequestId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePrivateDnsNamespaceInput.urlPathProvider(_:))) @@ -383,9 +380,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.creatorRequestId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePublicDnsNamespaceInput.urlPathProvider(_:))) @@ -479,9 +475,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.creatorRequestId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServiceInput.urlPathProvider(_:))) @@ -554,9 +549,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNamespaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -627,9 +621,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -702,9 +695,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -776,9 +768,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DiscoverInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "data-")) @@ -850,9 +841,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DiscoverInstancesRevisionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "data-")) @@ -923,9 +913,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -996,9 +985,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInstancesHealthStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1068,9 +1056,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetNamespaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1140,9 +1127,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOperationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1212,9 +1198,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1284,9 +1269,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1355,9 +1339,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNamespacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1426,9 +1409,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOperationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1497,9 +1479,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1569,9 +1550,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1662,9 +1642,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.creatorRequestId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterInstanceInput.urlPathProvider(_:))) @@ -1736,9 +1715,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1808,9 +1786,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1882,9 +1859,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.updaterRequestId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateHttpNamespaceInput.urlPathProvider(_:))) @@ -1957,9 +1933,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateInstanceCustomHealthStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2031,9 +2006,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.updaterRequestId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePrivateDnsNamespaceInput.urlPathProvider(_:))) @@ -2106,9 +2080,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.updaterRequestId)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePublicDnsNamespaceInput.urlPathProvider(_:))) @@ -2194,9 +2167,8 @@ extension ServiceDiscoveryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/ServiceQuotasClient.swift b/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/ServiceQuotasClient.swift index 0a555f66a67..8a281b7f78c 100644 --- a/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/ServiceQuotasClient.swift +++ b/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/ServiceQuotasClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension ServiceQuotasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateServiceQuotaTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -312,9 +310,8 @@ extension ServiceQuotasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServiceQuotaIncreaseRequestFromTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -390,9 +387,8 @@ extension ServiceQuotasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateServiceQuotaTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -465,9 +461,8 @@ extension ServiceQuotasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAWSDefaultServiceQuotaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -543,9 +538,8 @@ extension ServiceQuotasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssociationForServiceQuotaTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -618,9 +612,8 @@ extension ServiceQuotasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRequestedServiceQuotaChangeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -693,9 +686,8 @@ extension ServiceQuotasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceQuotaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -772,9 +764,8 @@ extension ServiceQuotasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceQuotaIncreaseRequestFromTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -848,9 +839,8 @@ extension ServiceQuotasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAWSDefaultServiceQuotasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -924,9 +914,8 @@ extension ServiceQuotasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRequestedServiceQuotaChangeHistoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1000,9 +989,8 @@ extension ServiceQuotasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRequestedServiceQuotaChangeHistoryByQuotaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1078,9 +1066,8 @@ extension ServiceQuotasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServiceQuotaIncreaseRequestsInTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1154,9 +1141,8 @@ extension ServiceQuotasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServiceQuotasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1229,9 +1215,8 @@ extension ServiceQuotasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1304,9 +1289,8 @@ extension ServiceQuotasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1384,9 +1368,8 @@ extension ServiceQuotasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutServiceQuotaIncreaseRequestIntoTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1463,9 +1446,8 @@ extension ServiceQuotasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RequestServiceQuotaIncreaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1540,9 +1522,8 @@ extension ServiceQuotasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1615,9 +1596,8 @@ extension ServiceQuotasClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSShield/Sources/AWSShield/ShieldClient.swift b/Sources/Services/AWSShield/Sources/AWSShield/ShieldClient.swift index c872512bdc7..04a09f2067d 100644 --- a/Sources/Services/AWSShield/Sources/AWSShield/ShieldClient.swift +++ b/Sources/Services/AWSShield/Sources/AWSShield/ShieldClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateDRTLogBucketInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -309,9 +307,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateDRTRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -385,9 +382,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateHealthCheckInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -460,9 +456,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateProactiveEngagementDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -538,9 +533,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProtectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -614,9 +608,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProtectionGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -686,9 +679,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -759,9 +751,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProtectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -832,9 +823,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProtectionGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -906,9 +896,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -978,9 +967,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAttackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1049,9 +1037,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAttackStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1121,9 +1108,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDRTAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1193,9 +1179,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEmergencyContactSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1266,9 +1251,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProtectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1338,9 +1322,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProtectionGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1410,9 +1393,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1485,9 +1467,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableApplicationLayerAutomaticResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1560,9 +1541,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableProactiveEngagementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1636,9 +1616,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateDRTLogBucketInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1710,9 +1689,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateDRTRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1785,9 +1763,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateHealthCheckInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1861,9 +1838,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableApplicationLayerAutomaticResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1936,9 +1912,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EnableProactiveEngagementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2007,9 +1982,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSubscriptionStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2080,9 +2054,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAttacksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2153,9 +2126,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProtectionGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2226,9 +2198,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProtectionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2299,9 +2270,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourcesInProtectionGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2372,9 +2342,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2446,9 +2415,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2520,9 +2488,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2595,9 +2562,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationLayerAutomaticResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2669,9 +2635,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEmergencyContactSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2743,9 +2708,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProtectionGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2818,9 +2782,8 @@ extension ShieldClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSigner/Sources/AWSSigner/SignerClient.swift b/Sources/Services/AWSSigner/Sources/AWSSigner/SignerClient.swift index 240f4e5a6ba..6e079bdb132 100644 --- a/Sources/Services/AWSSigner/Sources/AWSSigner/SignerClient.swift +++ b/Sources/Services/AWSSigner/Sources/AWSSigner/SignerClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension SignerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddProfilePermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension SignerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelSigningProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -377,9 +374,8 @@ extension SignerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSigningJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -447,9 +443,8 @@ extension SignerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRevocationStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "verification.")) @@ -518,9 +513,8 @@ extension SignerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSigningPlatformInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -588,9 +582,8 @@ extension SignerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSigningProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -660,9 +653,8 @@ extension SignerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProfilePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -731,9 +723,8 @@ extension SignerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSigningJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -802,9 +793,8 @@ extension SignerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSigningPlatformsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -872,9 +862,8 @@ extension SignerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSigningProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -943,9 +932,8 @@ extension SignerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1014,9 +1002,8 @@ extension SignerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutSigningProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1089,9 +1076,8 @@ extension SignerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveProfilePermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1161,9 +1147,8 @@ extension SignerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RevokeSignatureInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1235,9 +1220,8 @@ extension SignerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RevokeSigningProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1309,9 +1293,8 @@ extension SignerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SignPayloadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1399,9 +1382,8 @@ extension SignerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSigningJobInput.urlPathProvider(_:))) @@ -1473,9 +1455,8 @@ extension SignerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1546,9 +1527,8 @@ extension SignerClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/SimSpaceWeaverClient.swift b/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/SimSpaceWeaverClient.swift index c4a12928306..66ae17d6937 100644 --- a/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/SimSpaceWeaverClient.swift +++ b/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/SimSpaceWeaverClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -244,9 +243,8 @@ extension SimSpaceWeaverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -318,9 +316,8 @@ extension SimSpaceWeaverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -390,9 +387,8 @@ extension SimSpaceWeaverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSimulationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -461,9 +457,8 @@ extension SimSpaceWeaverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -532,9 +527,8 @@ extension SimSpaceWeaverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSimulationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -603,9 +597,8 @@ extension SimSpaceWeaverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAppsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -673,9 +666,8 @@ extension SimSpaceWeaverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSimulationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -742,9 +734,8 @@ extension SimSpaceWeaverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -813,9 +804,8 @@ extension SimSpaceWeaverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartAppInput.urlPathProvider(_:))) @@ -888,9 +878,8 @@ extension SimSpaceWeaverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartClockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -962,9 +951,8 @@ extension SimSpaceWeaverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSimulationInput.urlPathProvider(_:))) @@ -1037,9 +1025,8 @@ extension SimSpaceWeaverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopAppInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1111,9 +1098,8 @@ extension SimSpaceWeaverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopClockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1185,9 +1171,8 @@ extension SimSpaceWeaverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopSimulationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1257,9 +1242,8 @@ extension SimSpaceWeaverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1328,9 +1312,8 @@ extension SimSpaceWeaverClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/SnowDeviceManagementClient.swift b/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/SnowDeviceManagementClient.swift index 7818bc34fd4..f194e46d605 100644 --- a/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/SnowDeviceManagementClient.swift +++ b/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/SnowDeviceManagementClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension SnowDeviceManagementClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -304,9 +302,8 @@ extension SnowDeviceManagementClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTaskInput.urlPathProvider(_:))) @@ -379,9 +376,8 @@ extension SnowDeviceManagementClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -450,9 +446,8 @@ extension SnowDeviceManagementClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDeviceEc2InstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -524,9 +519,8 @@ extension SnowDeviceManagementClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -595,9 +589,8 @@ extension SnowDeviceManagementClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -666,9 +659,8 @@ extension SnowDeviceManagementClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDeviceResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -737,9 +729,8 @@ extension SnowDeviceManagementClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDevicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -809,9 +800,8 @@ extension SnowDeviceManagementClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -879,9 +869,8 @@ extension SnowDeviceManagementClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -949,9 +938,8 @@ extension SnowDeviceManagementClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1019,9 +1007,8 @@ extension SnowDeviceManagementClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1091,9 +1078,8 @@ extension SnowDeviceManagementClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSnowball/Sources/AWSSnowball/SnowballClient.swift b/Sources/Services/AWSSnowball/Sources/AWSSnowball/SnowballClient.swift index 9a5d94f70e4..296aa9982f5 100644 --- a/Sources/Services/AWSSnowball/Sources/AWSSnowball/SnowballClient.swift +++ b/Sources/Services/AWSSnowball/Sources/AWSSnowball/SnowballClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -229,9 +228,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -302,9 +300,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -374,9 +371,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAddressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -448,9 +444,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -610,9 +605,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -681,9 +675,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLongTermPricingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -756,9 +749,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReturnShippingLabelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -827,9 +819,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAddressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -899,9 +890,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAddressesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -970,9 +960,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1041,9 +1030,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1114,9 +1102,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeReturnShippingLabelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1186,9 +1173,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJobManifestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1258,9 +1244,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetJobUnlockCodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1324,9 +1309,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSnowballUsageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1396,9 +1380,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSoftwareUpdatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1468,9 +1451,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListClusterJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1539,9 +1521,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListClustersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1611,9 +1592,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCompatibleImagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1682,9 +1662,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1754,9 +1733,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLongTermPricingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1825,9 +1803,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPickupLocationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1897,9 +1874,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServiceVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1972,9 +1948,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateClusterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2048,9 +2023,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2120,9 +2094,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateJobShipmentStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2191,9 +2164,8 @@ extension SnowballClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLongTermPricingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/SsmSapClient.swift b/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/SsmSapClient.swift index 882572499ae..f977d422118 100644 --- a/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/SsmSapClient.swift +++ b/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/SsmSapClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -228,9 +227,8 @@ extension SsmSapClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -300,9 +298,8 @@ extension SsmSapClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -371,9 +368,8 @@ extension SsmSapClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -443,9 +439,8 @@ extension SsmSapClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetComponentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -514,9 +509,8 @@ extension SsmSapClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDatabaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -585,9 +579,8 @@ extension SsmSapClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOperationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -657,9 +650,8 @@ extension SsmSapClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcePermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -729,9 +721,8 @@ extension SsmSapClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -802,9 +793,8 @@ extension SsmSapClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListComponentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -874,9 +864,8 @@ extension SsmSapClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatabasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -945,9 +934,8 @@ extension SsmSapClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOperationEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1016,9 +1004,8 @@ extension SsmSapClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOperationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1088,9 +1075,8 @@ extension SsmSapClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1157,9 +1143,8 @@ extension SsmSapClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1230,9 +1215,8 @@ extension SsmSapClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1303,9 +1287,8 @@ extension SsmSapClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1377,9 +1360,8 @@ extension SsmSapClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartApplicationRefreshInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1450,9 +1432,8 @@ extension SsmSapClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1522,9 +1503,8 @@ extension SsmSapClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1594,9 +1574,8 @@ extension SsmSapClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1666,9 +1645,8 @@ extension SsmSapClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateApplicationSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/StorageGatewayClient.swift b/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/StorageGatewayClient.swift index 54389541ab9..34c1ba252a4 100644 --- a/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/StorageGatewayClient.swift +++ b/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/StorageGatewayClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -242,9 +241,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ActivateGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -314,9 +312,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddCacheInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -399,9 +396,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddTagsToResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -471,9 +467,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddUploadBufferInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -545,9 +540,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddWorkingStorageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -617,9 +611,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssignTapePoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -689,9 +682,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateFileSystemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -761,9 +753,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachVolumeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -833,9 +824,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelArchivalInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -905,9 +895,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelRetrievalInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -977,9 +966,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCachediSCSIVolumeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1049,9 +1037,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNFSFileShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1121,9 +1108,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSMBFileShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1198,9 +1184,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSnapshotInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1271,9 +1256,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSnapshotFromVolumeRecoveryPointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1353,9 +1337,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStorediSCSIVolumeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1425,9 +1408,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTapePoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1497,9 +1479,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTapeWithBarcodeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1569,9 +1550,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTapesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1641,9 +1621,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAutomaticTapeCreationPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1715,9 +1694,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBandwidthRateLimitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1791,9 +1769,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteChapCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1863,9 +1840,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFileShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1935,9 +1911,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2007,9 +1982,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSnapshotScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2079,9 +2053,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTapeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2151,9 +2124,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTapeArchiveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2223,9 +2195,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTapePoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2295,9 +2266,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVolumeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2367,9 +2337,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAvailabilityMonitorTestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2439,9 +2408,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBandwidthRateLimitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2511,9 +2479,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBandwidthRateLimitScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2583,9 +2550,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCacheInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2655,9 +2621,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCachediSCSIVolumesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2727,9 +2692,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeChapCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2799,9 +2763,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFileSystemAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2871,9 +2834,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGatewayInformationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2955,9 +2917,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMaintenanceStartTimeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3027,9 +2988,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNFSFileSharesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3099,9 +3059,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSMBFileSharesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3171,9 +3130,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSMBSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3243,9 +3201,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSnapshotScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3315,9 +3272,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeStorediSCSIVolumesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3387,9 +3343,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTapeArchivesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3459,9 +3414,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTapeRecoveryPointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3531,9 +3485,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTapesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3603,9 +3556,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUploadBufferInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3675,9 +3627,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeVTLDevicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3747,9 +3698,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorkingStorageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3819,9 +3769,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetachVolumeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3891,9 +3840,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisableGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3963,9 +3911,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateFileSystemInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4035,9 +3982,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(JoinDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4107,9 +4053,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAutomaticTapeCreationPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4179,9 +4124,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFileSharesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4251,9 +4195,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFileSystemAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4327,9 +4270,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGatewaysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4399,9 +4341,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLocalDisksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4471,9 +4412,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4543,9 +4483,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTapePoolsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4625,9 +4564,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTapesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4697,9 +4635,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVolumeInitiatorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4769,9 +4706,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVolumeRecoveryPointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4849,9 +4785,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVolumesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4921,9 +4856,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(NotifyWhenUploadedInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5000,9 +4934,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RefreshCacheInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5072,9 +5005,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveTagsFromResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5144,9 +5076,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetCacheInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5216,9 +5147,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RetrieveTapeArchiveInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5288,9 +5218,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RetrieveTapeRecoveryPointInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5360,9 +5289,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetLocalConsolePasswordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5432,9 +5360,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetSMBGuestPasswordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5504,9 +5431,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ShutdownGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5576,9 +5502,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartAvailabilityMonitorTestInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5648,9 +5573,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartGatewayInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5720,9 +5644,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAutomaticTapeCreationPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5796,9 +5719,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBandwidthRateLimitInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5868,9 +5790,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBandwidthRateLimitScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5948,9 +5869,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateChapCredentialsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6020,9 +5940,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFileSystemAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6092,9 +6011,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGatewayInformationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6164,9 +6082,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGatewaySoftwareNowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6246,9 +6163,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMaintenanceStartTimeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6328,9 +6244,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNFSFileShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6400,9 +6315,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSMBFileShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6472,9 +6386,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSMBFileShareVisibilityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6544,9 +6457,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSMBLocalGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6616,9 +6528,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSMBSecurityStrategyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6696,9 +6607,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSnapshotScheduleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6768,9 +6678,8 @@ extension StorageGatewayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVTLDeviceTypeInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/SupplyChainClient.swift b/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/SupplyChainClient.swift index 8dc71be568c..22163018c06 100644 --- a/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/SupplyChainClient.swift +++ b/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/SupplyChainClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension SupplyChainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBillOfMaterialsImportJobInput.urlPathProvider(_:))) @@ -310,9 +308,8 @@ extension SupplyChainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBillOfMaterialsImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -383,9 +380,8 @@ extension SupplyChainClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendDataIntegrationEventInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSSupport/Sources/AWSSupport/SupportClient.swift b/Sources/Services/AWSSupport/Sources/AWSSupport/SupportClient.swift index eda1aedd150..55343544a26 100644 --- a/Sources/Services/AWSSupport/Sources/AWSSupport/SupportClient.swift +++ b/Sources/Services/AWSSupport/Sources/AWSSupport/SupportClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension SupportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddAttachmentsToSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -312,9 +310,8 @@ extension SupportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddCommunicationToCaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -397,9 +394,8 @@ extension SupportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -474,9 +470,8 @@ extension SupportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAttachmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -557,9 +552,8 @@ extension SupportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -633,9 +627,8 @@ extension SupportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCommunicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -709,9 +702,8 @@ extension SupportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCreateCaseOptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -784,9 +776,8 @@ extension SupportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeServicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -859,9 +850,8 @@ extension SupportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSeverityLevelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -935,9 +925,8 @@ extension SupportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSupportedLanguagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1014,9 +1003,8 @@ extension SupportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTrustedAdvisorCheckRefreshStatusesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1111,9 +1099,8 @@ extension SupportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTrustedAdvisorCheckResultInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1190,9 +1177,8 @@ extension SupportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTrustedAdvisorCheckSummariesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1271,9 +1257,8 @@ extension SupportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTrustedAdvisorChecksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1349,9 +1334,8 @@ extension SupportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RefreshTrustedAdvisorCheckInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1425,9 +1409,8 @@ extension SupportClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResolveCaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/SupportAppClient.swift b/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/SupportAppClient.swift index 66f69dbb032..afdf5ebdfbf 100644 --- a/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/SupportAppClient.swift +++ b/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/SupportAppClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -248,9 +247,8 @@ extension SupportAppClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSlackChannelConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -320,9 +318,8 @@ extension SupportAppClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccountAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -403,9 +400,8 @@ extension SupportAppClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSlackChannelConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -489,9 +485,8 @@ extension SupportAppClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSlackWorkspaceConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -559,9 +554,8 @@ extension SupportAppClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -627,9 +621,8 @@ extension SupportAppClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSlackChannelConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -698,9 +691,8 @@ extension SupportAppClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSlackWorkspaceConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -770,9 +762,8 @@ extension SupportAppClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAccountAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -867,9 +858,8 @@ extension SupportAppClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterSlackWorkspaceForOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -953,9 +943,8 @@ extension SupportAppClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSlackChannelConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/SyntheticsClient.swift b/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/SyntheticsClient.swift index c3cab2d59f1..a0ab0de0d3d 100644 --- a/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/SyntheticsClient.swift +++ b/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/SyntheticsClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -230,9 +229,8 @@ extension SyntheticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -302,9 +300,8 @@ extension SyntheticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCanaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -375,9 +372,8 @@ extension SyntheticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -459,9 +455,8 @@ extension SyntheticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCanaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -530,9 +525,8 @@ extension SyntheticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -598,9 +592,8 @@ extension SyntheticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCanariesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -669,9 +662,8 @@ extension SyntheticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCanariesLastRunInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -740,9 +732,8 @@ extension SyntheticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRuntimeVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -813,9 +804,8 @@ extension SyntheticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -884,9 +874,8 @@ extension SyntheticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCanaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -953,9 +942,8 @@ extension SyntheticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCanaryRunsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1026,9 +1014,8 @@ extension SyntheticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1095,9 +1082,8 @@ extension SyntheticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssociatedGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1168,9 +1154,8 @@ extension SyntheticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGroupResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1239,9 +1224,8 @@ extension SyntheticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1313,9 +1297,8 @@ extension SyntheticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1383,9 +1366,8 @@ extension SyntheticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartCanaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1453,9 +1435,8 @@ extension SyntheticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopCanaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1524,9 +1505,8 @@ extension SyntheticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1598,9 +1578,8 @@ extension SyntheticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1670,9 +1649,8 @@ extension SyntheticsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCanaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/TaxSettingsClient.swift b/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/TaxSettingsClient.swift index 71c9ef42247..82819fb2d23 100644 --- a/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/TaxSettingsClient.swift +++ b/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/TaxSettingsClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -227,9 +226,8 @@ extension TaxSettingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchDeleteTaxRegistrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -388,9 +386,8 @@ extension TaxSettingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchPutTaxRegistrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -461,9 +458,8 @@ extension TaxSettingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTaxRegistrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -533,9 +529,8 @@ extension TaxSettingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTaxRegistrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -604,9 +599,8 @@ extension TaxSettingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTaxRegistrationDocumentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -676,9 +670,8 @@ extension TaxSettingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTaxRegistrationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -837,9 +830,8 @@ extension TaxSettingsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutTaxRegistrationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSTextract/Sources/AWSTextract/TextractClient.swift b/Sources/Services/AWSTextract/Sources/AWSTextract/TextractClient.swift index 0dd0e7160fc..c906e569bfc 100644 --- a/Sources/Services/AWSTextract/Sources/AWSTextract/TextractClient.swift +++ b/Sources/Services/AWSTextract/Sources/AWSTextract/TextractClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -252,9 +251,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AnalyzeDocumentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -335,9 +333,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AnalyzeExpenseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -414,9 +411,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AnalyzeIDInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -494,9 +490,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAdapterInput.urlPathProvider(_:))) @@ -578,9 +573,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAdapterVersionInput.urlPathProvider(_:))) @@ -657,9 +651,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAdapterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -735,9 +728,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAdapterVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -814,9 +806,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DetectDocumentTextInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -891,9 +882,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAdapterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -968,9 +958,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAdapterVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1059,9 +1048,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDocumentAnalysisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1137,9 +1125,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDocumentTextDetectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1215,9 +1202,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetExpenseAnalysisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1293,9 +1279,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLendingAnalysisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1371,9 +1356,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLendingAnalysisSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1448,9 +1432,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAdapterVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1524,9 +1507,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAdaptersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1601,9 +1583,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1683,9 +1664,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDocumentAnalysisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1765,9 +1745,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDocumentTextDetectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1847,9 +1826,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartExpenseAnalysisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1935,9 +1913,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartLendingAnalysisInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2013,9 +1990,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2090,9 +2066,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2168,9 +2143,8 @@ extension TextractClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAdapterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/TimestreamInfluxDBClient.swift b/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/TimestreamInfluxDBClient.swift index 40e43453b08..7e8828ee84a 100644 --- a/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/TimestreamInfluxDBClient.swift +++ b/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/TimestreamInfluxDBClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension TimestreamInfluxDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDbInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -309,9 +307,8 @@ extension TimestreamInfluxDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDbParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -385,9 +382,8 @@ extension TimestreamInfluxDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDbInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -460,9 +456,8 @@ extension TimestreamInfluxDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDbInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -535,9 +530,8 @@ extension TimestreamInfluxDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDbParameterGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -610,9 +604,8 @@ extension TimestreamInfluxDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDbInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -685,9 +678,8 @@ extension TimestreamInfluxDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDbParameterGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -756,9 +748,8 @@ extension TimestreamInfluxDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -827,9 +818,8 @@ extension TimestreamInfluxDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -898,9 +888,8 @@ extension TimestreamInfluxDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -974,9 +963,8 @@ extension TimestreamInfluxDBClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDbInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/TimestreamQueryClient.swift b/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/TimestreamQueryClient.swift index ddbea0e9c82..cf8597bfb7f 100644 --- a/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/TimestreamQueryClient.swift +++ b/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/TimestreamQueryClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension TimestreamQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -309,9 +307,8 @@ extension TimestreamQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateScheduledQueryInput.urlPathProvider(_:))) @@ -386,9 +383,8 @@ extension TimestreamQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteScheduledQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -460,9 +456,8 @@ extension TimestreamQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -542,9 +537,8 @@ extension TimestreamQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -618,9 +612,8 @@ extension TimestreamQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeScheduledQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -694,9 +687,8 @@ extension TimestreamQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExecuteScheduledQueryInput.urlPathProvider(_:))) @@ -770,9 +762,8 @@ extension TimestreamQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListScheduledQueriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -844,9 +835,8 @@ extension TimestreamQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -919,9 +909,8 @@ extension TimestreamQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PrepareQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1004,9 +993,8 @@ extension TimestreamQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(QueryInput.urlPathProvider(_:))) @@ -1080,9 +1068,8 @@ extension TimestreamQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1154,9 +1141,8 @@ extension TimestreamQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1229,9 +1215,8 @@ extension TimestreamQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccountSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1305,9 +1290,8 @@ extension TimestreamQueryClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateScheduledQueryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/TimestreamWriteClient.swift b/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/TimestreamWriteClient.swift index bdf632ebcdd..2c50e4fb592 100644 --- a/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/TimestreamWriteClient.swift +++ b/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/TimestreamWriteClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension TimestreamWriteClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBatchLoadTaskInput.urlPathProvider(_:))) @@ -312,9 +310,8 @@ extension TimestreamWriteClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDatabaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -390,9 +387,8 @@ extension TimestreamWriteClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -466,9 +462,8 @@ extension TimestreamWriteClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDatabaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -542,9 +537,8 @@ extension TimestreamWriteClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -617,9 +611,8 @@ extension TimestreamWriteClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBatchLoadTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -693,9 +686,8 @@ extension TimestreamWriteClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDatabaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -775,9 +767,8 @@ extension TimestreamWriteClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEndpointsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -851,9 +842,8 @@ extension TimestreamWriteClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -926,9 +916,8 @@ extension TimestreamWriteClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBatchLoadTasksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1001,9 +990,8 @@ extension TimestreamWriteClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDatabasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1077,9 +1065,8 @@ extension TimestreamWriteClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTablesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1151,9 +1138,8 @@ extension TimestreamWriteClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1227,9 +1213,8 @@ extension TimestreamWriteClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResumeBatchLoadTaskInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1302,9 +1287,8 @@ extension TimestreamWriteClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1377,9 +1361,8 @@ extension TimestreamWriteClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1454,9 +1437,8 @@ extension TimestreamWriteClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDatabaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1530,9 +1512,8 @@ extension TimestreamWriteClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTableInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1623,9 +1604,8 @@ extension TimestreamWriteClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(WriteRecordsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSTnb/Sources/AWSTnb/TnbClient.swift b/Sources/Services/AWSTnb/Sources/AWSTnb/TnbClient.swift index 16a8697cd18..447cceb0d58 100644 --- a/Sources/Services/AWSTnb/Sources/AWSTnb/TnbClient.swift +++ b/Sources/Services/AWSTnb/Sources/AWSTnb/TnbClient.swift @@ -33,7 +33,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -235,9 +234,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelSolNetworkOperationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSolFunctionPackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -381,9 +378,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSolNetworkInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -455,9 +451,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSolNetworkPackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -529,9 +524,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSolFunctionPackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -600,9 +594,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSolNetworkInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -671,9 +664,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSolNetworkPackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -742,9 +734,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSolFunctionInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -813,9 +804,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSolFunctionPackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -884,9 +874,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSolFunctionPackageContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -956,9 +945,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSolFunctionPackageDescriptorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1028,9 +1016,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSolNetworkInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1099,9 +1086,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSolNetworkOperationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1170,9 +1156,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSolNetworkPackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1241,9 +1226,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSolNetworkPackageContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1313,9 +1297,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSolNetworkPackageDescriptorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1385,9 +1368,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InstantiateSolNetworkInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1459,9 +1441,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSolFunctionInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1530,9 +1511,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSolFunctionPackagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1601,9 +1581,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSolNetworkInstancesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1672,9 +1651,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSolNetworkOperationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1743,9 +1721,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSolNetworkPackagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1815,9 +1792,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1886,9 +1862,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutSolFunctionPackageContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1961,9 +1936,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutSolNetworkPackageContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2036,9 +2010,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2111,9 +2084,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TerminateSolNetworkInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2185,9 +2157,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2257,9 +2228,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSolFunctionPackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2332,9 +2302,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSolNetworkInstanceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2406,9 +2375,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSolNetworkPackageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2480,9 +2448,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ValidateSolFunctionPackageContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2555,9 +2522,8 @@ extension TnbClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ValidateSolNetworkPackageContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/TranscribeClient.swift b/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/TranscribeClient.swift index 0da05fef7a2..c22328cd444 100644 --- a/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/TranscribeClient.swift +++ b/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/TranscribeClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCallAnalyticsCategoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -313,9 +311,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLanguageModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -387,9 +384,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMedicalVocabularyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -461,9 +457,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVocabularyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -535,9 +530,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVocabularyFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -609,9 +603,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCallAnalyticsCategoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -682,9 +675,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCallAnalyticsJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -755,9 +747,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLanguageModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -828,9 +819,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMedicalScribeJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -901,9 +891,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMedicalTranscriptionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -975,9 +964,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMedicalVocabularyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1048,9 +1036,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTranscriptionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1122,9 +1109,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVocabularyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1196,9 +1182,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVocabularyFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1270,9 +1255,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeLanguageModelInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1344,9 +1328,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCallAnalyticsCategoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1418,9 +1401,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCallAnalyticsJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1492,9 +1474,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMedicalScribeJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1566,9 +1547,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMedicalTranscriptionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1640,9 +1620,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMedicalVocabularyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1714,9 +1693,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTranscriptionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1788,9 +1766,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVocabularyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1862,9 +1839,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVocabularyFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1935,9 +1911,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCallAnalyticsCategoriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2009,9 +1984,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCallAnalyticsJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2083,9 +2057,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLanguageModelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2157,9 +2130,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMedicalScribeJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2231,9 +2203,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMedicalTranscriptionJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2305,9 +2276,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMedicalVocabulariesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2380,9 +2350,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2453,9 +2422,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTranscriptionJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2527,9 +2495,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVocabulariesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2601,9 +2568,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVocabularyFiltersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2687,9 +2653,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartCallAnalyticsJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2773,9 +2738,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMedicalScribeJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2861,9 +2825,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMedicalTranscriptionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2943,9 +2906,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartTranscriptionJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3018,9 +2980,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3093,9 +3054,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3168,9 +3128,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCallAnalyticsCategoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3243,9 +3202,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMedicalVocabularyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3318,9 +3276,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVocabularyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3392,9 +3349,8 @@ extension TranscribeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVocabularyFilterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift b/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift index 6b2d8b1c85f..b846fa8d266 100644 --- a/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift +++ b/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -239,9 +238,8 @@ extension TranscribeStreamingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartCallAnalyticsStreamTranscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -324,9 +322,8 @@ extension TranscribeStreamingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMedicalStreamTranscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -409,9 +406,8 @@ extension TranscribeStreamingClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartStreamTranscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSTransfer/Sources/AWSTransfer/TransferClient.swift b/Sources/Services/AWSTransfer/Sources/AWSTransfer/TransferClient.swift index c54b22edd27..456cfd356c6 100644 --- a/Sources/Services/AWSTransfer/Sources/AWSTransfer/TransferClient.swift +++ b/Sources/Services/AWSTransfer/Sources/AWSTransfer/TransferClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAgreementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -383,9 +380,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -458,9 +454,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -535,9 +530,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -610,9 +604,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -686,9 +679,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -760,9 +752,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -834,9 +825,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAgreementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -908,9 +898,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -982,9 +971,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1057,9 +1045,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteHostKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1131,9 +1118,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1206,9 +1192,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1281,9 +1266,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSshPublicKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1355,9 +1339,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1430,9 +1413,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1504,9 +1486,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1578,9 +1559,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAgreementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1652,9 +1632,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1726,9 +1705,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1800,9 +1778,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeExecutionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1874,9 +1851,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeHostKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1948,9 +1924,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2022,9 +1997,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSecurityPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2096,9 +2070,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2170,9 +2143,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2244,9 +2216,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorkflowInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2318,9 +2289,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2394,9 +2364,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportHostKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2470,9 +2439,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportSshPublicKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2545,9 +2513,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccessesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2620,9 +2587,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAgreementsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2695,9 +2661,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCertificatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2770,9 +2735,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConnectorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2845,9 +2809,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListExecutionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2920,9 +2883,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListHostKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2995,9 +2957,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3069,9 +3030,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSecurityPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3143,9 +3103,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3217,9 +3176,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3292,9 +3250,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3366,9 +3323,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkflowsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3442,9 +3398,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SendWorkflowStepStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3527,9 +3482,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartDirectoryListingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3610,9 +3564,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartFileTransferInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3685,9 +3638,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3760,9 +3712,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3834,9 +3785,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3908,9 +3858,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestConnectionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3994,9 +3943,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestIdentityProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4068,9 +4016,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4144,9 +4091,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4220,9 +4166,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAgreementInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4295,9 +4240,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4371,9 +4315,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConnectorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4446,9 +4389,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateHostKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4521,9 +4463,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4599,9 +4540,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4674,9 +4614,8 @@ extension TransferClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSTranslate/Sources/AWSTranslate/TranslateClient.swift b/Sources/Services/AWSTranslate/Sources/AWSTranslate/TranslateClient.swift index 4381fcc3fe8..0bcb94bab82 100644 --- a/Sources/Services/AWSTranslate/Sources/AWSTranslate/TranslateClient.swift +++ b/Sources/Services/AWSTranslate/Sources/AWSTranslate/TranslateClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -235,9 +234,8 @@ extension TranslateClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateParallelDataInput.urlPathProvider(_:))) @@ -310,9 +308,8 @@ extension TranslateClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteParallelDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -384,9 +381,8 @@ extension TranslateClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTerminologyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -457,9 +453,8 @@ extension TranslateClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTextTranslationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -531,9 +526,8 @@ extension TranslateClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetParallelDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -605,9 +599,8 @@ extension TranslateClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTerminologyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -681,9 +674,8 @@ extension TranslateClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportTerminologyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -755,9 +747,8 @@ extension TranslateClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLanguagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -828,9 +819,8 @@ extension TranslateClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListParallelDataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -901,9 +891,8 @@ extension TranslateClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -974,9 +963,8 @@ extension TranslateClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTerminologiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1048,9 +1036,8 @@ extension TranslateClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTextTranslationJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1124,9 +1111,8 @@ extension TranslateClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartTextTranslationJobInput.urlPathProvider(_:))) @@ -1198,9 +1184,8 @@ extension TranslateClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopTextTranslationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1273,9 +1258,8 @@ extension TranslateClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1350,9 +1334,8 @@ extension TranslateClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TranslateDocumentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1428,9 +1411,8 @@ extension TranslateClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TranslateTextInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1502,9 +1484,8 @@ extension TranslateClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1580,9 +1561,8 @@ extension TranslateClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateParallelDataInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/TrustedAdvisorClient.swift b/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/TrustedAdvisorClient.swift index 269412e4120..5f480070c8c 100644 --- a/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/TrustedAdvisorClient.swift +++ b/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/TrustedAdvisorClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension TrustedAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchUpdateRecommendationResourceExclusionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -305,9 +303,8 @@ extension TrustedAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetOrganizationRecommendationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -376,9 +373,8 @@ extension TrustedAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRecommendationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -446,9 +442,8 @@ extension TrustedAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListChecksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -518,9 +513,8 @@ extension TrustedAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOrganizationRecommendationAccountsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -590,9 +584,8 @@ extension TrustedAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOrganizationRecommendationResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -661,9 +654,8 @@ extension TrustedAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOrganizationRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -733,9 +725,8 @@ extension TrustedAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecommendationResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -804,9 +795,8 @@ extension TrustedAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -877,9 +867,8 @@ extension TrustedAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateOrganizationRecommendationLifecycleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -952,9 +941,8 @@ extension TrustedAdvisorClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRecommendationLifecycleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/VPCLatticeClient.swift b/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/VPCLatticeClient.swift index e9491540e18..5c886c02bbe 100644 --- a/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/VPCLatticeClient.swift +++ b/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/VPCLatticeClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchUpdateRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -308,9 +306,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccessLogSubscriptionInput.urlPathProvider(_:))) @@ -385,9 +382,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateListenerInput.urlPathProvider(_:))) @@ -462,9 +458,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRuleInput.urlPathProvider(_:))) @@ -539,9 +534,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServiceInput.urlPathProvider(_:))) @@ -616,9 +610,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServiceNetworkInput.urlPathProvider(_:))) @@ -693,9 +686,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServiceNetworkServiceAssociationInput.urlPathProvider(_:))) @@ -770,9 +762,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateServiceNetworkVpcAssociationInput.urlPathProvider(_:))) @@ -847,9 +838,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTargetGroupInput.urlPathProvider(_:))) @@ -922,9 +912,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccessLogSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -993,9 +982,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAuthPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1065,9 +1053,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteListenerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1136,9 +1123,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1208,9 +1194,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1280,9 +1265,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1352,9 +1336,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServiceNetworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1424,9 +1407,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServiceNetworkServiceAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1496,9 +1478,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteServiceNetworkVpcAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1567,9 +1548,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTargetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1639,9 +1619,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1713,9 +1692,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccessLogSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1784,9 +1762,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAuthPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1855,9 +1832,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetListenerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1926,9 +1902,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1997,9 +1972,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2068,9 +2042,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2139,9 +2112,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceNetworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2210,9 +2182,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceNetworkServiceAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2281,9 +2252,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceNetworkVpcAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2352,9 +2322,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTargetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2422,9 +2391,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccessLogSubscriptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2494,9 +2462,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListListenersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2566,9 +2533,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2637,9 +2603,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServiceNetworkServiceAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2708,9 +2673,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServiceNetworkVpcAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2779,9 +2743,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServiceNetworksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2850,9 +2813,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListServicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2921,9 +2883,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2991,9 +2952,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTargetGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3063,9 +3023,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3138,9 +3097,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAuthPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3212,9 +3170,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3288,9 +3245,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3362,9 +3318,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3435,9 +3390,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3508,9 +3462,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAccessLogSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3583,9 +3536,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateListenerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3658,9 +3610,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3733,9 +3684,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServiceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3808,9 +3758,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServiceNetworkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3883,9 +3832,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateServiceNetworkVpcAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3958,9 +3906,8 @@ extension VPCLatticeClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTargetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/VerifiedPermissionsClient.swift b/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/VerifiedPermissionsClient.swift index 2a8fc7e5070..2f0f9f1a94a 100644 --- a/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/VerifiedPermissionsClient.swift +++ b/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/VerifiedPermissionsClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -252,9 +251,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchIsAuthorizedInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -347,9 +345,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchIsAuthorizedWithTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -451,9 +448,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIdentitySourceInput.urlPathProvider(_:))) @@ -556,9 +552,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePolicyInput.urlPathProvider(_:))) @@ -653,9 +648,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePolicyStoreInput.urlPathProvider(_:))) @@ -751,9 +745,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePolicyTemplateInput.urlPathProvider(_:))) @@ -848,9 +841,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIdentitySourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -944,9 +936,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1038,9 +1029,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePolicyStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1134,9 +1124,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePolicyTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1229,9 +1218,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIdentitySourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1324,9 +1312,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1419,9 +1406,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPolicyStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1514,9 +1500,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPolicyTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1609,9 +1594,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1704,9 +1688,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(IsAuthorizedInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1799,9 +1782,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(IsAuthorizedWithTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1894,9 +1876,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIdentitySourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1989,9 +1970,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2083,9 +2063,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPolicyStoresInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2178,9 +2157,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPolicyTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2275,9 +2253,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutSchemaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2371,9 +2348,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIdentitySourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2495,9 +2471,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2591,9 +2566,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePolicyStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2687,9 +2661,8 @@ extension VerifiedPermissionsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePolicyTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/VoiceIDClient.swift b/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/VoiceIDClient.swift index 077dd833be1..ce0d4562c9e 100644 --- a/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/VoiceIDClient.swift +++ b/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/VoiceIDClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateFraudsterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -310,9 +308,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDomainInput.urlPathProvider(_:))) @@ -388,9 +385,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWatchlistInput.urlPathProvider(_:))) @@ -465,9 +461,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -541,9 +536,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFraudsterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -617,9 +611,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSpeakerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -693,9 +686,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWatchlistInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -768,9 +760,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -843,9 +834,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFraudsterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -918,9 +908,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFraudsterRegistrationJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -993,9 +982,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSpeakerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1068,9 +1056,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeSpeakerEnrollmentJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1143,9 +1130,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWatchlistInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1219,9 +1205,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateFraudsterInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1295,9 +1280,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(EvaluateSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1369,9 +1353,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDomainsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1444,9 +1427,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFraudsterRegistrationJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1519,9 +1501,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFraudstersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1594,9 +1575,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSpeakerEnrollmentJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1669,9 +1649,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSpeakersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1744,9 +1723,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1819,9 +1797,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWatchlistsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1896,9 +1873,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(OptOutSpeakerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1973,9 +1949,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartFraudsterRegistrationJobInput.urlPathProvider(_:))) @@ -2051,9 +2026,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartSpeakerEnrollmentJobInput.urlPathProvider(_:))) @@ -2128,9 +2102,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2204,9 +2177,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2280,9 +2252,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2356,9 +2327,8 @@ extension VoiceIDClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWatchlistInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSWAF/Sources/AWSWAF/WAFClient.swift b/Sources/Services/AWSWAF/Sources/AWSWAF/WAFClient.swift index 7c60c03563b..f26bd149606 100644 --- a/Sources/Services/AWSWAF/Sources/AWSWAF/WAFClient.swift +++ b/Sources/Services/AWSWAF/Sources/AWSWAF/WAFClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -260,9 +259,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateByteMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -365,9 +363,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGeoMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -470,9 +467,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIPSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -597,9 +593,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRateBasedRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -682,9 +677,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRegexMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -767,9 +761,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRegexPatternSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -885,9 +878,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -971,9 +963,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRuleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1076,9 +1067,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSizeConstraintSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1181,9 +1171,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSqlInjectionMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1293,9 +1282,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWebACLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1410,9 +1398,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWebACLMigrationStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1515,9 +1502,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateXssMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1609,9 +1595,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteByteMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1703,9 +1688,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGeoMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1797,9 +1781,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIPSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1870,9 +1853,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1943,9 +1925,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePermissionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2039,9 +2020,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRateBasedRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2133,9 +2113,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRegexMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2221,9 +2200,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRegexPatternSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2317,9 +2295,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2423,9 +2400,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRuleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2517,9 +2493,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSizeConstraintSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2611,9 +2586,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSqlInjectionMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2707,9 +2681,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWebACLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2801,9 +2774,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteXssMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2874,9 +2846,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetByteMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2945,9 +2916,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetChangeTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3023,9 +2993,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetChangeTokenStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3096,9 +3065,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGeoMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3169,9 +3137,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIPSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3241,9 +3208,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3313,9 +3279,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPermissionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3386,9 +3351,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRateBasedRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3478,9 +3442,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRateBasedRuleManagedKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3551,9 +3514,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRegexMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3624,9 +3586,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRegexPatternSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3697,9 +3658,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3769,9 +3729,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRuleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3841,9 +3800,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSampledRequestsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3914,9 +3872,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSizeConstraintSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3987,9 +3944,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSqlInjectionMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4060,9 +4016,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWebACLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4133,9 +4088,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetXssMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4224,9 +4178,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListActivatedRulesInRuleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4296,9 +4249,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListByteMatchSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4368,9 +4320,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGeoMatchSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4440,9 +4391,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIPSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4531,9 +4481,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLoggingConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4603,9 +4552,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRateBasedRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4675,9 +4623,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRegexMatchSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4747,9 +4694,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRegexPatternSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4818,9 +4764,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRuleGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4890,9 +4835,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4962,9 +4906,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSizeConstraintSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5034,9 +4977,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSqlInjectionMatchSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5106,9 +5048,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSubscribedRuleGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5200,9 +5141,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5272,9 +5212,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWebACLsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5344,9 +5283,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListXssMatchSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5425,9 +5363,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5537,9 +5474,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutPermissionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5632,9 +5568,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5726,9 +5661,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5862,9 +5796,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateByteMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5999,9 +5932,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGeoMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6147,9 +6079,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIPSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6282,9 +6213,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRateBasedRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6398,9 +6328,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRegexMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6521,9 +6450,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRegexPatternSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6660,9 +6588,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6784,9 +6711,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRuleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6925,9 +6851,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSizeConstraintSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7057,9 +6982,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSqlInjectionMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7201,9 +7125,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWebACLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7333,9 +7256,8 @@ extension WAFClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateXssMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/WAFRegionalClient.swift b/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/WAFRegionalClient.swift index 80fca365f65..8bdc5306159 100644 --- a/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/WAFRegionalClient.swift +++ b/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/WAFRegionalClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -248,9 +247,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateWebACLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -353,9 +351,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateByteMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -458,9 +455,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGeoMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -563,9 +559,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIPSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -690,9 +685,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRateBasedRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -775,9 +769,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRegexMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -860,9 +853,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRegexPatternSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -978,9 +970,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1064,9 +1055,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRuleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1169,9 +1159,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSizeConstraintSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1274,9 +1263,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSqlInjectionMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1386,9 +1374,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWebACLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1503,9 +1490,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWebACLMigrationStackInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1608,9 +1594,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateXssMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1702,9 +1687,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteByteMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1796,9 +1780,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGeoMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1890,9 +1873,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIPSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1963,9 +1945,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2036,9 +2017,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePermissionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2132,9 +2112,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRateBasedRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2226,9 +2205,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRegexMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2314,9 +2292,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRegexPatternSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2410,9 +2387,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2516,9 +2492,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRuleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2610,9 +2585,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSizeConstraintSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2704,9 +2678,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSqlInjectionMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2800,9 +2773,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWebACLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2894,9 +2866,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteXssMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2986,9 +2957,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateWebACLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3059,9 +3029,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetByteMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3130,9 +3099,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetChangeTokenInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3208,9 +3176,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetChangeTokenStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3281,9 +3248,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGeoMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3354,9 +3320,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIPSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3426,9 +3391,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3498,9 +3462,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPermissionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3571,9 +3534,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRateBasedRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3663,9 +3625,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRateBasedRuleManagedKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3736,9 +3697,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRegexMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3809,9 +3769,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRegexPatternSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3882,9 +3841,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3954,9 +3912,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRuleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4026,9 +3983,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSampledRequestsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4099,9 +4055,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSizeConstraintSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4172,9 +4127,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSqlInjectionMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4245,9 +4199,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWebACLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4338,9 +4291,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWebACLForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4411,9 +4363,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetXssMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4502,9 +4453,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListActivatedRulesInRuleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4574,9 +4524,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListByteMatchSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4646,9 +4595,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGeoMatchSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4718,9 +4666,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIPSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4809,9 +4756,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLoggingConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4881,9 +4827,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRateBasedRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4953,9 +4898,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRegexMatchSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5025,9 +4969,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRegexPatternSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5117,9 +5060,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourcesForWebACLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5188,9 +5130,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRuleGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5260,9 +5201,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5332,9 +5272,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSizeConstraintSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5404,9 +5343,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSqlInjectionMatchSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5476,9 +5414,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSubscribedRuleGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5570,9 +5507,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5642,9 +5578,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWebACLsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5714,9 +5649,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListXssMatchSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5795,9 +5729,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5907,9 +5840,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutPermissionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6002,9 +5934,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6096,9 +6027,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6232,9 +6162,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateByteMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6369,9 +6298,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGeoMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6517,9 +6445,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIPSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6652,9 +6579,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRateBasedRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6768,9 +6694,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRegexMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6891,9 +6816,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRegexPatternSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7030,9 +6954,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7154,9 +7077,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRuleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7295,9 +7217,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSizeConstraintSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7427,9 +7348,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSqlInjectionMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7571,9 +7491,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWebACLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -7703,9 +7622,8 @@ extension WAFRegionalClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateXssMatchSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/WAFV2Client.swift b/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/WAFV2Client.swift index 08b574adc58..fb7671c5942 100644 --- a/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/WAFV2Client.swift +++ b/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/WAFV2Client.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -247,9 +246,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateWebACLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -334,9 +332,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CheckCapacityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -416,9 +413,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAPIKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -502,9 +498,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIPSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -588,9 +583,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRegexPatternSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -677,9 +671,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRuleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -769,9 +762,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWebACLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -852,9 +844,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAPIKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -935,9 +926,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFirewallManagerRuleGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1021,9 +1011,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIPSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1104,9 +1093,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1185,9 +1173,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePermissionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1271,9 +1258,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRegexPatternSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1357,9 +1343,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRuleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1458,9 +1443,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWebACLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1539,9 +1523,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAllManagedProductsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1620,9 +1603,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeManagedProductsByVendorInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1704,9 +1686,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeManagedRuleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1786,9 +1767,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateWebACLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1868,9 +1848,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GenerateMobileSdkReleaseUrlInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1951,9 +1930,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDecryptedAPIKeyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2033,9 +2011,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIPSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2115,9 +2092,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2197,9 +2173,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetManagedRuleSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2279,9 +2254,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMobileSdkReleaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2360,9 +2334,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPermissionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2443,9 +2416,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRateBasedStatementManagedKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2525,9 +2497,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRegexPatternSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2607,9 +2578,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRuleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2688,9 +2658,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSampledRequestsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2770,9 +2739,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWebACLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2853,9 +2821,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWebACLForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2935,9 +2902,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAPIKeysInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3017,9 +2983,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAvailableManagedRuleGroupVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3098,9 +3063,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAvailableManagedRuleGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3179,9 +3143,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIPSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3260,9 +3223,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLoggingConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3341,9 +3303,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListManagedRuleSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3422,9 +3383,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMobileSdkReleasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3503,9 +3463,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRegexPatternSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3585,9 +3544,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourcesForWebACLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3666,9 +3624,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRuleGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3750,9 +3707,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3831,9 +3787,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWebACLsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3933,9 +3888,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutLoggingConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4016,9 +3970,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutManagedRuleSetVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4120,9 +4073,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutPermissionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4205,9 +4157,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4289,9 +4240,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4391,9 +4341,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIPSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4474,9 +4423,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateManagedRuleSetVersionExpiryDateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4576,9 +4524,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRegexPatternSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4681,9 +4628,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRuleGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4788,9 +4734,8 @@ extension WAFV2Client { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWebACLInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/WellArchitectedClient.swift b/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/WellArchitectedClient.swift index 2d1dd250956..70919da0b37 100644 --- a/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/WellArchitectedClient.swift +++ b/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/WellArchitectedClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -232,9 +231,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateLensesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -383,9 +380,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLensShareInput.urlPathProvider(_:))) @@ -460,9 +456,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLensVersionInput.urlPathProvider(_:))) @@ -537,9 +532,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMilestoneInput.urlPathProvider(_:))) @@ -613,9 +607,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProfileInput.urlPathProvider(_:))) @@ -690,9 +683,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateProfileShareInput.urlPathProvider(_:))) @@ -767,9 +759,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateReviewTemplateInput.urlPathProvider(_:))) @@ -844,9 +835,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTemplateShareInput.urlPathProvider(_:))) @@ -929,9 +919,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkloadInput.urlPathProvider(_:))) @@ -1006,9 +995,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkloadShareInput.urlPathProvider(_:))) @@ -1082,9 +1070,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLensInput.urlPathProvider(_:))) @@ -1156,9 +1143,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLensShareInput.urlPathProvider(_:))) @@ -1230,9 +1216,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProfileInput.urlPathProvider(_:))) @@ -1304,9 +1289,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProfileShareInput.urlPathProvider(_:))) @@ -1378,9 +1362,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteReviewTemplateInput.urlPathProvider(_:))) @@ -1452,9 +1435,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTemplateShareInput.urlPathProvider(_:))) @@ -1526,9 +1508,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkloadInput.urlPathProvider(_:))) @@ -1600,9 +1581,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkloadShareInput.urlPathProvider(_:))) @@ -1674,9 +1654,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateLensesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1749,9 +1728,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1823,9 +1801,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportLensInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1895,9 +1872,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAnswerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1967,9 +1943,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConsolidatedReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2038,9 +2013,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGlobalSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2109,9 +2083,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLensInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2181,9 +2154,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLensReviewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2253,9 +2225,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLensReviewReportInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2325,9 +2296,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetLensVersionDifferenceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2397,9 +2367,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMilestoneInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2468,9 +2437,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2540,9 +2508,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetProfileTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2611,9 +2578,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReviewTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2682,9 +2648,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReviewTemplateAnswerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2753,9 +2718,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetReviewTemplateLensReviewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2824,9 +2788,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetWorkloadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2897,9 +2860,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportLensInput.urlPathProvider(_:))) @@ -2972,9 +2934,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAnswersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3044,9 +3005,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCheckDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3118,9 +3078,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCheckSummariesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3192,9 +3151,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLensReviewImprovementsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3264,9 +3222,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLensReviewsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3336,9 +3293,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLensSharesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3407,9 +3363,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListLensesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3479,9 +3434,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMilestonesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3552,9 +3506,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNotificationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3625,9 +3578,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProfileNotificationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3697,9 +3649,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProfileSharesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3768,9 +3719,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProfilesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3840,9 +3790,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReviewTemplateAnswersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3911,9 +3860,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListReviewTemplatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3982,9 +3930,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListShareInvitationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4051,9 +3998,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4122,9 +4068,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTemplateSharesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4194,9 +4139,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkloadSharesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4265,9 +4209,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWorkloadsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4336,9 +4279,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4407,9 +4349,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4480,9 +4421,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAnswerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4554,9 +4494,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGlobalSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4629,9 +4568,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIntegrationInput.urlPathProvider(_:))) @@ -4705,9 +4643,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateLensReviewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4780,9 +4717,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateProfileInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4855,9 +4791,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateReviewTemplateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4930,9 +4865,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateReviewTemplateAnswerInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5005,9 +4939,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateReviewTemplateLensReviewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5080,9 +5013,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateShareInvitationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5155,9 +5087,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorkloadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5230,9 +5161,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorkloadShareInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5306,9 +5236,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpgradeLensReviewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5382,9 +5311,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientRequestToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpgradeProfileVersionInput.urlPathProvider(_:))) @@ -5458,9 +5386,8 @@ extension WellArchitectedClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpgradeReviewTemplateLensReviewInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSWisdom/Sources/AWSWisdom/WisdomClient.swift b/Sources/Services/AWSWisdom/Sources/AWSWisdom/WisdomClient.swift index f10ea143135..5a2da8647cd 100644 --- a/Sources/Services/AWSWisdom/Sources/AWSWisdom/WisdomClient.swift +++ b/Sources/Services/AWSWisdom/Sources/AWSWisdom/WisdomClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAssistantInput.urlPathProvider(_:))) @@ -306,9 +304,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAssistantAssociationInput.urlPathProvider(_:))) @@ -381,9 +378,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateContentInput.urlPathProvider(_:))) @@ -463,9 +459,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateKnowledgeBaseInput.urlPathProvider(_:))) @@ -538,9 +533,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateQuickResponseInput.urlPathProvider(_:))) @@ -611,9 +605,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSessionInput.urlPathProvider(_:))) @@ -684,9 +677,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAssistantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -753,9 +745,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAssistantAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -822,9 +813,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -892,9 +882,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -962,9 +951,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteKnowledgeBaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1031,9 +1019,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteQuickResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1100,9 +1087,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssistantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1169,9 +1155,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAssistantAssociationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1238,9 +1223,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1307,9 +1291,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetContentSummaryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1376,9 +1359,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetImportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1445,9 +1427,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetKnowledgeBaseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1514,9 +1495,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetQuickResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1584,9 +1564,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRecommendationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1654,9 +1633,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1723,9 +1701,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssistantAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1792,9 +1769,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAssistantsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1862,9 +1838,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListContentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1931,9 +1906,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2000,9 +1974,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListKnowledgeBasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2070,9 +2043,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListQuickResponsesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2138,9 +2110,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2207,9 +2178,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(NotifyRecommendationsReceivedInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2281,9 +2251,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(QueryAssistantInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2353,9 +2322,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveKnowledgeBaseTemplateUriInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2422,9 +2390,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2496,9 +2463,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchQuickResponsesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2569,9 +2535,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchSessionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2642,9 +2607,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartContentUploadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2718,9 +2682,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartImportJobInput.urlPathProvider(_:))) @@ -2790,9 +2753,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2860,9 +2822,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2931,9 +2892,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3003,9 +2963,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateKnowledgeBaseTemplateUriInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3077,9 +3036,8 @@ extension WisdomClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateQuickResponseInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/WorkDocsClient.swift b/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/WorkDocsClient.swift index da68f783499..ca96c2fa2e4 100644 --- a/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/WorkDocsClient.swift +++ b/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/WorkDocsClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -234,9 +233,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AbortDocumentVersionUploadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ActivateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -378,9 +375,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AddResourcePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -456,9 +452,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCommentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -533,9 +528,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCustomMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -614,9 +608,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFolderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -690,9 +683,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateLabelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -764,9 +756,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNotificationSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -838,9 +829,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -913,9 +903,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeactivateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -987,9 +976,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCommentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1060,9 +1048,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCustomMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1137,9 +1124,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDocumentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1212,9 +1198,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDocumentVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1289,9 +1274,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFolderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1363,9 +1347,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFolderContentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1436,9 +1419,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteLabelsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1508,9 +1490,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNotificationSubscriptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1579,9 +1560,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1651,9 +1631,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeActivitiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1725,9 +1704,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCommentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1801,9 +1779,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDocumentVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1875,9 +1852,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFolderContentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1947,9 +1923,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2018,9 +1993,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeNotificationSubscriptionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2090,9 +2064,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeResourcePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2163,9 +2136,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeRootFoldersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2238,9 +2210,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2311,9 +2282,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCurrentUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2385,9 +2355,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDocumentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2458,9 +2427,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDocumentPathInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2533,9 +2501,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDocumentVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2608,9 +2575,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFolderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2681,9 +2647,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetFolderPathInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2754,9 +2719,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2836,9 +2800,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(InitiateDocumentVersionUploadInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2910,9 +2873,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveAllResourcePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2981,9 +2943,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RemoveResourcePermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3057,9 +3018,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreDocumentVersionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3128,9 +3088,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SearchResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3208,9 +3167,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDocumentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3286,9 +3244,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDocumentVersionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3366,9 +3323,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFolderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3445,9 +3401,8 @@ extension WorkDocsClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSWorkLink/Sources/AWSWorkLink/WorkLinkClient.swift b/Sources/Services/AWSWorkLink/Sources/AWSWorkLink/WorkLinkClient.swift index 14a1d2efb40..31710d92343 100644 --- a/Sources/Services/AWSWorkLink/Sources/AWSWorkLink/WorkLinkClient.swift +++ b/Sources/Services/AWSWorkLink/Sources/AWSWorkLink/WorkLinkClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -309,9 +307,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateWebsiteAuthorizationProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -385,9 +382,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateWebsiteCertificateAuthorityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -461,9 +457,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -536,9 +531,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteFleetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -611,9 +605,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAuditStreamConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -686,9 +679,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCompanyNetworkConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -761,9 +753,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -836,9 +827,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDevicePolicyConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -911,9 +901,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -986,9 +975,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeFleetMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1061,9 +1049,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIdentityProviderConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1136,9 +1123,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWebsiteCertificateAuthorityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1211,9 +1197,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1287,9 +1272,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateWebsiteAuthorizationProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1362,9 +1346,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateWebsiteCertificateAuthorityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1437,9 +1420,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDevicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1512,9 +1494,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDomainsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1586,9 +1567,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListFleetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1657,9 +1637,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1729,9 +1708,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWebsiteAuthorizationProvidersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1803,9 +1781,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListWebsiteCertificateAuthoritiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1878,9 +1855,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreDomainAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1953,9 +1929,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RevokeDomainAccessInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2028,9 +2003,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(SignOutUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2099,9 +2073,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2170,9 +2143,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2243,9 +2215,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAuditStreamConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2318,9 +2289,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCompanyNetworkConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2393,9 +2363,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDevicePolicyConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2468,9 +2437,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDomainMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2543,9 +2511,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateFleetMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2618,9 +2585,8 @@ extension WorkLinkClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIdentityProviderConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/WorkMailClient.swift b/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/WorkMailClient.swift index c4ba9c64acd..c56602a9d06 100644 --- a/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/WorkMailClient.swift +++ b/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/WorkMailClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateDelegateToResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -311,9 +309,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateMemberToGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -385,9 +382,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssumeImpersonationRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -459,9 +455,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CancelMailboxExportJobInput.urlPathProvider(_:))) @@ -539,9 +534,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -614,9 +608,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAvailabilityConfigurationInput.urlPathProvider(_:))) @@ -693,9 +686,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -769,9 +761,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateImpersonationRoleInput.urlPathProvider(_:))) @@ -844,9 +835,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateMobileDeviceAccessRuleInput.urlPathProvider(_:))) @@ -920,9 +910,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateOrganizationInput.urlPathProvider(_:))) @@ -999,9 +988,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1078,9 +1066,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1150,9 +1137,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccessControlRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1225,9 +1211,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1297,9 +1282,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAvailabilityConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1370,9 +1354,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEmailMonitoringConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1447,9 +1430,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1520,9 +1502,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteImpersonationRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1595,9 +1576,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMailboxPermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1669,9 +1649,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMobileDeviceAccessOverrideInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1742,9 +1721,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteMobileDeviceAccessRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1815,9 +1793,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteOrganizationInput.urlPathProvider(_:))) @@ -1891,9 +1868,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1964,9 +1940,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRetentionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2041,9 +2016,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2116,9 +2090,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterFromWorkMailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2191,9 +2164,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterMailDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2265,9 +2237,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEmailMonitoringConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2339,9 +2310,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeEntityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2413,9 +2383,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2485,9 +2454,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeInboundDmarcSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2559,9 +2527,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeMailboxExportJobInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2631,9 +2598,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeOrganizationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2706,9 +2672,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2780,9 +2745,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2856,9 +2820,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateDelegateFromResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2934,9 +2897,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateMemberFromGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3009,9 +2971,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccessControlEffectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3083,9 +3044,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDefaultRetentionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3157,9 +3117,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetImpersonationRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3233,9 +3192,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetImpersonationRoleEffectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3307,9 +3265,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMailDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3381,9 +3338,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMailboxDetailsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3454,9 +3410,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMobileDeviceAccessEffectInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3529,9 +3484,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetMobileDeviceAccessOverrideInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3601,9 +3555,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccessControlRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3676,9 +3629,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAliasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3748,9 +3700,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAvailabilityConfigurationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3823,9 +3774,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGroupMembersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3897,9 +3847,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3972,9 +3921,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListGroupsForEntityInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4045,9 +3993,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListImpersonationRolesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4118,9 +4065,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMailDomainsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4191,9 +4137,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMailboxExportJobsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4265,9 +4210,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMailboxPermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4339,9 +4283,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMobileDeviceAccessOverridesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4412,9 +4355,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListMobileDeviceAccessRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4483,9 +4425,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListOrganizationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4559,9 +4500,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourceDelegatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4633,9 +4573,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourcesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4704,9 +4643,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4777,9 +4715,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUsersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4853,9 +4790,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutAccessControlRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4927,9 +4863,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutEmailMonitoringConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4999,9 +4934,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutInboundDmarcSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5074,9 +5008,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutMailboxPermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5149,9 +5082,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutMobileDeviceAccessOverrideInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5223,9 +5155,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRetentionPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5298,9 +5229,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterMailDomainInput.urlPathProvider(_:))) @@ -5380,9 +5310,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterToWorkMailInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5459,9 +5388,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResetPasswordInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5534,9 +5462,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartMailboxExportJobInput.urlPathProvider(_:))) @@ -5609,9 +5536,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5683,9 +5609,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TestAvailabilityConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5754,9 +5679,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5828,9 +5752,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateAvailabilityConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5903,9 +5826,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDefaultMailDomainInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5979,9 +5901,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6056,9 +5977,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateImpersonationRoleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6131,9 +6051,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMailboxQuotaInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6205,9 +6124,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateMobileDeviceAccessRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6286,9 +6204,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePrimaryEmailAddressInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6368,9 +6285,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6446,9 +6362,8 @@ extension WorkMailClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/WorkMailMessageFlowClient.swift b/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/WorkMailMessageFlowClient.swift index 1019a29b336..3dbc7f81a67 100644 --- a/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/WorkMailMessageFlowClient.swift +++ b/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/WorkMailMessageFlowClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -226,9 +225,8 @@ extension WorkMailMessageFlowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRawMessageContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -302,9 +300,8 @@ extension WorkMailMessageFlowClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutRawMessageContentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift b/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift index 82777369dbd..335b33ef32f 100644 --- a/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift +++ b/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -231,9 +230,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AcceptAccountLinkInvitationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -307,9 +305,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateConnectionAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -383,9 +380,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateIpGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -463,9 +459,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateWorkspaceApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -538,9 +533,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AuthorizeIpRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -615,9 +609,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CopyWorkspaceImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -689,9 +682,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAccountLinkInvitationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -764,9 +756,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConnectClientAddInInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -840,9 +831,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateConnectionAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -915,9 +905,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIpGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -990,9 +979,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateStandbyWorkspacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1063,9 +1051,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1146,9 +1133,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUpdatedWorkspaceImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1222,9 +1208,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkspaceBundleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1299,9 +1284,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkspaceImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1379,9 +1363,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkspacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1455,9 +1438,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateWorkspacesPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1530,9 +1512,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAccountLinkInvitationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1603,9 +1584,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteClientBrandingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1676,9 +1656,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConnectClientAddInInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1752,9 +1731,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConnectionAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1826,9 +1804,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIpGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1898,9 +1875,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1972,9 +1948,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkspaceBundleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2045,9 +2020,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteWorkspaceImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2121,9 +2095,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeployWorkspaceApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2196,9 +2169,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterWorkspaceDirectoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2267,9 +2239,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2338,9 +2309,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeAccountModificationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2412,9 +2382,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeApplicationAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2486,9 +2455,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeApplicationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2560,9 +2528,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeBundleAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2633,9 +2600,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClientBrandingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2706,9 +2672,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeClientPropertiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2779,9 +2744,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConnectClientAddInsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2853,9 +2817,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConnectionAliasPermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2926,9 +2889,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeConnectionAliasesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3000,9 +2962,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeImageAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3072,9 +3033,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeIpGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3143,9 +3103,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeTagsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3217,9 +3176,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorkspaceAssociationsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3288,9 +3246,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorkspaceBundlesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3359,9 +3316,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorkspaceDirectoriesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3432,9 +3388,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorkspaceImagePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3503,9 +3458,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorkspaceImagesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3576,9 +3530,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorkspaceSnapshotsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3648,9 +3601,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorkspacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3719,9 +3671,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorkspacesConnectionStatusInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3792,9 +3743,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorkspacesPoolSessionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3865,9 +3815,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeWorkspacesPoolsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3940,9 +3889,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateConnectionAliasInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4015,9 +3963,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateIpGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4090,9 +4037,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateWorkspaceApplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4164,9 +4110,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAccountLinkInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4246,9 +4191,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportClientBrandingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4322,9 +4266,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ImportWorkspaceImageInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4395,9 +4338,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAccountLinksInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4467,9 +4409,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAvailableManagementCidrRangesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4543,9 +4484,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(MigrateWorkspaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4618,9 +4558,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyAccountInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4692,9 +4631,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyCertificateBasedAuthPropertiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4766,9 +4704,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyClientPropertiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4840,9 +4777,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifySamlPropertiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4914,9 +4850,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifySelfservicePermissionsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4988,9 +4923,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyStreamingPropertiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5060,9 +4994,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyWorkspaceAccessPropertiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5134,9 +5067,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyWorkspaceCreationPropertiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5214,9 +5146,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyWorkspacePropertiesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5288,9 +5219,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyWorkspaceStateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5359,9 +5289,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RebootWorkspacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5430,9 +5359,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RebuildWorkspacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5509,9 +5437,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RegisterWorkspaceDirectoryInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5584,9 +5511,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RejectAccountLinkInvitationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5658,9 +5584,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RestoreWorkspaceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5732,9 +5657,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(RevokeIpRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5798,9 +5722,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartWorkspacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5875,9 +5798,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartWorkspacesPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -5941,9 +5863,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopWorkspacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6016,9 +5937,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopWorkspacesPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6082,9 +6002,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TerminateWorkspacesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6157,9 +6076,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TerminateWorkspacesPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6232,9 +6150,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TerminateWorkspacesPoolSessionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6305,9 +6222,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConnectClientAddInInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6386,9 +6302,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateConnectionAliasPermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6461,9 +6376,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRulesOfIpGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6536,9 +6450,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorkspaceBundleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6615,9 +6528,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorkspaceImagePermissionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -6692,9 +6604,8 @@ extension WorkSpacesClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateWorkspacesPoolInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/WorkSpacesThinClientClient.swift b/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/WorkSpacesThinClientClient.swift index abe26362849..9940b710ff0 100644 --- a/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/WorkSpacesThinClientClient.swift +++ b/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/WorkSpacesThinClientClient.swift @@ -30,7 +30,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension WorkSpacesThinClientClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateEnvironmentInput.urlPathProvider(_:))) @@ -309,9 +307,8 @@ extension WorkSpacesThinClientClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDeviceInput.urlPathProvider(_:))) @@ -383,9 +380,8 @@ extension WorkSpacesThinClientClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteEnvironmentInput.urlPathProvider(_:))) @@ -457,9 +453,8 @@ extension WorkSpacesThinClientClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeregisterDeviceInput.urlPathProvider(_:))) @@ -532,9 +527,8 @@ extension WorkSpacesThinClientClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -603,9 +597,8 @@ extension WorkSpacesThinClientClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -674,9 +667,8 @@ extension WorkSpacesThinClientClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSoftwareSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -744,9 +736,8 @@ extension WorkSpacesThinClientClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDevicesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -815,9 +806,8 @@ extension WorkSpacesThinClientClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListEnvironmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -886,9 +876,8 @@ extension WorkSpacesThinClientClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListSoftwareSetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -958,9 +947,8 @@ extension WorkSpacesThinClientClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -1030,9 +1018,8 @@ extension WorkSpacesThinClientClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -1105,9 +1092,8 @@ extension WorkSpacesThinClientClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -1177,9 +1163,8 @@ extension WorkSpacesThinClientClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDeviceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -1251,9 +1236,8 @@ extension WorkSpacesThinClientClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateEnvironmentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) @@ -1325,9 +1309,8 @@ extension WorkSpacesThinClientClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSoftwareSetInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "api.")) diff --git a/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift b/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift index 4ba64369294..18e6da000b4 100644 --- a/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift +++ b/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -233,9 +232,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateBrowserSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -306,9 +304,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateIpAccessSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -379,9 +376,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateNetworkSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -452,9 +448,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateTrustStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -525,9 +520,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateUserAccessLoggingSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -598,9 +592,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateUserSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -672,9 +665,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBrowserSettingsInput.urlPathProvider(_:))) @@ -749,9 +741,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIdentityProviderInput.urlPathProvider(_:))) @@ -825,9 +816,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateIpAccessSettingsInput.urlPathProvider(_:))) @@ -901,9 +891,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateNetworkSettingsInput.urlPathProvider(_:))) @@ -978,9 +967,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreatePortalInput.urlPathProvider(_:))) @@ -1054,9 +1042,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateTrustStoreInput.urlPathProvider(_:))) @@ -1130,9 +1117,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserAccessLoggingSettingsInput.urlPathProvider(_:))) @@ -1206,9 +1192,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateUserSettingsInput.urlPathProvider(_:))) @@ -1281,9 +1266,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteBrowserSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1352,9 +1336,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIdentityProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1423,9 +1406,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteIpAccessSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1494,9 +1476,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteNetworkSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1565,9 +1546,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeletePortalInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1636,9 +1616,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteTrustStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1707,9 +1686,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserAccessLoggingSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1778,9 +1756,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteUserSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1850,9 +1827,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateBrowserSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1922,9 +1898,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateIpAccessSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1994,9 +1969,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateNetworkSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2066,9 +2040,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateTrustStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2138,9 +2111,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateUserAccessLoggingSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2210,9 +2182,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateUserSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2281,9 +2252,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetBrowserSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2352,9 +2322,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIdentityProviderInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2423,9 +2392,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIpAccessSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2494,9 +2462,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetNetworkSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2565,9 +2532,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPortalInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2636,9 +2602,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetPortalServiceProviderMetadataInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2707,9 +2672,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTrustStoreInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2778,9 +2742,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTrustStoreCertificateInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2850,9 +2813,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUserAccessLoggingSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2921,9 +2883,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetUserSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2991,9 +2952,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListBrowserSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3062,9 +3022,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIdentityProvidersInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3133,9 +3092,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListIpAccessSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3204,9 +3162,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListNetworkSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3275,9 +3232,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPortalsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3347,9 +3303,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3418,9 +3373,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTrustStoreCertificatesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3489,9 +3443,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTrustStoresInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3560,9 +3513,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUserAccessLoggingSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3631,9 +3583,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListUserSettingsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3704,9 +3655,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) @@ -3779,9 +3729,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -3851,9 +3800,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateBrowserSettingsInput.urlPathProvider(_:))) @@ -3926,9 +3874,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIdentityProviderInput.urlPathProvider(_:))) @@ -4001,9 +3948,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateIpAccessSettingsInput.urlPathProvider(_:))) @@ -4076,9 +4022,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateNetworkSettingsInput.urlPathProvider(_:))) @@ -4153,9 +4098,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdatePortalInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -4228,9 +4172,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateTrustStoreInput.urlPathProvider(_:))) @@ -4303,9 +4246,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserAccessLoggingSettingsInput.urlPathProvider(_:))) @@ -4378,9 +4320,8 @@ extension WorkSpacesWebClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateUserSettingsInput.urlPathProvider(_:))) diff --git a/Sources/Services/AWSXRay/Sources/AWSXRay/XRayClient.swift b/Sources/Services/AWSXRay/Sources/AWSXRay/XRayClient.swift index 12f64c8aa5b..bce0fdbf4ef 100644 --- a/Sources/Services/AWSXRay/Sources/AWSXRay/XRayClient.swift +++ b/Sources/Services/AWSXRay/Sources/AWSXRay/XRayClient.swift @@ -31,7 +31,6 @@ import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client import protocol ClientRuntime.DefaultClientConfiguration import protocol ClientRuntime.DefaultHttpClientConfiguration -import protocol ClientRuntime.HttpInterceptor import protocol ClientRuntime.HttpInterceptorProvider import protocol ClientRuntime.IdempotencyTokenGenerator import protocol ClientRuntime.InterceptorProvider @@ -227,9 +226,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(BatchGetTracesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -298,9 +296,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -370,9 +367,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateSamplingRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -441,9 +437,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -513,9 +508,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -584,9 +578,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteSamplingRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -655,9 +648,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetEncryptionConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -723,9 +715,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -794,9 +785,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetGroupsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -865,9 +855,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInsightInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -936,9 +925,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInsightEventsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1007,9 +995,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInsightImpactGraphInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1078,9 +1065,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInsightSummariesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1149,9 +1135,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSamplingRulesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1220,9 +1205,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSamplingStatisticSummariesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1291,9 +1275,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetSamplingTargetsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1362,9 +1345,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetServiceGraphInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1433,9 +1415,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTimeSeriesServiceStatisticsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1504,9 +1485,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTraceGraphInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1575,9 +1555,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetTraceSummariesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1646,9 +1625,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListResourcePoliciesInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1718,9 +1696,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1789,9 +1766,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutEncryptionConfigInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1864,9 +1840,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -1935,9 +1910,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutTelemetryRecordsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2027,9 +2001,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutTraceSegmentsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2100,9 +2073,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2172,9 +2144,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2243,9 +2214,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateGroupInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) @@ -2314,9 +2284,8 @@ extension XRayClient { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateSamplingRuleInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/packageDependencies.plist b/packageDependencies.plist index d2505b4fc15..23f607b9a82 100644 --- a/packageDependencies.plist +++ b/packageDependencies.plist @@ -9,6 +9,6 @@ clientRuntimeBranch main clientRuntimeVersion - 0.66.0 + 0.67.0